Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualrip-off

Posted 30 April 2013 - 11:10 AM

How/where did you "install" SDL?

 

Note that SDL itself recommends:

Do I #include <SDL.h> or <SDL/SDL.h>?
 
The most portable way to include SDL headers is to use quotes around the header name:
 
#include "SDL.h"

You may have to configure your compiler to know to search the directory where the SDL headers are installed. On Linux, this is easy, just use `sdl-config --cflags` as part of your command line. Mingw may have a similar utility program, worth looking into.


#1rip-off

Posted 30 April 2013 - 11:10 AM

How/where did you "install" SDL?

 

Note that [url="http://wiki.libsdl.org/moin.fcg/FAQDevelopment#Do_I_.23include_.3CSDL.h.3E_or_.3CSDL.2BAC8-SDL.h.3E.3F"SDL itself[/url] recommends:

 

Do I #include <SDL.h> or <SDL/SDL.h>?
 
The most portable way to include SDL headers is to use quotes around the header name:
 
#include "SDL.h"

You may have to configure your compiler to know to search the directory where the SDL headers are installed. On Linux, this is easy, just use `sdl-config --cflags` as part of your command line. Mingw may have a similar utility program, worth looking into.


PARTNERS