Qhimm.com Forums

Project forums => Q-Gears => Topic started by: Vradash on 2006-06-16 17:03:14

Title: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-16 17:03:14
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. :) )
Title: Re: SDL/SDL.h: No such file or directory
Post by: rmco2003 on 2006-06-16 17:32:55
Go to the package manager inside Dev-C++ and install it from there
Title: Re: SDL/SDL.h: No such file or directory
Post by: Covarr on 2006-06-16 18:56:35
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.
Title: Re: SDL/SDL.h: No such file or directory
Post by: rmco2003 on 2006-06-16 21:30:42
Well I try out Q-Gears too, just to see what it can do, I think it's really interesting.
Title: Re: SDL/SDL.h: No such file or directory
Post by: NobodyImportant on 2006-06-16 22:15:59
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 :)).
Title: Re: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-17 08:07:15
Go to the package manager inside Dev-C++ and install it from there

I installed it, but I get the same error. :(
Title: Re: SDL/SDL.h: No such file or directory
Post by: BesideTheVoid on 2006-06-17 16:35:51
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
Title: Re: SDL/SDL.h: No such file or directory
Post by: Akari on 2006-06-17 17:24:37
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.
Title: Re: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-17 17:56:45
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. :(
Title: Re: SDL/SDL.h: No such file or directory
Post by: rmco2003 on 2006-06-17 17:58:50
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?
Title: Re: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-17 19:15:40
I don't know. I can't find anything that looks like lsdl on the SDL homepage. Do you got something for me?
Title: Re: SDL/SDL.h: No such file or directory
Post by: Katana on 2006-06-17 19:48:02
http://old.devpaks.org/show.php?devpak=142
Title: Re: SDL/SDL.h: No such file or directory
Post by: Akari on 2006-06-18 00:06:43
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.
Title: Re: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-18 06:32:37
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...

http://old.devpaks.org/show.php?devpak=142

I need to install some other things: zlib, libpng, libjpeg, libtiff.
I installed them into Dev-C++ but I get always the same error.
Title: Re: SDL/SDL.h: No such file or directory
Post by: rmco2003 on 2006-06-18 08:33:42
I have:

libjpeg
libpng
libtiff
SDL
SDL_image
zlib

and it works fine
Title: Re: SDL/SDL.h: No such file or directory
Post by: BesideTheVoid on 2006-06-18 13:59:47
Uninstall Dev-C++
Re-install latest version
install SDL (ONE STEP, OPEN THIS DEVPAK) http://devpaks.org/details.php?devpak=12

or I'll get mad  :-D
Title: Re: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-20 18:13:35
Uninstall Dev-C++
Re-install latest version
install SDL (ONE STEP, OPEN THIS DEVPAK) http://devpaks.org/details.php?devpak=12

or I'll get mad  :-D

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)
Title: Re: SDL/SDL.h: No such file or directory
Post by: Cyberman on 2006-06-20 18:52:15
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
Title: Re: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-20 19:03:22
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.
Title: Re: SDL/SDL.h: No such file or directory
Post by: rmco2003 on 2006-06-20 19:30:57
you have to install the required libs in a certain order, look at their requirements
Title: Re: SDL/SDL.h: No such file or directory
Post by: BesideTheVoid on 2006-06-20 20:45:31
Ok, I'm not mad. :-P
Here's what you do next:
go to google and search for each of these devpaks and install them:

SDL_image devpak
libz devpak
libjpeg devpak

or any others, until the errors go away
Title: Re: SDL/SDL.h: No such file or directory
Post by: Vradash on 2006-06-21 05:11:07
It works now...thank you!

(And its freakin' funny! 99% CPU Usage and so on... xD)