User forums > General (but related to Code::Blocks)
WxWidgets Latest 3.02 Won't Build
stahta01:
--- Quote from: chrismac on April 18, 2016, 03:07:37 am ---Newbie alert - when discussing WxWidgets compiling. I'm only using MSYS to ./configure the WxWidgets files as I don't know of a way to configure using Windows command console, (and aren't skilled in configure in general). I wasn't aware that "instead of using the MSys2 wxWidgets package" was an option or the details of how to employ it to get CB working with WxWidgets libs. Thanks for the tip.
--- End quote ---
FYI: The two common ways to build wxWidgets is configure/make or use pre-created makefiles for under windows.
The pre-created makefiles do NOT need the configure command ran.
Note: I have used both pre-created makefiles method and the prebuilt MSys2 wxWidgets package method.
The tradeoffs are NOT clear to me.
To get help on this forum the best way is build wxWidgets using pre-created makefiles.
To use the CB wxWidgets [Wizard] the only current way is using pre-created makefiles.
Edit: Added the word Wizard.
But, I like the idea of MSys2; so, I am trying to get CB to work using prebuilt MSys2 wxWidgets package method.
The only thing I know to be broke is the CB wxWidgets wizard.
Tim S.
chrismac:
Yup use of Msys2 would be nice, but I only need basic wxWidgets functionality so could get by with --
"FYI: The two common ways to build wxWidgets is configure/make or use pre-created makefiles for under windows.
The pre-created makefiles do NOT need the configure command ran."
If only I could get it to work. Is there a secret to getting a wxWidgets compatible version, using the Docs recommended command line --
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-fno-keep-inline-dllexport
It halts with treectrl.cpp errors, though that file is found ok in it's directory. Seems to be broken, eyt is the recommended package.
Has someone got the recommended wxWidgets build 2.8.12 to work with CB using the recommended Windows console command line (without configure'g first) ?
chrismac:
Thanks for the thought ollydbg, I've managed to compile wxWidgets v 3.1.0 using MinGW32 v 5.3.0 as suggested --
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-fno-keep-inline-dllexport
Now just to see if CB wxSmith will work with the libs .
Navigation
[0] Message Index
[*] Previous page
Go to full version