[SDL] Correct way of including SDL?

Justin Coleman jmcoleman at gmail.com
Mon Sep 3 18:15:17 PDT 2007


Add the directory with the SDL include files to your include path.

On 9/3/07, L-28C <kixdemp at gmail.com> 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?
>
> Thanks!
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>


More information about the SDL mailing list