When i try to chose wx 3.0 in project wizard and try to compile , then codeblocks still using wx 2.8 instead of 3.0 .. is there any way how i can change wx libary path ?
Thanks much for help .
Hi,
One way to achieve this is using wx-config for compiler and linker settings in `backticks` mode (note the special quotes!!)
For example, from my settings:
Compiler options: `wx-config --version=3.0 --toolkit=gtk2 --cxxflags`
Linker options: `wx-config --version=3.0 --toolkit=gtk2 --libs std,aui --static`
It is possible to combine this with global variables so you can build against wx2.8 or wx3.0 with exacly the same projects nand sources. All you have to do is switch to another another set of global variables in Code::Blocks. I have done this so I can build my projects against both (some source code fixing required). It is nice to have this as a possibility as you try to determine whether wx3.0 is mature enough for production use (mostly it is IMHO, but some things do cause issues).
More details here
http://forums.codeblocks.org/index.php/topic,18650.0.html