Re: Cross platform development

2017-03-18 Thread Tomas Hlavaty
"pelzflorian (Florian Pelz)" writes: > On 03/18/2017 08:41 AM, Tomas Hlavaty wrote: >> nixos already supports cross-compilation using mingw out-of-the box. > I did not know. Sounds interesting. It also creates an $out directory with bin dir and symlinks for all dependencies (exe and dll) which yo

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 10:07 AM, Michael Torrie wrote: > He wants to put just the GTK3 dependencies in a tree > somewhere. To do that simply, he could unpack the GTK3 (and glib2) > binary pacman packages if they could be located. Got it. I think they can be downloaded individually here: https://sourceforge

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 09:16 AM, pelzflorian (Florian Pelz) wrote: > MSYS2 ships with the pacman package manager. After you have followed the > instructions on the website, launch the MSYS2 shell from the MSYS2 > folder and then this command installs everything you need to run gedit > into a filesystem tree

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 04:03 PM, Michael Torrie wrote: > On 03/18/2017 07:37 AM, Dirk Gottschalk via gtk-app-devel-list wrote: >> The only chance is, to grab the DLLs from MinGW via objdump ore some >> similar, like recommended and pack them into the applications working >> directory, because Windows search

Re: on screen keyboard error with gtk_main_do_event

2017-03-18 Thread Rúben Rodrigues
Someone could help me? Thanks On 16-03-2017 16:54, Ruben ROdrigues wrote: > HI guys, > > I have a on-screen keyboard that was made for gtk2. Now in gtk3 i get > this errors: > > Gdk-CRITICAL **: gdk_window_get_user_data: assertion 'GDK_IS_WINDOW > (window)' failed > > Gdk-CRITICAL **: gdk_wind

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 07:37 AM, Dirk Gottschalk via gtk-app-devel-list wrote: > The only chance is, to grab the DLLs from MinGW via objdump ore some > similar, like recommended and pack them into the applications working > directory, because Windows searches DLLs in its System, System32 > subfolders and in

Re: Cross platform development

2017-03-18 Thread Dirk Gottschalk via gtk-app-devel-list
Hi Florian, Am Samstag, den 18.03.2017, 11:42 +0100 schrieb pelzflorian (Florian Pelz): > Note that if your application is not libre software (it should be, > please make it libre!), then static linking means you need to provide > your application’s source code or compiled object files upon user

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 11:25 AM, Lucas Levrel via gtk-app-devel-list wrote: > Le 17 mars 2017, à 23:02, Dirk Gottschalk via gtk-app-devel-list a écrit : > >> I'm developing a multi platform application with GTK+ for Windows and >> Linux. >> >> >> IIRC is GTK+ and it's dependencies not linkable statically,

Re: Cross platform development

2017-03-18 Thread Lucas Levrel via gtk-app-devel-list
Le 17 mars 2017, à 23:02, Dirk Gottschalk via gtk-app-devel-list a écrit : I'm developing a multi platform application with GTK+ for Windows and Linux. IIRC is GTK+ and it's dependencies not linkable statically, which i would prefer. Yes, they are! I use this http://mxe.cc/ for my GTK2 app,

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 08:07 AM, pelzflorian (Florian Pelz) wrote: > gedit deploys msys2 but removes a bunch of files it does not need. This > way, the binary will end up in a bin/ directory though. Of course you > can make a link or a bat script for launching it in the main directory. > > https://git.gnom

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 04:07 AM, Michael Torrie wrote: > I think some programs stick their binary and libraries in a bin folder, > and GTK can still find it's files. It's more typical for windows apps > to put the EXE in the toplevel folder though. > gedit deploys msys2 but removes a bunch of files it do