[Vala] Generating API errors



Hello,
since libpanelapplet-2.0.vapi contains almost nothing I'm trying to
generate own VAPI, but i'm getting some errors which i don't
understand:
This is what i'm doing:

created folder libpanelapplet-2.0
there are 2 files inside:
libpanelapplet-2.0.files with 2 rows:
include/panel-2.0/
lib/libpanel-applet-2.so

and
libpanelapplet-2.0.namespace with this content:
PanelApplet

on that i ran:
vala-gen-introspect libpanelapplet-2.0 libpanelapplet-2.0

with this output:
Unknown symbol: GtkEventBox

and then:
vapigen --library libpanelapplet-2.0 libpanelapplet-2.0/libpanelapplet-2.0.gi

and here are errors:
error: The type name `GLib.NOME_Vertigo_PanelAppletShell' could not be found
error: The type name `CORBA_long' could not be found
error: The type name `CORBA_long' could not be found
error: The type name `CORBA_Environment' could not be found
error: The type name `PortableServer_Servant' could not be found
error: The type name `CORBA_Environment' could not be found
error: The type name `PortableServer_Servant' could not be found
error: The type name `CORBA_Environment' could not be found
error: The type name `POA_Bonobo_Unknown__epv' could not be found
error: The type name `GLib.tkEventBox' could not be found
error: The type name `GLib.tkBuildable' could not be found
error: The type name `AtkImplementor' could not be found
error: The type name `GLib.ConfValueType' could not be found
error: The type name `GLib.ConfValue' could not be found
error: The type name `GLib.ConfValueType' could not be found
error: The type name `GLib.ConfValue' could not be found
error: The type name `GLib.dkColor' could not be found
error: The type name `GLib.dkPixmap' could not be found
error: The type name `BonoboControl' could not be found
error: The type name `BonoboUIComponent' could not be found
error: The type name `GLib.tkWidget' could not be found
error: The type name `BonoboUIVerb' could not be found
error: The type name `BonoboUIVerb' could not be found
error: The type name `Bonobo_Unknown' could not be found
error: The type name `PortableServer_POA' could not be found
error: The type name `CORBA_Environment' could not be found
error: The type name `Bonobo_Unknown' could not be found
error: The type name `PortableServer_POA' could not be found
error: The type name `CORBA_Environment' could not be found
error: The type name `GLib.dkColor' could not be found
error: The type name `GLib.dkPixmap' could not be found
error: The type name `GLib.tkDirectionType' could not be found
Generation failed: 32 error(s), 0 warning(s)

I did everything as described on http://live.gnome.org/Vala/Bindings
What is going on?

Thanks in advance
-- 
---
Adam Kovari(mailto:kovariadam gmail com)



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