User forums > Using Code::Blocks

Code::Blocks settings

<< < (2/2)

cacb:

--- Quote from: AndrewCot on November 19, 2021, 02:55:46 am ---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.

--- End quote ---

I think this is a potentially misleading statement. I am mostly a Code::Blocks user, developing applications using wxWidgets. I only rarely do work relating to changing Code::Blocks itself. So I think the answer depends on whether the OP wants to modify C::B itself or simply use it for application development.

On windows I use the pre-built Nightly Builds and there is no problem configuring C::B build system to use a different version of wxWidgets. In fact I do this 100% of the time since I use the MSVC compiler so my wxWdgets libraries are also built using MSVC.

On Linux I normally build C::B from source using the distro (ubuntu) packages for wxWidgets. I still configure C::B build system to use my own self-built version of wxWidgets and use that for application development, without issues.

fmc0501:
Hey cacb.

I want to load and use my compiled wxWidgets-3.1.5 with Code::Blocks 20.03.  Isn't there a way to point C::B to that wxWidgets installation and use it instead of the 3.0.4 version?  If not, I'm cool.  I'm getting by with what I have.  But if you know what switches to throw, I'd really like to know, too.

Thanks.

sodev:
You are turning in circles here, you still didn't answer clearly what are you actually trying to do! So to get this finally straight, what do you want to do?


* Compile Code::Blocks 20.03 with wxWidgets 3.1.5
* Compile something else with wxWidgets 3.1.5

fmc0501:
Let's try this, in hopes of breaking out of the circle:

I want wxWidgets-3.1.5 to be the default widget set for CB.  This particular Gui toolkit is compiled and being used by CLion.  So, in my circular way of thinking, if CLion can use it, then there must be a way for CB to use it as well.  And that's all I'm asking for.  If it can't be done, then I'll stick with version 3.0.4.

cacb:
Apparently, you are unable to understand the replies here, so it is nearly impossible to provide you with any help.

You have not answered sodev's basic and important questions. Since you didn't we are left to make a guess that you simply want to use a pre-built version of C::B with wxWidgets 3.1.5. If that is so I already answered yesterday here. What is it that you don't understand about the reply?

Navigation

[0] Message Index

[*] Previous page

Go to full version