Re: [Vala] [Genie] Build for windows under linux. Using minwg.
- From: gontzal <txasatonga gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] [Genie] Build for windows under linux. Using minwg.
- Date: Fri, 19 Sep 2014 18:14:53 +0200
I have a little problem with gtk-clutter. Version: 1.2 of Tarnyko's
ValaWinPKG tool In windows says me:
(clutter1.exe:2564): Clutter-Gtk-CRITICAL **: Embedding GtkWidget inside
Clutter
Actor through GtkClutterActor does not yet work on non-X11 platforms.
when I code this:
uses Gtk;
uses Clutter;
uses GtkClutter;
window: Gtk.Window
embed: GtkClutter.Embed ;
stage: Clutter.Actor
actorx:Clutter.Actor
init
if (GtkClutter.init(ref args) != Clutter.InitError.SUCCESS)
GLib.warning("Could not initialize GtkClutter")
else
window = new Gtk.Window();
window.title = "Katamotz Clutter";
embed = new GtkClutter.Embed();
var box= new Gtk.Box(Gtk.Orientation.HORIZONTAL, 5)
box.add(embed)
stage = embed.get_stage();
var boton = new Gtk.Button.with_label("Ejercicio 1");
var actorx = new GtkClutter.Actor.with_contents(boton);
actorx.set_reactive(true)
actorx.set_x(100)
actorx.set_y(100)
stage.add_child(actorx)
window.add(box)
window.set_default_size(600, 600);
window.show_all();
Gtk.main();
Anyone knows the reason of the error? Maybe the version? This code goes
well on linux...
Thanks.
or., 2014.eko iraren 19a 12:58(e)an, Tarnyko igorleak idatzi zuen:
Hi gontzal,
Tried to use the procedure from :
http://www.tarnyko.net/en/?q=node/37
?
gontzal writes:
OK.
But... is not easy to find the gstreamer bundle for windows and the
gtk-clutter bundle. Any body knows about them?
Thanks. I will try it.
Gontzal.
ig., 2014.eko iraren 14a 20:22(e)an, Daniel Espinosa igorleak idatzi
zuen:
I can help you. You can see at GXml project in git.gnome.org
<http://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" <txasatonga gmail com
<mailto:txasatonga 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 <mailto: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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]