Hi everyone, this is my first post to this mailing list so let me take the opportunity to thank you all for a new and existing language (compared to some other bloated hogs that never managed to catch my attention even though the rest of the world seems to find it best things since sliced bread)! A modern, OOP-oriented and simple language like Vala compiling straight to C leveraging something like GObjects, thats what I call exiting and well worth exploring!
Please forgive me for not trying hard enough before I post to this list but I almost immediately ran into troubles that I haven't had time to fully understand. My setup is a fresh install of Ubuntu 9.04 with the addition of Vala Team PPA. I had no problems to compile, build and run some Vala examples so I got over confident and tried to make my first Vala bindings following the bindings tutorial. This is where I ran into troubles...
I selected libexif as my target and everything was running smooth until I was trying to convert my gi-file into a vapi-file using vapigen. The error messages I get is the following (anyone know what went wrong?):
someuser somehost:~$ vapigen --library libexif libexif/libexif.gi
(vapigen:23894): GLib-GObject-WARNING **: cannot register existing type `GeeCollectionObject'
(vapigen:23894): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed
(vapigen:23894): GLib-GObject-WARNING **: cannot register existing type `GeeMap'
(vapigen:23894): GLib-GObject-WARNING **: cannot register existing type `GeeCollectionObject'
(vapigen:23894): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
(vapigen:23894): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(vapigen:23894): GLib-GObject-WARNING **: cannot create new instance of invalid (non-instantiatable) type `<invalid>'
Segmentation fault
libexif.files:
include/libexif/
lib/libexif.so
libexif.namespace:
Exif
[I removed this content and cancelled my first post since it got too big; "Message body is too big: 192558 bytes with a limit of 40 KB", let me know it you want me to post the entire content of the gi-file]