Stephan Buys s.buys at
Sun Jul 29 07:44:02 BST 2001


Please make sure that you installed the development packages of SDL as well. On my system the header files for SDL is installed in /usr/include/SDL/ , thus when I use it I have to #include <SDL/SDL.h>. If you are using RPM you can use kpackage to verify that you have SDL and SDL-devel packages installed and double check the locations and names of your files.

I have a executable in /usr/bin/ called sdl-config which was installed with the SDL 1.2.1 development RPM's. Invoked as below but without the quotes.  - This points to a SDL tutorial on - maybe that will help as well.

Good luck,
Stephan Buys
South Africa
  ----- Original Message ----- 
  From: NERILL at 
  To: kdevelop at 
  Sent: Saturday, July 28, 2001 9:29 PM
  Subject: Re: SDL

  In a message dated 7/27/01 3:21:19 PM Eastern Daylight Time, 
  s.buys at writes: 

    Under Project -> Options -> Linker Options add -lSDL -lSDLmain -lpthread to 
    the additional libraries input box (add -lGL -lGLU if you want to use it 
    OpenGL with it) Obviously the right header files need to be included as 
    well... (sorry for the insultingly obvious) There is also a the command 
    sdl-config --libs --cflags for additional clues

  I did all that but the Make doesnt work. 

  I put #include <SDL.h> 

  and the message error is: SDL.h:no such file or directory. 

  PS: When you say that "sdl-config --libs --cflags" is a command, does that 
  mean it can be invoked from a command window?  if so, it doesnt work for me 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop mailing list