Hey all, I'm learning some C++ and am interested in coding a few things for the casio classpad calculator. I've downloaded the SDK from their website, which uses Dev-C++ as an IDE. I'm having a bit of trouble getting it set up to compile successfully. With a simple Hello World program I get this:
[IMG]http://i.imgur.com/fyaTf.png[/IMG]
Compile log:
[code]
Compiler: CPSDK Add-in and Windows Exe Compiler
Building Makefile: "C:\Users\Public\Documents\ClassPad 300 SDK\Examples\Makefile.win"
Executing make...
C:\PROGRA~2\Dev-Cpp\Bin\make.exe -f "C:\Users\Public\Documents\ClassPad 300 SDK\Examples\Makefile.win" all
C:\PROGRA~2\CASIO\CLASSP~1\Bin\gcc_shc.exe -c main.cpp -o main.o -I"C:/PROGRA~2/CASIO/CLASSP~1/cp_include" -cpu=sh3 -NOLOGO -RTTI=OFF -NOEX
/usr/bin/sh: C:PROGRA~2CASIOCLASSP~1Bingcc_shc.exe: command not found
C:\PROGRA~2\Dev-Cpp\Bin\make.exe: *** [main.o] Error 127
Execution terminated
[/code]
Is anyone familiar with Dev-C++ and setting up the compiler properly? I'm running Windows 7.
Your information is interesting for me. I was not know about this topic before read it now I have all information about it. Thanks for sharing.
[QUOTE=Arthurwalters;33684229]Your information is interesting for me. I was not know about this topic before read it now I have all information about it. Thanks for sharing.[/QUOTE]
Stop.
[QUOTE=Mr. Smartass;33696794]Stop.[/QUOTE]
Hammer Time.
I coudn't resist.
Apparently the SDK doesn't work with a 64 bit OS...
I've also read that you can write code for these calculators with Lua, so I might give that a go.
Hi, I've the same problem, too, however I'm running the 32-bit version of Windows XP (service pack 3).
I've tried to compile the example project, but it hasn't worked.
Here the compile log:
[CODE]
Compiler: CPSDK Add-in and Windows Exe Compiler
Building Makefile: "C:\Dokumente und Einstellungen\All Users\Dokumente\ClassPad 300 SDK\Examples\Makefile.win"
Finding dependencies for file: C:\Dokumente und Einstellungen\All Users\Dokumente\ClassPad 300 SDK\Examples\Pegmain.cpp
Finding dependencies for file: C:\Dokumente und Einstellungen\All Users\Dokumente\ClassPad 300 SDK\Examples\HelloWindow.cpp
Executing make...
C:\Programme\Dev-Cpp\bin\make.exe -f "C:\Dokumente und Einstellungen\All Users\Dokumente\ClassPad 300 SDK\Examples\Makefile.win" all
C:\Programme\CASIO\ClassPad 300 SDK\bin\gcc_shcgcc.exe -D__DEBUG__ -c Pegmain.cpp -o outputdir/Pegmain.o
-I"C:/Programme/CASIO/ClassPad 300 SDK/CP_Include" -cpu=sh3 -NOLOGO -RTTI=OFF -NOEX -w -pg -g3
/usr/bin/sh: C:ProgrammeCASIOClassPad: command not found
C:\Programme\Dev-Cpp\bin\make.exe: *** [outputdir/Pegmain.o] Error 127
Execution terminated
[/CODE]
Makefile.win:
[CODE]
# Project: Project1
# Makefile created by Dev-C++ 4.9.9.0
CPP = C:\Programme\CASIO\ClassPad 300 SDK\bin\gcc_shcgcc.exe -D__DEBUG__
CC = C:\Programme\CASIO\ClassPad 300 SDK\bin\gcc_shcgcc.exe -D__DEBUG__
WINDRES = C:\Programme\CASIO\ClassPad 300 SDK\bin\gcc_shcgcc.exe
RES =
OBJ = outputdir/Pegmain.o outputdir/HelloWindow.o $(RES)
LINKOBJ = outputdir/Pegmain.o outputdir/HelloWindow.o $(RES)
LIBS = -L"C:/Programme/Dev-Cpp/lib" -FO=library -NOLO -NOM -lgmon -pg -g3
INCS = -I"C:/Programme/CASIO/ClassPad 300 SDK/CP_Include"
CXXINCS = -I"C:/Programme/CASIO/ClassPad 300 SDK/CP_Include"
BIN = outputdir/Project1.exe
CXXFLAGS = $(CXXINCS) -cpu=sh3 -NOLOGO -RTTI=OFF -NOEX -w -pg -g3
CFLAGS = $(INCS) -cpu=sh3 -NOLOGO -RTTI=OFF -NOEX -w -pg -g3
.PHONY: all all-before all-after clean clean-custom
all: all-before outputdir/Project1.exe all-after
clean: clean-custom
rm -f $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "outputdir\Project1.exe" $(LIBS)
outputdir/Pegmain.o: Pegmain.cpp
$(CPP) -c Pegmain.cpp -o outputdir/Pegmain.o $(CXXFLAGS)
outputdir/HelloWindow.o: HelloWindow.cpp
$(CPP) -c HelloWindow.cpp -o outputdir/HelloWindow.o $(CXXFLAGS)
[/CODE]
I can remember that it had worked with a previous version of the SDK.
The ClassPad 330 has an SDK?
Kickass, I'm getting me in on this action!
I have been wanting a classpad for awhile due to it being like the best mobile platform to build off of(please don't say android, that isn't what i mean). But steam seems to like my wallet more and I can't seperate them.
Sorry, you need to Log In to post a reply to this thread.