Re: [Vala] Vala on Windows



2008/11/6 Alexei Vinidiktov <alexei vinidiktov gmail com>
2008/11/6 Matías De la Puente <mfpuente.ar@gmail.com>:
> Hi
>
> I have try this and it work without problems.
> Another think to add to valac is "-X -mwindows" because when i use gtk and
> execute my app opens a terminal and a window.

I've tried adding "-X -mwindows" to valac to compile a simple sample
program that uses GTK,
but I'm getting an error that says: "c:\vala-0.5.1\bin\ld.exe: cannot
find -lcomdlg32".

The problem is that you have to download and unzip the file "w32api-3.11.tar.gz" (www.mingw.org) in the vala folder. It work for me because i intalled before mingw. That's why i tell gege to add vala in a separate zip file.

I installed mingw downloading MinGW-5.1.4.exe (www.mingw.org) that automatically download all the zip files and unzip the files in a folder (This way is simple, but you have to add to the path environment variable the folder that you installed mingw)

Matias

PS: Remember allways to respond to all the people in the mailling list, because this can help other people


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