Re: argv revisited

2016-05-09 Thread Nicola Fontana
Il Mon, 9 May 2016 09:35:06 -0500 Edscott Wilson scrisse: > ... > Many thanks to all those who have responded. With all the advice I'm now > going to try cross compiling 64 bit GTK application for windows using all > the tools available in ArchLinux and the AUR (which is quite a lot). Only > if

Re: argv revisited

2016-05-09 Thread Edscott Wilson
2016-05-08 13:41 GMT-05:00 tito-wolit : > If you don't like the advice being given by the experts on this list > why you are still hanging around here? > > Because he's a troll who gets a dopamine hit when someone answers. But I must admit that he is polite and entertaining --although a bit child

Re: Re[2]: argv revisited

2016-05-08 Thread Daniel Kasak
On Mon, May 9, 2016 at 2:24 AM, Andrew Robinson wrote: > Because you are entertaining. Ditto. In fact every single one of your posts has had multiple dummy spits. Your particular balance of begging for more help vs pouring scorn on those who try to help is unique. Where else do you post? I must

Re: argv revisited

2016-05-08 Thread tito-wolit
On 05/08/2016 05:45 PM, Andrew Robinson wrote: Like most people in this forum, you don't listen: My issue isn't with GTK2, it is with GTK3. I know Fedora has precompiled GTK2 binaries but doesn't help me with GTK3. My original issue is clearly stated as using the following environme

Re: argv revisited

2016-05-08 Thread tito-wolit
On 05/08/2016 05:45 PM, Andrew Robinson wrote: Like most people in this forum, you don't listen: My issue isn't with GTK2, it is with GTK3. I know Fedora has precompiled GTK2 binaries but doesn't help me with GTK3. My original issue is clearly stated as using the following environme

Re: argv revisited

2016-05-08 Thread Chris Moller
Welcome to my Trash folder; you'll be directed there by the filter I just put in place. Watch out for the falling banana peels. On 05/08/16 12:24, Andrew Robinson wrote: Because you are entertaining. On 5/8/2016 at 9:09 AM, Chris Moller wrote: If you don't like the people on this forum, and

Re[2]: argv revisited

2016-05-08 Thread Andrew Robinson
Because you are entertaining. On 5/8/2016 at 9:09 AM, Chris Moller wrote: >If you don't like the people on this forum, and you don't like the >answers you've gotten, why are you still here? > > >On 05/08/16 11:45, Andrew Robinson wrote: >> Like most people in this forum, you don't listen: >> >>

Re: argv revisited

2016-05-08 Thread Chris Moller
If you don't like the people on this forum, and you don't like the answers you've gotten, why are you still here? On 05/08/16 11:45, Andrew Robinson wrote: Like most people in this forum, you don't listen: My issue isn't with GTK2, it is with GTK3. I know Fedora has precompiled GTK2

Re[6]: argv revisited

2016-05-08 Thread Andrew Robinson
Like most people in this forum, you don't listen: My issue isn't with GTK2, it is with GTK3. I know Fedora has precompiled GTK2 binaries but doesn't help me with GTK3. My original issue is clearly stated as using the following environment: 32-bit version of GTK+ v3.18 on a 64-bit Win

Re[5]: argv revisited

2016-05-08 Thread Lucas Levrel
(Approximate repost of a message I sent with a wrong From address; looks like the mods haven't delivered nor rejected it, hence the repost, but I don't have the original message so this will break the thread. Sorry for that.) Andrew Robinson: So is that how to actually get help on the GTK Dev

Re: Compiling for Windows [Was: argv revisited]

2016-05-06 Thread tito-wolit
On 05/06/2016 09:27 PM, Andrew Robinson wrote: I'm sorry for that. One of my biggest flaws in human relations is detecting when someone is being ironic, sarcastic, or is just joking around, and when they are being serious. I would think both list would be interested in knowing what is required

Re[5]: Compiling for Windows [Was: argv revisited]

