Compiling a Vala source On Windows

I compiled a vala program by using following command:

valac test.vala

Of course am I able to run the program on my computer, but when I am trying to run the .exe file on a different one I get following error:

libglib-***.dll is missing on this computer

This is how my source code looks like:

using GLib;
int main(string[] args)
    bool running = true;
        print("Hello World\n");
    return 0;

The error is pretty clear, but what can I do against it? Thanks in advance.


Along your exe file you will need to install all the libraries you use (glib, gio, etc ...) and their own dependencies (Gtk will require gdk,cairo,pango, and some more).

Edit: take a look at this question on SO, the minimal dependencies are listed.

Need Your Help

How do I make a thread dump with MONO?

.net mono stack-trace thread-dump mse

How can I show the threads (stacktraces) in a hanging application that run with MONO?

Extending SQL query with geography distance

sql-server sql-server-2012 geography

I have a SQL Server 2012 database with 3 mln company records in which you can search by using some where like clauses on name and address fields. This works pretty fast.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.