User forums > Using Code::Blocks

Code::Blocks settings

(1/2) > >>

fmc0501:
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?

cacb:
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.

AndrewCot:
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
    https://github.com/PBfordev/wxpbguide

fmc0501:
@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. 

AndrewCot:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version