2016-05-06 Thread Andrew Robinson
I'm sorry for that. One of my biggest flaws in human relations is detecting when someone is being ironic, sarcastic, or is just joking around, and when they are being serious. I would think both list would be interested in knowing what is required of their projects by the lawyers at GTK. This is a

Re: Compiling for Windows [Was: argv revisited]

2016-05-06 Thread Florian Pelz
On 05/06/2016 07:01 PM, Lucas Levrel wrote: > Le 5 mai 2016, Andrew Robinson a écrit : >> 1) Because there are between 40 to 120Mb worth of libraries or their >> dependencies I would have to post on my website. > > It's not clear to me whether one has to distribute GTK if it's linked > statically,

Re[4]: Compiling for Windows [Was: argv revisited]

2016-05-06 Thread Lucas Levrel
OK. I understand your mileage is very different from mine. Remember, I'm just a GTK user (this is GTK *app devel* list, not GTK devel list). Just a few remarks before I answer your other mail: Le 5 mai 2016, Andrew Robinson a écrit : 1) Because there are between 40 to 120Mb worth of libraries

Re[6]: argv revisited

2016-05-05 Thread Andrew Robinson
Thank you Allin for your wonderful and knowledgeable technical advice, everything is working now as it should. You are the best. Just ask me anytime to be a reference for you, and I will do my best, just as you have done for me. On 5/5/2016 at 12:58 PM, Allin Cottrell wrote: >On Thu, 5 May 2016,

Re[2]: Re[4]: Compiling for Windows [Was: argv revisited]

2016-05-05 Thread Andrew Robinson
That's weird! I've never heard of a Linux distribution that also has precompiled packages for Win32. I will check it out at my earliest convenience. You mentioned GTK2, but I am hoping it also has (or has switched over to) GTK3. I hope this isn't too good to be true. I will be too busy to check fo

Re[5]: argv revisited

2016-05-05 Thread Allin Cottrell
On Thu, 5 May 2016, Andrew Robinson wrote: So is that how to actually get help on the GTK Dev forums? Beg for help? (This in response to Lucas Levrel's suggesting a "please" following the imperative "show me your source code.") LL was merely requesting a little civility. In many years of re

Re[5]: argv revisited

2016-05-05 Thread Andrew Robinson
So is that how to actually get help on the GTK Dev forums? Beg for help? I thought posting a problem would be enough, but okay then ... pretty please help me ... Your source code doesn't work, so let's compare environments. I have: 1) Windows7 2) Win32 version of GTK+, version 3.18 3) The pathnam

Re: Re[4]: Compiling for Windows [Was: argv revisited]

2016-05-05 Thread Dov Grobgeld
Note that if you are using fedora (and possibly other Linux distributions) it comes with lots of win32 packages precompiled. E.g. all you need to do to get gtk2 and its dependencies is to do: dnf install mingw32-gtk2 You can then compile your gtk programs for windows through cross compilation

Re[4]: Compiling for Windows [Was: argv revisited]

2016-05-05 Thread Andrew Robinson
On 5/5/2016 at 10:23 AM, Lucas Levrel wrote: >Le 5 mai 2016, Andrew Robinson a écrit : > >> So if I don't want to make my on copy of the GTK+ libraries, > >Why wouldn't you want to build your static libs for future inclusion in >your software? Where "build" is for "let the Makefile of MXE do all

Re[3]: Compiling for Windows [Was: argv revisited]

2016-05-05 Thread Lucas Levrel
Le 5 mai 2016, Andrew Robinson a écrit : Actually, MXE isn't a compiler, but a Makefile that compiles a cross compiler. OK. So if I don't want to make my on copy of the GTK+ libraries, Why wouldn't you want to build your static libs for future inclusion in your software? Where "build" is

Re[4]: argv revisited

2016-05-05 Thread Lucas Levrel
Le 5 mai 2016, Andrew Robinson a écrit : I've just tested a filename containing spaces and U+221E (infinity symbol), writing and reading both work. So you verified that in Windows using the Win32 version of GTK+? Show me your source code. "Please." Cross-compiled on Linux with i686-pc-mingw32

