Re: [Vala] Windows development



On Tue, Mar 18, 2008 at 1:09 PM, Matt Emson <memsom interalpha co uk> wrote:
 Z:\>valac -o basic basic.vala
 Z:/basic.vala:1.7-1.10: error: The namespace name `GLib' could not be found
 Z:/basic.vala:3.17-3.22: error: The type name `Object' could not be found
 Z:/basic.vala:14.10-14.12: error: The type name `int' could not be found
 Z:/basic.vala:14.19-14.24: error: The type name `string' could not be found
 Compilation failed: 4 error(s), 0 warning(s)

The GLib one is due to not adding --pkg=glib-2.0 to the compile flags.
That assumes you have the vapi-files installed where vala looks for
them, otherwise you have to use --vapidir=/path/to/vapidirectory. Not
sure about the int and string though.

-- 
Daniel Svensson



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