[SDL] SDL and OpenGL - How do I draw?

Christophe Cavalaria chris.cavalaria at free.fr
Sat Dec 30 08:10:07 PST 2006


Peter Mulholland wrote:

> Hello Christophe,
> 
> Saturday, December 30, 2006, 2:58:12 PM, you wrote:
> 
>> I faced a similar problem not long ago. Make sure you use the result of
>> sdl-config --cflags during build time and that you properly include SDL
>> by doing :
>> #include <SDL.h>
>> and NOT
>> #include <SDL/SDL.h>
> 
> Unless you are using OS X and are using SDL.framework - in that case,
> you MUST use <SDL/SDL.h> or Xcode won't find the header.

What use is sdl-config for then?






More information about the SDL mailing list