Results 1 to 3 of 3
Hello Linux Forums, Since i switched to fedora 10 from Kubuntu, i have had nothing but problems with compiling, first off make wasn't included ( which i got ) second ...
- 12-14-2008 #1
Compiling errors
Hello Linux Forums, Since i switched to fedora 10 from Kubuntu, i have had nothing but problems with compiling, first off make wasn't included ( which i got ) second for some reason c++ didnt work and thirdly, the issue i am here to discuss today is, nothing compiles with SDL. i try
gcc -o sdlgame sdlgame.c `sdl-config --cflags --libs`
but it just says SDL not found, so i tried yum -y install SDL it says SDL is latest version. do you guys know how i can get my SDL projects to compile?
tl;dr SDL wont compile.
- 12-14-2008 #2
Hello,
generally, there is a difference between runtime libraries and development packages.
The runtime libraries contain object code so that some program that uses SDL can run.
But if you want to compile a program that uses SDL, you will need more than this. For example, the header files.
See if there is some package called SDL-dev or similar.Debian GNU/Linux -- You know you want it.
- 12-14-2008 #3


Reply With Quote