SDL/SDL.h: No such file or directory

  • Thread starter Thread starter Vradash
  • Start date Start date
Status
Not open for further replies.
V

Vradash

Guest
Hi there!
I just wanted to try Q-Gears. So I checked out the latest Revision and want to compile it with Dev-C++.
The I got this error:
'SDL/SDL.h: No such file or directory' (in windowsdl.cpp)
Then I downloaded the latest SDL Package and set up the complete include folder as an include folder in Dev-C++.
Same result.
After that, I copied the include directory (renamed it to SDL) in some directories. Edit: Of course directories in the q-gears folder. :)
Same result again.
Can you help me?
(Sorry, I have no experience with that source-compile-stuff...I just wanted to try. :) )
 
Last edited:
Go to the package manager inside Dev-C++ and install it from there
 
Why on earth do you want to try Q-Gears at this point? It's nowhere near ready to use yet, and can't play the game at all.
 
Well I try out Q-Gears too, just to see what it can do, I think it's really interesting.
 
Yeah, I'm also fascinated with the work being done here. I'd love to see what happens so far, even if all you get is a FFVII looking GUI that does nothing (yet :)).
 
I don't know what sdl folders you're copying, but all you should have to do is open this file and it will install itself into Dev-C++ automatically and it should work (go here and click the download link)
http://devpaks.org/details.php?devpak=12
 
Last edited:
It's actually 'Cannot find lSDL' note the l (L) that looks like an I. There's another SDL package I think you need, SDL-Image or something?
 
I don't know. I can't find anything that looks like lsdl on the SDL homepage. Do you got something for me?
 
I used this http://www.libsdl.org/release/SDL-devel-1.2.10-VC6.zip
Just create directory "SDL" in your devcpp "include" directory and copy files from include directory of SDL-devel in there.
Kay, that worked. Did the same with zlib. But now I get: cannot find -ISDL. :(
It needs library. You need to copy library from SDL-devel to your DEV c++ library directory.
Doesn't work...

I need to install some other things: zlib, libpng, libjpeg, libtiff.
I installed them into Dev-C++ but I get always the same error.
 
I have:

libjpeg
libpng
libtiff
SDL
SDL_image
zlib

and it works fine
 
Then get mad! :D It doesn't work. I get cannot find -lSDL_Image.
And I can't install SDL_Image, because of that freakin' stuff! (libjpeg and so on)
Hmmm maybe you should give up until the alpha release? :D
Or you could try poking around various forums where people have more experience with the MingW GCC variant compilor and the Dev C++ IDE.

Cyb
 
Then get mad! :D It doesn't work. I get cannot find -lSDL_Image.
And I can't install SDL_Image, because of that freakin' stuff! (libjpeg and so on)
Hmmm maybe you should give up until the alpha release? :D
Or you could try poking around various forums where people have more experience with the MingW GCC variant compilor and the Dev C++ IDE.

Cyb
Okay...I will try.
 
you have to install the required libs in a certain order, look at their requirements
 
Status
Not open for further replies.
Back
Top