Re: [Vala] Vapigen errors?
- From: Robert Palmqvist <robert palmqvist home se>
- To: Jürg Billeter <j bitron ch>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Vapigen errors?
- Date: Sun, 10 May 2009 08:15:38 +0200
On Sun, May 10, 2009 at 12:05 AM, Robert Palmqvist
<robert palmqvist home se> wrote:
On Sat, May 9, 2009 at 3:45 PM, Jürg Billeter
<j bitron ch> wrote:
Hi,
On Sat, 2009-05-09 at 15:06 +0200, Robert Palmqvist wrote:
> someuser somehost:~$ vapigen --library libexif libexif/
libexif.gi
>
> (vapigen:23894): GLib-GObject-WARNING **: cannot register existing
> type `GeeCollectionObject'
This looks as if you're mixing vapigen and libvala of different
versions. Make sure you have only one version installed,
fix /etc/ld.so.conf, and/or set LD_LIBRARY_PATH.
Jürg
FYI, I removed the PPA provided packages and downloaded the latest source (vala-0.7.2). I don't get the same errors from vapigen any more but I get the following instead:
someuser somehost:~$ vapigen --library libexif libexif/
libexif.gierror: The type name `Exif.ContentPrivate' could not be found
error: The type name `Exif.DataPrivate' could not be found
error: The type name `Exif.EntryPrivate' could not be found
Generation failed: 3 error(s), 0 warning(s)
I am not sure I got the namespace right. Where can I get more information about the namespaces file used by vapigen (or does anyone understand what went wrong this time)?
Ps. I guess the first errors originate from
"<field name="priv" type="ExifContentPrivate*"/>" in the snippet of gi-definition below:
<struct name="ExifContent"> <method name="add_entry" symbol="exif_content_add_entry">
<return-type type="void"/> <parameters>
<parameter name="p1" type="ExifContent*"/> <parameter name="p2" type="ExifEntry*"/>
</parameters> </method>
<method name="dump" symbol="exif_content_dump"> <return-type type="void"/>
<parameters> <parameter name="content" type="ExifContent*"/>
<parameter name="indent" type="unsigned"/> </parameters>
</method> <method name="fix" symbol="exif_content_fix">
<return-type type="void"/> <parameters>
<parameter name="p1" type="ExifContent*"/> </parameters>
</method> <method name="foreach_entry" symbol="exif_content_foreach_entry">
<return-type type="void"/> <parameters>
<parameter name="content" type="ExifContent*"/> <parameter name="func" type="ExifContentForeachEntryFunc"/>
<parameter name="user_data" type="void*"/> </parameters>
</method> <method name="free" symbol="exif_content_free">
<return-type type="void"/> <parameters>
<parameter name="content" type="ExifContent*"/> </parameters>
</method> <method name="get_entry" symbol="exif_content_get_entry">
<return-type type="ExifEntry*"/> <parameters>
<parameter name="p1" type="ExifContent*"/> <parameter name="p2" type="ExifTag"/>
</parameters> </method>
<method name="get_ifd" symbol="exif_content_get_ifd"> <return-type type="ExifIfd"/>
<parameters> <parameter name="p1" type="ExifContent*"/>
</parameters> </method>
<method name="log" symbol="exif_content_log"> <return-type type="void"/>
<parameters> <parameter name="content" type="ExifContent*"/>
<parameter name="log" type="ExifLog*"/> </parameters>
</method> <method name="new" symbol="exif_content_new">
<return-type type="ExifContent*"/> </method>
<method name="new_mem" symbol="exif_content_new_mem"> <return-type type="ExifContent*"/>
<parameters> <parameter name="p1" type="ExifMem*"/>
</parameters> </method>
<method name="ref" symbol="exif_content_ref"> <return-type type="void"/>
<parameters> <parameter name="content" type="ExifContent*"/>
</parameters> </method>
<method name="remove_entry" symbol="exif_content_remove_entry"> <return-type type="void"/>
<parameters> <parameter name="p1" type="ExifContent*"/>
<parameter name="p2" type="ExifEntry*"/> </parameters>
</method> <method name="unref" symbol="exif_content_unref">
<return-type type="void"/> <parameters>
<parameter name="content" type="ExifContent*"/> </parameters>
</method> <field name="entries" type="ExifEntry**"/>
<field name="count" type="unsigned"/> <field name="parent" type="ExifData*"/>
<field name="priv" type="ExifContentPrivate*"/>
</struct>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]