Re: [Vala] Compile failed on .gir file



On 14-04-10 22:04, Emmanuel Pacaud wrote:
Hi,

Le mercredi 14 avril 2010 à 21:35 +0200, Geert Jordaens a écrit :
compile with "valac -o G --pkg=gee-1.0 G.vala" (note the lower case g in
gee-1.0)
I was misguided by the filename :

/usr/share/gir-1.0/Gee-1.0.gir
You were not misguided. You were actually using the gir file. Now, with
gee-1.0, you're using the vapi one.

/usr/share/vala/vapi/gee-1.0.vapi

It looks like gir files are not completely supported yet.

Emmanuel.



That clarifies a lot.

I started changing the valagirparser.vala and reduced the number of erros,
a fair part of the errors is due to the sequence of the xml-tags.
If the <return-value tag> is after the <parameters> you get errors etc.

Also one of the 2 valagirwriter.vala / valagirparser.vala uses <requires> and the other <prerequesites>.





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