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

2009-10-22 Thread Magentus
On Wed, 21 Oct 2009 10:08:49 -0400, Levi Bard taktaktaktaktaktaktaktaktak...@gmail.com wrote: I followed the instructions indicated here http://live.gnome.org/Vala/SDLSample and got the following error: /sdl-sample.vala.c:9:31: error: SDL_gfxPrimitives.h: No such file or directory error: cc

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

2009-10-22 Thread Levi Bard
Did you have  --Xcc=-I/usr/include/SDL as part of your compile line? Just out of curiosity...  Why is that necessary? 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. --

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

2009-10-22 Thread Jens Georg
Am Donnerstag, den 22.10.2009, 10:45 -0400 schrieb Levi Bard: Did you have --Xcc=-I/usr/include/SDL as part of your compile line? Just out of curiosity... Why is that necessary? It's because SDL, unlike a lot of libraries bound for Vala, doesn't have a pkg-config file defining include

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

2009-10-22 Thread Jens Georg
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

Re: [Vala] GScanner in glib.vapi busted (Re: Parsing with Vala)

2009-10-22 Thread Jan Hudec
On Wed, Oct 21, 2009 at 17:15:04 +0200, Xavier Bestel wrote: On Tue, 2009-10-20 at 19:33 +0200, Xavier Bestel wrote: [TokenValue means GLib.TokenValue below:] But even with that I still have a problem: TokenValue is a simple enum, tagged with [SimpleType] in the vapi file, but Vala inserts a