Re[4]: argv revisited

2016-05-05 Thread Andrew Robinson
So you verified that in Windows using the Win32 version of GTK+? Show me your source code. On 5/5/2016 at 3:57 AM, Lucas Levrel wrote: >Le 3 mai 2016, Andrew Robinson a écrit : > >>> I don't think I tried filenames with spaces, but I did test filenames with >>> accented letters in both Linux and

Re[3]: Compiling for Windows [Was: argv revisited]

2016-05-05 Thread Andrew Robinson
Actually, MXE isn't a compiler, but a Makefile that compiles a cross compiler. So if I don't want to make my on copy of the GTK+ libraries, I must tell grandma and grandpa to get their own copy of MSYS2 and MXE, and provide make their own copy of GTK+ for Win32. Wouldn't that be easy and fun? On

Re[3]: argv revisited

2016-05-05 Thread Lucas Levrel
Le 3 mai 2016, Andrew Robinson a écrit : I don't think I tried filenames with spaces, but I did test filenames with accented letters in both Linux and Windows, and it worked (using GTK2). E.g. for reading a file contents into one big string I have this: I don't know about accented letters, sin

Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-05 Thread Lucas Levrel
Le 3 mai 2016, Andrew Robinson a écrit : Is it really necessary for every Windows application bundle to ship its own copy of GTK+? By default MXE links statically. So you don't have any dll to bundle with your app. In such circumstances, what does LGPL say? Do you still have to provide the GT

Re: Compiling for Windows [Was: argv revisited]

2016-05-04 Thread Matthew A. Postiff
Try this package: $ pacman -Ss mingw-w64-i686-gtk3 mingw32/mingw-w64-i686-gtk3 3.18.6-1 [installed] GObject-based multi-platform GUI toolkit (v3) (mingw-w64) On 5/4/2016 3:51 PM, Andrew Robinson wrote: > Yeah, I see that, but that only downloads 64-bit binaries. I need the Win-32 > binaries.

Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-04 Thread Andrew Robinson
Yeah, I see that, but that only downloads 64-bit binaries. I need the Win-32 binaries. On 5/4/2016 at 12:20 PM, Florian Pelz wrote: >On 05/04/2016 03:59 PM, Andrew Robinson wrote: >> No, there are no Win32 binaries in MSYS2. Where are you getting your >> information? >> > >MSYS2 contains pacman

Re: Compiling for Windows [Was: argv revisited]

2016-05-04 Thread Florian Pelz
On 05/04/2016 03:59 PM, Andrew Robinson wrote: > No, there are no Win32 binaries in MSYS2. Where are you getting your > information? > MSYS2 contains pacman. `pacman -Syu mingw-w64-x86_64-gtk3` downloads GTK+ binaries for x86_64 and puts them in the C:\msys64\mingw64 directory (by default). This

Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-04 Thread Andrew Robinson
No, there are no Win32 binaries in MSYS2. Where are you getting your information? On 5/4/2016 at 12:29 AM, Florian Pelz wrote: >On 05/04/2016 02:22 AM, Andrew Robinson wrote: >> I have an idea! Why doesn't someone just compile all the binaries for Win32 >> and Win64 and make them available on the

Re[3]: Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-04 Thread Andrew Robinson
On 5/3/2016 at 5:42 PM, Allin Cottrell wrote: >On Tue, 3 May 2016, Andrew Robinson wrote: > >> I have never seen a cross-compiled version of Fedora. Is it related to the >> mythical Chimera? > >Read for comprehension. Fedora is strictly Linux (of course), but >offers a set of packages that enable

Re: Compiling for Windows [Was: argv revisited]

2016-05-04 Thread Florian Pelz
On 05/04/2016 02:22 AM, Andrew Robinson wrote: > I have an idea! Why doesn't someone just compile all the binaries for Win32 > and Win64 and make them available on the Internet, that way none of us will > have to go through all this stupid BS just to get some binaries? Just two > packages, one for

