Re: [gnome-db] Vala and Libgda-5.0





On 14 December 2011 16:17, Faghmie Davids <faghmie aquasoftware co za> wrote:
Hi,

I have compiled and installed libgda-5.0. However when I try to compile
my vala project against the new vapi, I get the following error.



libgda-5.0.vapi:280.75-280.77: error: The symbol `Xml' could not be
found
               public static Gda.DataModel new_xml_node ([CCode (type =
"xmlNodePtr")] Xml.Node* node);

^^^
libgda-5.0.vapi:721.65-721.67: error: The symbol `Xml' could not be
found
               public bool load_data_from_xml ([CCode (type = "xmlNodePtr")]
Xml.Node* node) throws GLib.Error;
                                                                             ^^^
libgda-5.0.vapi:817.60-817.62: error: The symbol `Xml' could not be
found
               public Set.from_spec_node ([CCode (type = "xmlNodePtr")] Xml.Node*
xml_spec) throws GLib.Error;
                                                                        ^^^
libgda-5.0.vapi:1168.69-1168.71: error: The symbol `Xml' could not be
found
               public bool add_data_from_xml_node ([CCode (type = "xmlNodePtr")]
Xml.Node* node) throws GLib.Error;
                                                                                 ^^^
libgda-5.0.vapi:2062.109-2062.111: error: The symbol `Xml' could not be
found
       public static bool utility_data_model_dump_data_to_xml (Gda.DataModel
model, [CCode (type = "xmlNodePtr")] Xml.Node* parent, [CCode
(array_length_cname = "nb_cols", array_length_pos = 3.5)] int[]? cols,
[CCode (array_length_cname = "nb_rows", array_length_pos = 4.5)] int[]?
rows, bool use_col_ids);

^^^
libgda-5.0.vapi:2066.102-2066.104: error: The symbol `Xml' could not be
found
       public static bool utility_holder_load_attributes (Gda.Holder holder,
[CCode (type = "xmlNodePtr")] Xml.Node* node, GLib.SList<Gda.DataModel>
sources) throws GLib.Error;

^^^
libgda-5.0.vapi:2108.77-2108.79: error: The symbol `Xml' could not be
found
       public static GLib.Value value_new_from_xml ([CCode (type =
"xmlNodePtr")] Xml.Node* node);



Can someone please assist?

I don't know enough about Vala to help you here, but Daniel, can you help with this?

Also, could you be more specific about which version of Libgda you use (released version or branch from git)?

Thanks,

Vivien


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