[Vala] [Genie] Build for windows under linux. Using minwg.
Hi!! I have finished a Katamotz Ejercicios new application for reading learning and teaching. Is a Genie application and it uses gtk-3, pango, cogl, clutter, clutter-gtk and gstreamer. No problems for building under linux for linux, but how do it for Windows. I have seen some tutorials from Tarnyko and others but... there is anyone for help me? Thanks. Txasatonga. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] [Genie] Build for windows under linux. Using minwg.
Hi, From: Gontzal Uriarte txasato...@gmail.com Sent: Sunday, 14 September 2014, 14:29 Subject: [Vala] [Genie] Build for windows under linux. Using minwg. I have finished a Katamotz Ejercicios new application for reading learning and teaching. Is a Genie application and it uses gtk-3, pango, cogl, clutter, clutter-gtk and gstreamer. No problems for building under linux for linux, but how do it for Windows. I have seen some tutorials from Tarnyko and others but... there is anyone for help me? Sounds like an interesting project. I've collected a few bookmarks to add to the Genie documentation at some point: Recent Vala on Windows binaries: https://github.com/hgoel0974/ValaOnWindows-Binaries GTK+ for Windows: http://www.gtk.org/download/index.php Possibly nice tutorial: http://www.0x00.to/post/2013/12/14/Compile-and-run-Vala-on-Windows-using-MinGW-builds I don't use Windows myself, but hope these will take you a step in the right direction. Pango seems to be part of GTK+ downloads, GStreamer website says it has MSI installers and Gnome wiki has this https://wiki.gnome.org/Projects/Clutter/Building/Windows about Clutter on Windows. Let us know if you get it working? Al ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] [Genie] Build for windows under linux. Using minwg.
I can help you. You can see at GXml project in git.gnome.org. I've managed to build it under windows with no problems. Just download GTK+ for windows bundle and use see to change prefix variable I'm all PC files to point to the Dir you uncompress this bundle. You must install mingw-w64 on your distribution. Then on terminal set PKG_CONFIG_PATH to pont the directory you uncompress gtk+ bundle and add to the path lib/pkgconfig directory; this is very important, if you don't set correctly, pkg-config will find PC files from your Linux Installation and you compilation will fail with lot errors on headers. When configure your software, use --host= to the platform you want to use, 32 or 64 bits. On Ubuntu you must use x86_64-w64-mingw32 for 64 bits and i686-w64-mingw32, if you get lot of errors from included headers then the above host targets are wrong. If most module use gobject introspection, you must disable because bundle doesn't include it. As you can see on GXml, I've use valac to get C code then use the mingw-w64 compiler to compile it to get exe and DLLs. C code must depend on a rule that use valac to get it. But be this is not required, may you want to use valac directly, in theory it must use mingw-w64 compiler because the host setting. El sep 14, 2014 8:29 AM, Gontzal Uriarte txasato...@gmail.com escribió: Hi!! I have finished a Katamotz Ejercicios new application for reading learning and teaching. Is a Genie application and it uses gtk-3, pango, cogl, clutter, clutter-gtk and gstreamer. No problems for building under linux for linux, but how do it for Windows. I have seen some tutorials from Tarnyko and others but... there is anyone for help me? Thanks. Txasatonga. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] [Genie] Build for windows under linux. Using minwg.
Please forgive me for my errors on writing, I'm on my phone. My instructions are for Cross compile on Linux to Windows. Just don't forget to use -mwindows to avoid terminal when execute your code on windows. If use valac use -X before to pass it to the mingw-w64 compiler. El sep 14, 2014 1:22 PM, Daniel Espinosa eso...@gmail.com escribió: I can help you. You can see at GXml project in git.gnome.org. I've managed to build it under windows with no problems. Just download GTK+ for windows bundle and use see to change prefix variable I'm all PC files to point to the Dir you uncompress this bundle. You must install mingw-w64 on your distribution. Then on terminal set PKG_CONFIG_PATH to pont the directory you uncompress gtk+ bundle and add to the path lib/pkgconfig directory; this is very important, if you don't set correctly, pkg-config will find PC files from your Linux Installation and you compilation will fail with lot errors on headers. When configure your software, use --host= to the platform you want to use, 32 or 64 bits. On Ubuntu you must use x86_64-w64-mingw32 for 64 bits and i686-w64-mingw32, if you get lot of errors from included headers then the above host targets are wrong. If most module use gobject introspection, you must disable because bundle doesn't include it. As you can see on GXml, I've use valac to get C code then use the mingw-w64 compiler to compile it to get exe and DLLs. C code must depend on a rule that use valac to get it. But be this is not required, may you want to use valac directly, in theory it must use mingw-w64 compiler because the host setting. El sep 14, 2014 8:29 AM, Gontzal Uriarte txasato...@gmail.com escribió: Hi!! I have finished a Katamotz Ejercicios new application for reading learning and teaching. Is a Genie application and it uses gtk-3, pango, cogl, clutter, clutter-gtk and gstreamer. No problems for building under linux for linux, but how do it for Windows. I have seen some tutorials from Tarnyko and others but... there is anyone for help me? Thanks. Txasatonga. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list