User forums > Using Code::Blocks
wxWidgets 2.8.12 Compile Error
BlueHazzard:
I compiled wxWidgets endless times on windows and never had a message like this...
Do you have a mix of compilers in your PATH? PATH hygiene is very difficult today, because every compiler puts itself into it...
I for myself remove all compiler paths and add them manualy per cmd if i need to compile something...
spflanze:
--- Quote from: stahta01 on May 04, 2019, 05:46:03 am ---http://forums.codeblocks.org/index.php/topic,3299.0.html
--- End quote ---
I downloaded mingw-w64-install.exe from:
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download
This installation file gives me several options for Version, Architecture, Threads, Exception, and Build revison.
For Version I set the latest version I saw on the page you provided the link for, which is 8.1.0.
For Architecture I set x86_64 because I desire to build a 64 bit Code::Blocks.
Build revision gives me only one choice, which is 0, so that is an easy choice.
I do not know what to choose in the Threads, and Exception, selection boxes. Should these be left at default?
The choices for Threads are posix, and win32. The default is posix.
The choices for Exception is seh, and sjlj. The default is seh.
My OS is a 64 Bit Windows 7.
stahta01:
64 bit normally uses seh for Exception so that is correct; no idea on threading which answer is best for building C::B or wxWidgets.
Tim S.
spflanze:
I proceeded to install with the default options. After the current version of the dlls were copied to the same directory the codeblocks.exe was in, as instructed here:
http://forums.codeblocks.org/index.php?topic=3232.0
I got svn build rev 11628 released on 2019-04-16 working.
I downloaded the version codeblocks-code-r11687-trunk version from svn. In the Code::Blocks File dialog I went to that version's src directory and found these project files:
--- Code: ---CodeBlocks.cbp
CodeBlocks_wx30.cbp
CodeBlocks_wx30_64.cbp
CodeBlocks_wx30-unix.cbp
CodeBlocks_wx31.cbp
CodeBlocks_wx31_64.cbp
CodeBlocks-unix.cbp
--- End code ---
and their associated workspaces of similar names.
I have 64 bit Windows 7, and I want to develop applications using wxWidgets 3.1.2. So that narrows the choices to:
--- Code: ---CodeBlocks.cbp
CodeBlocks_wx31_64.cbp
--- End code ---
My initial inclination is to use CodeBlocks_wx31_64.cbp. But what is CodeBlocks.cbp there for?
sodev:
These workspaces and project files are for building CodeBlocks itself and dont limit you what applications you can build with CodeBlocks (except the issues with the debugger which requires a matching architecture).
Luckily these days CodeBlocks works stable with wxWidgets 3.1.x (with my 2 patches that rot on the issue tracker even with all compatibility options disabled) so pick one of these. The untagged variant should be the wxWidgets 2.8 variant.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version