need compiled mingw-w64 wxwidgets

This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
Post Reply
jmichae3
In need of some credit
In need of some credit
Posts: 7
Joined: Sun May 27, 2012 11:36 am

need compiled mingw-w64 wxwidgets

Post by jmichae3 » Mon May 28, 2012 10:27 am

I can't for the life of me get MSYS to work with mingw-w64 - the *nix-ified development environment. it's pretty raw, and I am not up to the task of configuring *nix compilers ported to windows when it's not canned.
so, I need a pre-compiled auto 64-bit and 32-bit windows build of wxwidgets, or to at least know where I can find it if someone has successfully compiled it. I need a precompiled GUI toolkit that works with mingw-w64.

User avatar
doublemax
Moderator
Moderator
Posts: 14874
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: need compiled mingw-w64 wxwidgets

Post by doublemax » Mon May 28, 2012 10:59 am

I'm not a friend of precompiled binaries like wxPack, sooner or later you will run into a dead end and then you'll have no idea whatsoever how to fix it. I think building the wxWIdgets libraries and then the "minimal" sample on your machine should always be the first steps when starting with wxWidgets.

I can't help with mingw as i only use Visual Studio, but maybe this helps:
http://wxwidgets.blogspot.de/2011/06/ch ... dgets.html
Use the source, Luke!

User avatar
xaviou
Super wx Problem Solver
Super wx Problem Solver
Posts: 429
Joined: Mon Aug 21, 2006 3:18 pm
Location: Annecy - France
Contact:

Re: need compiled mingw-w64 wxwidgets

Post by xaviou » Tue May 29, 2012 7:33 am

Hi

As you are asking for both 32 and 64 bits binaries, I think you are searching for wx-2.9.3.

You'll find them on this page (libs for gcc where build with MinGW-4.5.2-TDM).
As it is a french page, I tried the automatic translation with google translate, and it seems to be "not so bad", but if you need more informations, feel free to ask for.

Regards

Xav'
My wxWidgets stuff web page : [email protected]'s wxStuff

jmichae3
In need of some credit
In need of some credit
Posts: 7
Joined: Sun May 27, 2012 11:36 am

Re: need compiled mingw-w64 wxwidgets

Post by jmichae3 » Wed May 30, 2012 5:54 am

I have no clue how to actually build it. if I did, I would have built it by now. help would be appreciated. I don't mind letting my machine grind for an evening or overnight.
as I said it's not mingw, but mingw-w64, those are two different compilers. I am not using cygwin.

User avatar
xaviou
Super wx Problem Solver
Super wx Problem Solver
Posts: 429
Joined: Mon Aug 21, 2006 3:18 pm
Location: Annecy - France
Contact:

Re: need compiled mingw-w64 wxwidgets

Post by xaviou » Wed May 30, 2012 10:56 am

jmichae3 wrote:As I said it's not mingw, but mingw-w64, those are two different compilers. I am not using cygwin.
Of course, the 64 bits version was build with MinGW-64-TDM.

If you want to try you own build, here is the command-line I used :

Code: Select all

mingw32-make.exe -f makefile.gcc CFG=64 CPP="gcc -E -D_M_AMD64" DEBUG_FLAG=0 BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=0 USE_WEBVIEW=1
And I think, for building the 32 bits version with the 64 bits compiler, you can try :

Code: Select all

mingw32-make.exe -f makefile.gcc CFG=32 CPP="gcc -E -D_M_X86" DEBUG_FLAG=0 BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=0 USE_WEBVIEW=1
The "CFG" parameter will allow you to have 2 differents folders for the 32 and 64 libs.

Regards
Xav'
My wxWidgets stuff web page : [email protected]'s wxStuff

jmichae3
In need of some credit
In need of some credit
Posts: 7
Joined: Sun May 27, 2012 11:36 am

Re: need compiled mingw-w64 wxwidgets

Post by jmichae3 » Thu May 31, 2012 1:27 am

doesn't work, command doesn't exist. I even tried make, but this only throws me into a cmd shell.
if do exit about 20 times,I can exit back into BASH.

User avatar
xaviou
Super wx Problem Solver
Super wx Problem Solver
Posts: 429
Joined: Mon Aug 21, 2006 3:18 pm
Location: Annecy - France
Contact:

Re: need compiled mingw-w64 wxwidgets

Post by xaviou » Thu May 31, 2012 6:02 am

Well, to be sure, I have to be more precise :
You must first open a "Ms-Dos like" window
You have to go into the "build" sub-folder of your wxWidgets's install

If the "mingw32-make.exe" command isn't recognized try to see in the "bin" sub-folder of your MinGW install (perhaps it is a "MinGW-TDM" only command).

If think you'll also have to add the "-m32" or "-m64" option to the compiler and linker options.
Try to add this to the CPP and to the LD command line parameters.

Regards.

Xav'
My wxWidgets stuff web page : [email protected]'s wxStuff

User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2292
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania
Contact:

Re: need compiled mingw-w64 wxwidgets

Post by evstevemd » Mon Jun 25, 2012 8:47 pm

Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 19.04/Windows 10 Pro/MacOS 10.13 - GCC/MinGW/Clang, CodeLite IDE]

Post Reply