[Vala] Question about vala-gen-introspect
- From: "W. Michael Petullo" <mike flyn org>
- To: vala-devel-list gnome org
- Subject: [Vala] Question about vala-gen-introspect
- Date: Mon, 6 Dec 2010 13:28:04 -0600
I am trying to figure out how to generate a Vala API file for
libdmapsharing, http://www.flyn.org/projects/libdmapsharing/. This
library may be used to create DAAP and DPAP servers and clients. I have
read the document at http://live.gnome.org/Vala/Bindings.
I am using vala-0.10.0 and have tried the following sequence:
mkdir libdmapsharing-2.2
echo "include/libdmapsharing-2.2" > libdmapsharing-2.2/libdmapsharing-2.2.files
echo "lib64/libdmapsharing.so" >> libdmapsharing-2.2/libdmapsharing-2.2.files
echo "DMAP" > libdmapsharing-2.2/libdmapsharing-2.2.namespace
vala-gen-introspect libdmapsharing-2.2 libdmapsharing-2.2
vapigen --library libdmapsharing-2.2 libdmapsharing-2.2/libdmapsharing-2.2.gi
When I run "vala-gen-introspect," I get the following output:
[...]
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown function directive: share
Unknown function directive: share
Unknown function directive: share
Unknown function directive: share
Unknown function directive: service_name
Unknown function directive: passcode
Unknown function directive: library_name
Unknown function directive: player
Unknown function directive: db
Unknown function directive: container_db
Unknown function directive: blob
Unknown function directive: id. This record should
[...]
Later, I run "vapigen --library libdmapsharing-2.2
libdmapsharing-2.2/libdmapsharing-2.2.gi" and get:
error parsing GIDL file: Error on line 1 char 1: Document must begin with an element (e.g. <book>)
Generation succeeded - 0 warning(s
The resulting libdmapsharing-2.2.vapi is empty, aside from default heading comment.
I have not been able to find a definition of the "Unknown function
directive" error. What does this error message mean?
--
Mike
:wq
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]