Re: [Vala] SDL error: SDL_gfxPrimitive.h not found



On Thu, Oct 22, 2009 at 17:46:16 +0200, Jens Georg wrote:
It's because SDL, unlike a lot of libraries bound for Vala, doesn't
have a pkg-config file defining include paths and the like.


That depends. It seems to have on debian-based systems and on openSUSE.

and in libsdl's svn:
http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL/sdl.pc.in?view=log

Unfortunately the names don't match, which is necessary for vala to work
properly. In Debian systems, the packages are called like SDL_gfx, SDL_image
etc., while the vala packages are called sdl-gfx, sdl-image, etc. and if
upstream provides just sdl package, that does not match either.

-- 
                                                 Jan 'Bulb' Hudec <bulb ucw cz>



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