[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libSDL and $DISPLAY



On Fri, Jun 28, 2013 at 2:53 AM, Evgeni Golov wrote:

> #include <SDL/SDL.h>
...
> and libsdl1.2, 1.3 and 2.0 (the later obviously needs a SDL2/SDL.h).

FYI, I recently found out the correct way to include the SDL headers
is to use pkg-config to give you the right SDL include dir and then
#include <SDL.h>. This also makes it easier to support SDL2 and SDL at
the same time. I did this in chromium-bsu git and it works nicely.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: