User forums > General (but related to Code::Blocks)
F30: update to nightly from Jen's fails on dependency
sodev:
Not anymore, at least not on Windows. I'm building CB against some recent wxWidgets master with all compatibility disabled (requires only some small changes to CB) and it's working without any issues (minus the cut off autocompletion popups in Direct2D mode). My Linux build uses some older wxWidgets 3.1, didn't find any CB issues there as well but i did only a quick test on that system.
AZ:
--- Quote from: sodev on November 22, 2019, 07:16:27 pm ---Not anymore, at least not on Windows. I'm building CB against some recent wxWidgets master with all compatibility disabled (requires only some small changes to CB) and it's working without any issues (minus the cut off autocompletion popups in Direct2D mode). My Linux build uses some older wxWidgets 3.1, didn't find any CB issues there as well but i did only a quick test on that system.
--- End quote ---
I'm on Fedora 30. the 2.8 is not available as rpm anymore. Do you have the rpm you can share, please?
Or, perhaps, your notes on config changes for the compilation.
sodev:
My Linux is CentOS 7, that won't help you much plus i didn't build any RPM's. This one does also only ship wx 3.0.4 and its build has all compatibility enabled, CB can be build against this out-of-the-box. I have some weak memory about CB having some issues with that wx version, there was a patch made for wx but i don't know if it was backported to 3.0.4 by the wx folks or the fedora team. Building CB against that system package basically boils down to:
--- Code: ---./bootstrap
./configure --with-contrib-plugins=all,-NassiShneiderman
--- End code ---
I disable NassiShneiderman because i don't have a system boost library available, you might need to specify the lib directory if the wrong one gets chosen (lib vs. lib64).
Building a more recent wxWidgets version yourself is also not that difficult (at least a local version, don't know how easy it is to make a RPM, never did that, maybe you can download the source RPM and use its SPEC file on a git checkout of wx), the tricky part is to figure out the required packages. Basically i ran ./configure until it didn't complain about missing stuff or disabling elements because of missing stuff.
To build CB against a recent wx with all compatibility disabled you need these two patches: https://sourceforge.net/p/codeblocks/tickets/687, https://sourceforge.net/p/codeblocks/tickets/704
AZ:
Sodev,
thank you very much for the information. building nightly from the source was pleasantly uneventful and only 2 beers long.
with RPM I ran into trouble. Most likely because I haven't done any hands-on work for .. 8 years now. I'll share the results once i complete the work.
Thank you for the help.
oBFusCATed:
make dist and then rpmbuild -ba codeblocks*.tar.bz2 should do the work for creating the rpms. You should have the rpmbuild environment setup before running the last command.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version