bloodroses75
March 22nd, 2005, 12:47 AM
Hello, im a relatively new convert from gentoo linux to ubuntu linux and I am having a problem compiling a SDL game I've been working on since using gentoo. I have not modified the code yet since working w/ gentoo and the program compiled fine on it. However, when i now try to compile it under ubuntu i get this error during compile:
sunfire:/home/stuff/shooter $ ./compbatch
./compbatch: line 1: sdl-config: command not found
testshoot.c:1:21: SDL/SDL.h: No such file or directory
In file included from testshoot.c:8:
soundsys.h:4:21: SDL/SDL.h: No such file or directory
here is the script for compbatch:
gcc testshoot.c soundsys.c imgmanip.c -o testshoot `sdl-config --libs --cflags` -lSDL_image -lSDL_ttf
i am using g++ for the compiler and i have checked through apt-get and it claims libsdl is installed along w/ g++. Does anyone have any suggestions to fix this?
Thank you in advance.
sunfire:/home/stuff/shooter $ ./compbatch
./compbatch: line 1: sdl-config: command not found
testshoot.c:1:21: SDL/SDL.h: No such file or directory
In file included from testshoot.c:8:
soundsys.h:4:21: SDL/SDL.h: No such file or directory
here is the script for compbatch:
gcc testshoot.c soundsys.c imgmanip.c -o testshoot `sdl-config --libs --cflags` -lSDL_image -lSDL_ttf
i am using g++ for the compiler and i have checked through apt-get and it claims libsdl is installed along w/ g++. Does anyone have any suggestions to fix this?
Thank you in advance.