User forums > Help

Is it humanly possible to install wxWidgets 3.0.2 for code::blocks???

<< < (3/4) > >>

Miguel Gimenez:
Activate c++11 mode using CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11"

stephanisk:
Thanks a lot,

That seems to have done the trick... BUT....

now it doesnt work in codeblocks itself, so this is the fatal error i get. Hope someone knows what exactly is going on.

I have tried all possible setups after clicking new project -> wxWidgets

But i get the same fatal error, cause the compilation works without errors, but i can not execute

Miguel Gimenez:
You must use the same tool chain for compiling wxWidgets and your program, edit Compiler settings -> Toolchain executables so they match.

stephanisk:
ok. Understand what you say, but not really understanding what you are saying. Could you elaborate a little on your explanation?? Thanks

Jenna:
Make sure your project uses the same compiler you used to build wxWidgets and most likely you also need to set the "-std=gnu++11"-flag.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version