Missing symbols could be because gtk-doc annotations, (skip) in this case,
or because there are missing other required symbols not included at GIR
generation (in this case the symbol is tagged as introspectable="0"). See
warnings and messages at GIR generation.

In other cases, using (skip), means that is better for bindings to not use
this symbol, because is hard to be parsed or is unbindable. Look at:

https://live.gnome.org/GObjectIntrospection/WritingBindingableAPIs

2011/10/10 Matthias Klumpp <[email protected]>

> I get exactly the same errors, but I get a working vapi file -
> although some symbols seem to be missing.
>
> 2011/10/10 Andrew Higginson <[email protected]>:
> > 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
> > _______________________________________________
> > vala-list mailing list
> > [email protected]
> > http://mail.gnome.org/mailman/listinfo/vala-list
> >
> _______________________________________________
> vala-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to