User forums > Using Code::Blocks

Code::Blocks settings

(1/2) > >>

I'm using wxWidgets 3.1.5 on both Win X and Linux Mint. 

What do I need to set so that C::B uses this version instead of 3.0.4, which I assume is installed with C::B to be the default wxWidgets?

Usually C::B does not come with wxWidgets

It depends on the settings in your Project -> Build options
Note Search directories -> Compiler and Search directories -> Linker

There are several ways to do it, but if you have a working setup with 3.0.4 it should be visible there.

I am assuming you are trying to use wxWidgets and not build C::B. If this is wrong then you need to give more info on what you are trying to do.

The following GITHUB repo has a nice doc on using wxWidgets with C::B

@cacb - I need to be able to set C::B to use wxWidgets-3.1.5 instead of 3.0.4. 

I'm not sure if 3.0.4 was installed with the Mint installation or with C::B.  But it really doesn't matter, because I have 3.1.4 and 3.1.5 installed too.  And CLion goes straight for 3.1.5, so I know C::B can too.  I just don't know how/where, in the C::B IDE, to make that happen. 

C::B is built against a particular version of wxWidgets and unless you build C::B from source it will use the version is was compiled to use and you cannot change this. The install package(s) or process that you used included the dependent wxWidget version.


[0] Message Index

[#] Next page

Go to full version