2008/11/6 Alexei Vinidiktov <[EMAIL PROTECTED]>

> 2008/11/6 Matías De la Puente <[EMAIL PROTECTED]>:
> > 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
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to