First of all, please let me know if another list would be better. I'm using Sid and want to modify TuxMath to make it more configurable for my young daughter. My programming skills are clearly in the amateur level, but over the last several years I have written some things for BeOS and more recently KDE/Qt to keep myself amused (a MineSweeper clone, a Tetris clone, a chess GUI-frontend, and the like). I know C and C++ syntax and basic programming OK, but unless I have an IDE that "just works", the building part is a dark art to me. I am using the KDevelop in Sid (3.2.2).
I installed the source package for TuxMath using the source option for apt-get, and also grabbed libsdl-dev. I tried the "Import Existing Project" option in KDevelop. When I try to build the project, it fails (see below). I think the problem may be that I need to tell it where to find the SDL libs. Any help would be greatly appreciated. David Bruce cd '/home/dbruce/programming/tuxmath/tuxmath-0.0.20050316' && make -k BUILDING tuxmath.o mkdir obj cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/tuxmath.c -c -o obj/tuxmath.o In file included from src/tuxmath.c:21: src/setup.h:26:23: error: SDL_mixer.h: No such file or directory In file included from src/tuxmath.c:21: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class make: *** [obj/tuxmath.o] Error 1 BUILDING setup.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/setup.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/setup.c -c -o obj/setup.o src/setup.c:27:23: error: SDL_mixer.h: No such file or directory src/setup.c:29:23: error: SDL_image.h: No such file or directory In file included from src/setup.c:30: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class src/setup.c:155: error: syntax error before '*' token src/setup.c:155: warning: type defaults to 'int' in declaration of 'sounds' src/setup.c:155: warning: data definition has no type or storage class src/setup.c:156: error: syntax error before '*' token src/setup.c:156: warning: type defaults to 'int' in declaration of 'musics' src/setup.c:156: warning: data definition has no type or storage class src/setup.c: In function 'setup': src/setup.c:416: warning: implicit declaration of function 'Mix_OpenAudio' src/setup.c:469: warning: implicit declaration of function 'IMG_Load' src/setup.c:469: warning: assignment makes pointer from integer without a cast src/setup.c:528: warning: implicit declaration of function 'Mix_LoadWAV' src/setup.c:528: warning: assignment makes pointer from integer without a cast src/setup.c:552: warning: implicit declaration of function 'Mix_LoadMUS' src/setup.c:552: warning: assignment makes pointer from integer without a cast src/setup.c: In function 'seticon': src/setup.c:603: warning: assignment makes pointer from integer without a cast make: *** [obj/setup.o] Error 1 BUILDING title.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/title.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/title.c -c -o obj/title.o In file included from src/title.c:25: src/setup.h:26:23: error: SDL_mixer.h: No such file or directory In file included from src/title.c:25: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class make: *** [obj/title.o] Error 1 BUILDING game.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/game.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/game.c -c -o obj/game.o src/game.c:24:23: error: SDL_mixer.h: No such file or directory src/game.c:26:23: error: SDL_image.h: No such file or directory In file included from src/game.c:29: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class src/game.c: In function 'game': src/game.c:961: warning: implicit declaration of function 'Mix_PlayingMusic' src/game.c:962: warning: implicit declaration of function 'Mix_PlayMusic' src/game.c:989: warning: implicit declaration of function 'Mix_HaltMusic' src/game.c: In function 'reset_level': src/game.c:1042: warning: implicit declaration of function 'IMG_Load' src/game.c:1042: warning: assignment makes pointer from integer without a cast src/game.c: In function 'pause_game': src/game.c:1337: warning: implicit declaration of function 'Mix_PauseMusic' src/game.c:1358: warning: implicit declaration of function 'Mix_ResumeMusic' make: *** [obj/game.o] Error 1 BUILDING options.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/options.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/options.c -c -o obj/options.o In file included from src/options.c:25: src/setup.h:26:23: error: SDL_mixer.h: No such file or directory In file included from src/options.c:25: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class make: *** [obj/options.o] Error 1 BUILDING credits.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/credits.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/credits.c -c -o obj/credits.o In file included from src/credits.c:26: src/setup.h:26:23: error: SDL_mixer.h: No such file or directory In file included from src/credits.c:26: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class make: *** [obj/credits.o] Error 1 BUILDING playsound.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/playsound.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/playsound.c -c -o obj/playsound.o src/playsound.c:22:23: error: SDL_mixer.h: No such file or directory In file included from src/playsound.c:24: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class src/playsound.c: In function 'playsound': src/playsound.c:31: warning: implicit declaration of function 'Mix_PlayChannel' make: *** [obj/playsound.o] Error 1 make: Target `all' not remade because of errors. *** Exited with status: 2 *** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]