[SDL] Correct way of including SDL?
Torsten Giebl
wizard at syntheticsw.com
Tue Sep 4 01:26:28 PDT 2007
Hello !
> #include <SDL.h>
No, the most portable way is to do: #include "SDL.h"
> and passing `sdl-config --cflags` to the compiler, but there's no such
> file sdl-config in Windows... :/
sdl-config is only used with
commandline environments.
What Win32 compiler do you use ?
With VC you have two ways, either you add them to
your project or you add the necessary SDL dirs. to the
VC include, bin, lib dirs and so on.
CU
More information about the SDL
mailing list