User forums > Using Code::Blocks

Using CB with wxWidgets 3.1.2 - Anyone having problems?

<< < (2/2)

sodev:
AFAIK auto linking is not possible with GCC but only MSVC and the change is that recent versions do require uxtheme while older ones could work without.

To suffer from this problem you need GCC, Windows, a recent wxWidgets and a project that doesnt link uxtheme :D

BlueHazzard:

--- Quote ---To suffer from this problem you need GCC, Windows, a recent wxWidgets and a project that doesnt link uxtheme :D
--- End quote ---
All here:
wxWidgets 3.1.2 gcc8 monolithic or not, shared or static, tried all configurations but i do not get this linker error... Windows 7... Does this only happen on windows 10?

Miguel Gimenez:
It happens from wx3.1.0. Library liboleacc is also needed for the wizard-generated wxWidgets project.

https://github.com/wxWidgets/wxWidgets/blob/master/docs/changes.txt


--- Quote ---wxMSW now requires linking with uxtheme.lib, shlwapi.lib and version.lib.
  This is done automatically in most cases, but if you use a static build of
  the library with a non-MSVC compiler such as MinGW and do not use wx-config,
  then you will need to add these libraries to your make or project files
yourself.

--- End quote ---

BlueHazzard:
Ok, can now reproduce.

i have committed the patch from the ticket in version [r11560]

thank you all for your help!

Navigation

[0] Message Index

[*] Previous page

Go to full version