Author Topic: SDL/SDL.h: No such file or directory  (Read 18316 times)

Vradash

  • *
  • Posts: 9
    • View Profile
SDL/SDL.h: No such file or directory
« 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. :) )
« Last Edit: 2006-06-17 08:11:36 by Vradash »

rmco2003

  • Guest
Re: SDL/SDL.h: No such file or directory
« Reply #1 on: 2006-06-16 17:32:55 »
Go to the package manager inside Dev-C++ and install it from there

Covarr

  • Covarr-Let
  • Administrator
  • *
  • Posts: 3941
  • Just Covarr. No "n".
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #2 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.

rmco2003

  • Guest
Re: SDL/SDL.h: No such file or directory
« Reply #3 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.

NobodyImportant

  • *
  • Posts: 92
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #4 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 :)).

Vradash

  • *
  • Posts: 9
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #5 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. :(

BesideTheVoid

  • *
  • Posts: 31
  • formerly known as ProtoArmor
    • View Profile
    • Official BesideTheVoid Productions Website
Re: SDL/SDL.h: No such file or directory
« Reply #6 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
« Last Edit: 2006-06-17 16:38:00 by ProtoArmor »

Akari

  • Moderator
  • *
  • Posts: 766
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #7 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.

Vradash

  • *
  • Posts: 9
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #8 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. :(

rmco2003

  • Guest
Re: SDL/SDL.h: No such file or directory
« Reply #9 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?

Vradash

  • *
  • Posts: 9
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #10 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?

Katana

  • *
  • Posts: 19
    • View Profile

Akari

  • Moderator
  • *
  • Posts: 766
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #12 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.

Vradash

  • *
  • Posts: 9
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #13 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.

rmco2003

  • Guest
Re: SDL/SDL.h: No such file or directory
« Reply #14 on: 2006-06-18 08:33:42 »
I have:

libjpeg
libpng
libtiff
SDL
SDL_image
zlib

and it works fine

BesideTheVoid

  • *
  • Posts: 31
  • formerly known as ProtoArmor
    • View Profile
    • Official BesideTheVoid Productions Website
Re: SDL/SDL.h: No such file or directory
« Reply #15 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

Vradash

  • *
  • Posts: 9
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #16 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)

Cyberman

  • *
  • Posts: 1572
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #17 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

Vradash

  • *
  • Posts: 9
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #18 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.

rmco2003

  • Guest
Re: SDL/SDL.h: No such file or directory
« Reply #19 on: 2006-06-20 19:30:57 »
you have to install the required libs in a certain order, look at their requirements

BesideTheVoid

  • *
  • Posts: 31
  • formerly known as ProtoArmor
    • View Profile
    • Official BesideTheVoid Productions Website
Re: SDL/SDL.h: No such file or directory
« Reply #20 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

Vradash

  • *
  • Posts: 9
    • View Profile
Re: SDL/SDL.h: No such file or directory
« Reply #21 on: 2006-06-21 05:11:07 »
It works now...thank you!

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