User forums > Using Code::Blocks

undefined reference to `wxCriticalSection::Enter()' when debug compiling

<< < (3/3)

stahta01:
Last time I built wxWidgets 3.0.x using MinGW TDM 4.9.2 I used these extra options


--- Code: ---CXXFLAGS="-std=gnu++11 -Wno-unused-local-typedefs"

--- End code ---

The "-std=gnu++11" was needed to avoid an error; not sure why this was needed to avoid an error any more.
The "-Wno-unused-local-typedefs" was used to reduce the warnings to a lower number; so, I could see real issues.

Tim S.

Jenna:
Why do you need a debug version of wxWidgets (or boost) ?
It's not needed to debug your application.
It's only needed if you really need to dig into wxWidgets code.

Navigation

[0] Message Index

[*] Previous page

Go to full version