[SDL] Correct way of including SDL?

Mikael Eriksson mikael_miffe_eriksson at yahoo.se
Mon Sep 3 18:21:21 PDT 2007


On Mon, Sep 03, 2007 at 08:41:24PM -0400, L-28C wrote:
> Hello everyone!
> 
> OK, I've heard the correct way of using SDL is this:
> #include <SDL.h>
> and passing `sdl-config --cflags` to the compiler, but there's no such 
> file sdl-config in Windows... :/
> 
> How should I do it? Just move all the files in include/SDL to include?

I usually just add include/SDL to the include search path manually. Or
crosscompile from linux.
 
> Thanks!


More information about the SDL mailing list