User forums > Help
How to compile CodeBlocks with wxWidgets 3.1.3
(1/1)
Pecan:
How do you compile wxWidgets 3.1.3 and CodeBlocks source for Linux.
On Linux Mint 19.2 I have compiled wxWidgets 3.1.3 with the following script.
./configure --prefix=/opt/wx/3.1.3 \
--enable-xrc \
--enable-monolithic \
--enable-shared \
--enable-unicode
How do I now compile CodeBlocks source with the the resulting wxWidgets?
sodev:
I don't know if CodeBlocks can use the monolithic library out-of-the-box or how to make it use it, so far i was always using the individual libraries because that is how the systems i used provided wxWidgets, but basically you have to supply the path of the wx-config script to the configure script of CodeBlocks. With your setup this would be something like this:
--- Code: ---./configure --with-wx-config=/opt/wx/3.1.3/bin/wx-config
--- End code ---
Navigation
[0] Message Index
Go to full version