Re[2]: Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Allin Cottrell
On Tue, 3 May 2016, Andrew Robinson wrote: I have never seen a cross-compiled version of Fedora. Is it related to the mythical Chimera? Read for comprehension. Fedora is strictly Linux (of course), but offers a set of packages that enable you to cross-compile with ease for MS Windows. Alli

Re[2]: Re[2]: Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Andrew Robinson
I just found the link to MSVC 2013 on Microsoft's site. Visual Studio is not free, Visual Studio Express or Community is free. It will still require me to uninstall my current version of MSVC in order to run this older version, because different versions of MSVC on the same computer do not play wel

Re: Re[2]: Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Paolo Borelli
On Tue, May 3, 2016 at 11:52 PM, Andrew Robinson wrote: > The website, https://github.com/wingtk/gtk-win32, looks really good at > first > glance, until you read the fine print where it says, "Any version of VS > apart > from 2013 is not supported". What if I don't have VS 2013, what then? You >

Re[2]: Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Andrew Robinson
There are many ways to have good gtk3 binaries for Windows: - if you are using mingw you can fetch updated gtk3 binaries from msys2 (https://github.com/Alexpux/MSYS2-packages) - if you are cross compling Fedora and other distros provide mingw binaries - if you are using MSVC, there are no pre-b

Re: Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Paolo Borelli
On Tue, May 3, 2016 at 9:32 PM, Andrew Robinson wrote: > Been there, done that. The latest version of GTK+ that GNOME has is 2.24, > i.e. > -- there are no 3.x binaries. > > There are many ways to have good gtk3 binaries for Windows: - if you are using mingw you can fetch updated gtk3 binaries f

Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Andrew Robinson
On 5/3/2016 at 11:34 AM, Dov Grobgeld wrote: >Another equivalent scons-based way of compiling for windows with gcc is >shown in my program giv. > >See: https://github.com/dov/giv/blob/master/SConstruct > >SCons uses the Sconstruct files to do the cross-compilation and also calls >out to nsis to cr

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Florian Pelz
On 05/03/2016 08:34 PM, Dov Grobgeld wrote: > The complete gtk run time is only about 20MB in size (at least for gtk2) > which with todays hard disk sizes really is negligable, so I agree that > there is no reason to try to create a common gtk runtime. > > I still remember the frustration back in

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Dov Grobgeld
Another equivalent scons-based way of compiling for windows with gcc is shown in my program giv. See: https://github.com/dov/giv/blob/master/SConstruct SCons uses the Sconstruct files to do the cross-compilation and also calls out to nsis to create a windows installer. The complete gtk run time

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Allin Cottrell
On Tue, 3 May 2016, Dave Howorth wrote: On 2016-05-03 16:57, Florian Pelz wrote: I'd like to have one standard GTK+ installer for the GTK+ DLLs etc. that can be downloaded and installed from other installers, so there is just one GTK+ installed on Windows instead of one copy of perhaps differen

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Florian Pelz
On 05/03/2016 06:12 PM, Dave Howorth wrote: > On 2016-05-03 16:57, Florian Pelz wrote: >> I'd like to have one standard GTK+ installer for the GTK+ DLLs etc. that >> can be downloaded and installed from other installers, so there is just >> one GTK+ installed on Windows instead of one copy of perha

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Dave Howorth
On 2016-05-03 16:57, Florian Pelz wrote: I'd like to have one standard GTK+ installer for the GTK+ DLLs etc. that can be downloaded and installed from other installers, so there is just one GTK+ installed on Windows instead of one copy of perhaps different versions of GTK+ for each application.

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Florian Pelz
On 05/03/2016 03:26 PM, Lucas Levrel wrote: > By default MXE links statically. So you don't have any dll to bundle > with your app. In such circumstances, what does LGPL say? Do you still > have to provide the GTK source code (given that you don't distribute GTK > libs)? > IANAL, but if the libra

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Florian Pelz
On 05/03/2016 04:57 PM, Andrew Robinson wrote: > Well I can't ship MSYS2 and MXE with my application, and I most certainly > can't sell any application to grandma and grandpa, if it requires instructions > on how to install MSYS2 and MXE just so you can run my application. > For MSYS2, you create

