Re: [Vala] VAPI Generation Problems



Hi,

On 09/10/11 18:04, bsquared wrote:
It looks like you need to add packages to the command line.  I
found the wiki page http://live.gnome.org/Vala/Bindings helpful.

On 10/10/11 04:54, Daniel Espinosa wrote:
Messages report an error on Gio-2.0.gir, are you using the lastes
version of this file?
You can check at Vala repository for vapi generation examples in
Makefile.am for --pkg switches used for diferent bindings.

My Gio-2.0.gir file is available here, and it is the latest in Ubuntu
11.10 (libglib2.0 package version 2.30.0) :
    http://db.tt/e621C6EA

I tried to use the --pkg switches on the command line, and simply used
all the packages that were listed in the Meta-3.0.gir file in the
<include tags. So I ran the following command:

vapigen --library libmutter --pkg atk --pkg clutter-1.0 --pkg cogl-1.0
--pkg glib-2.0 --pkg gmodule-2.0 --pkg gobject-2.0 --pkg gdk-3.0 --pkg
gdk-pixbuf-2.0 --pkg gio-2.0 --pkg gtk+-3.0 --pkg json-glib-1.0 --pkg
pango --pkg pangocairo --pkg cairo --pkg x11 /usr/share/gir-1.0/Meta-3.0.gir


But received the following errors:
    http://pastebin.com/Mwkuy468

And again the libmutter.vapi file is empty :(

--
Andrew



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