[Vala] no Gtk when it is installed ??



Hello!

I' ve recently tried out Vala on my Ubuntu 7.10 Gutsy Gibbon and I've encountered a problem at the very beginning. I've copied and pasted the


 *"Another Vala GTK+ Example using GtkTreeView and GtkBuilder API"*

from the samples located on http://live.gnome.org/Vala/GTKSample and after execution of valac test.vala (test is the file with the example) I receive an error:

/home/tobiasz/test.vala:1.7-1.9: error: The namespace name `Gtk' could not be found /home/tobiasz/test.vala:7.9-7.17: error: The type name `FileModel' could not be found /home/tobiasz/test.vala:8.9-8.13: error: The type name `Label' could not be found /home/tobiasz/test.vala:9.9-9.12: error: The type name `VBox' could not be found /home/tobiasz/test.vala:10.9-10.13: error: The type name `Entry' could not be found
... etc.

I guess it all concerns Gtk library but I've checked it twice and I've got Gtk library installed with all dev packages and so on...

Please help!



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