SDL_Vnc, include SDL/SDL.h

Hi all,

We’ve received a message from Yan Shi about a software called SDL_Vnc whose configure script says that it cannot find SDL.
Actually, the config.log shows that the test program used for testing SDL is doing a “#include <SDL/SDL.h>”

My question (and suggestion) is: isn’t this way of including the SDL header obsolete ?
Aren’t we supposed to do a #include “SDL.h” and pass the right path with
sdl-config --cflags? (on unix systems) ? I’ve experienced many amateur projects not compiling correctly because of that, and it’s really annoying replacing all the includes in the project tree (and not safe).

Thanks

Julien

Yes, you are correct.On Wed, Feb 25, 2009 at 5:21 AM, julien CLEMENT wrote:

Actually, the config.log shows that the test program used for testing SDL is
doing a “#include <SDL/SDL.h>”

My question (and suggestion) is: isn’t this way of including the SDL header
obsolete ?
Aren’t we supposed to do a #include “SDL.h” and pass the right path with
sdl-config --cflags? (on unix systems) ?


http://codebad.com/