[Vala] Windows development



I'm looking at using Vala to develop some apps for Maemo, but I would like to get to know Vala better by playing with it on my Windows box. I have successfully built Vala on my Macbook under MacOS X 10.5.2 (using the version of GTK+ that comes with Mono and uses a native MacOS backend) and it works fine. However, Windows is on my work laptop that travels with me - my Macbook doesn't tend to leave the house. Cygwin doesn't have the right version of glib, so it chokes on the configure script. I'm not a Linux programmer and a novice GTK/GObject programmer so a nice handy installer would be cool :-)

I did find a Vala 0.1.7 windows installer on the web somewhere which I tried, but it will not find anything in the "using" clause. Plus, running under Cygwin, it goes slightly insane. Attached the output below.

Ta,

Matt

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

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)

Z:\>

Cygwin gives:

memson@ ~
$ valac -o basic basic.vala
z:/basic.vala:2.7-2.10: error: The namespace name `GLib' could not be found
z:/basic.vala:4.23-4.28: error: The type name `Object' could not be found
z:/basic.vala:12.16-12.18: error: The type name `int' could not be found
z:/basic.vala:12.26-12.31: error: The type name `string' could not be found
Compilation failed: 4 error(s), 0 warning(s)
error: basic.vala not found
Compilation failed: 1 error(s), 0 warning(s)
error: basic.vala not found
Compilation failed: 1 error(s), 0 warning(s)
error: basic.vala not found
Compilation failed: 1 error(s), 0 warning(s)
error: basic.vala not found
Compilation failed: 1 error(s), 0 warning(s)
error: basic.vala not found
Compilation failed: 1 error(s), 0 warning(s)

memson@ ~
$





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