Re[2]: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Andrew Robinson
>> Is it really necessary for every Windows application bundle to ship its >> own copy of GTK+? >By default MXE links statically. So you don't have any dll to bundle with >your app. In such circumstances, what does LGPL say? Do you still have to >provide the GTK source code (given that you don't

Re[3]: argv revisited

2016-05-03 Thread Andrew Robinson
>I don't think I tried filenames with spaces, but I did test filenames with >accented letters in both Linux and Windows, and it worked (using GTK2). >E.g. for reading a file contents into one big string I have this: I don't know about accented letters, since they are a part of the Windows versio

Re: Compiling for Windows [Was: argv revisited]

2016-05-03 Thread Lucas Levrel
Le 2 mai 2016, Florian Pelz a écrit : On 05/02/2016 12:36 PM, Lucas Levrel wrote: Then I found MinGW Cross Env, now called MXE (http://mxe.cc/). It compiled my project with no effort at all. This is interesting. May I hijack this thread? I did not know about MXE. What is their relationship w

Re[2]: argv revisited

2016-05-03 Thread Lucas Levrel
Le 2 mai 2016, Andrew Robinson a écrit : I could find functions that worked for the command line, but I couldn't find any that worked for the filechooser, and when I go online and do a search, there are no examples for what I want to do. The GNOME forum answered my UNICODE question for the comma

Re[2]: argv revisited

2016-05-02 Thread Andrew Robinson
>Your problem about using UTF16 is related to the fact you are using >windows os and not linux or unix or macos x. All the others use utf-8 >EXCEPT WINDOWS. Isn't that what I was saying? It is horrid that Microsoft uses UTF-16 because, just like their software, it bloats everything to twice the s

Re: argv revisited

2016-05-02 Thread David Marceau
On 04/30/2016 11:25 PM, Andrew Robinson wrote: > My initial request for help in this forum was that main(argc,argv) only > returned garbage instead of the command line when using the 32-bit version of > GTK+ v3.18 on a 64-bit Windows7 OS. This forum was unable to offer any expert > help or advice o

Re: Compiling for Windows [Was: argv revisited]

2016-05-02 Thread Andrew Robinson
Thank you Lucas, for submitting this post. MXE seems very interesting and I feel compelled to do some more research into it. On 5/2/2016 at 3:36 AM, Lucas Levrel wrote: >(copy to OP in case he's already unsubscribed, apologies for duplication >if he's not) > >Le 30 avril 2016, Andrew Robinson a

Re: Compiling for Windows [Was: argv revisited]

2016-05-02 Thread Florian Pelz
On 05/02/2016 12:36 PM, Lucas Levrel wrote: > […] > > I'm not an expert programmer and when I wanted to compile for Windows > the software I developped in Linux, I couldn't achieve a satisfactory > result (using the -mwin32 or -mwindows flag gave either a clumsy > additional command window, or yie

Compiling for Windows [Was: argv revisited]

2016-05-02 Thread Lucas Levrel
(copy to OP in case he's already unsubscribed, apologies for duplication if he's not) Le 30 avril 2016, Andrew Robinson a écrit : Now my new problem I had was either locating a Win32 version of GTK+ greater than v3.18 or locating a version of libglib.dll greater than v2.40. It isn't going to ha

argv revisited

2016-04-30 Thread Andrew Robinson
My initial request for help in this forum was that main(argc,argv) only returned garbage instead of the command line when using the 32-bit version of GTK+ v3.18 on a 64-bit Windows7 OS. This forum was unable to offer any expert help or advice on this matter so I put it aside. A few days later I tho