User forums > Using Code::Blocks
wxWidgets 2.8.12 Compile Error
Miguel Gimenez:
The CodeBlocks.cbp project uses wx2.8.12.
If you want to compile C::B with wx3.1.x you must use CodeBlocks_31.cbp or CodeBlocks_31_64.cbp (or the matching workspaces if you want the plugins).
The simplest option is compiling C::B with the same wxWidgets version you will use for your programs.
Beware if using wx3.1.2, you will get crashes with Code Completion if you don't patch wxWidgets.
BlueHazzard:
--- Quote ---with my 2 patches that rot on the issue tracker
--- End quote ---
Sry, can you point to this patches?
sodev:
To compile without unsafe string conversions enabled (plus possible crash fix): https://sourceforge.net/p/codeblocks/tickets/687/
To compile without wx 3.0 compatibility enabled (or always in newer revisions, can't remember): https://sourceforge.net/p/codeblocks/tickets/704/
BlueHazzard:
--- Quote from: sodev on May 15, 2019, 08:36:31 pm ---To compile without unsafe string conversions enabled (plus possible crash fix): https://sourceforge.net/p/codeblocks/tickets/687/
To compile without wx 3.0 compatibility enabled (or always in newer revisions, can't remember): https://sourceforge.net/p/codeblocks/tickets/704/
--- End quote ---
Thank you... Will look into them as soon as my new compiler setup is ready
Navigation
[0] Message Index
[*] Previous page
Go to full version