Author Topic: wxWidgets 2.8.12 Compile Error  (Read 8484 times)

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1629
Re: wxWidgets 2.8.12 Compile Error
« Reply #15 on: May 14, 2019, 08:29:13 am »
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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: wxWidgets 2.8.12 Compile Error
« Reply #16 on: May 15, 2019, 05:49:13 pm »
Quote
with my 2 patches that rot on the issue tracker
Sry, can you point to this patches?

Offline sodev

  • Lives here!
  • ****
  • Posts: 500
Re: wxWidgets 2.8.12 Compile Error
« Reply #17 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/

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: wxWidgets 2.8.12 Compile Error
« Reply #18 on: May 16, 2019, 08:44:42 am »
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/
Thank you... Will look into them as soon as my new compiler setup is ready