News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Linux C::B Nightly build installation

Started by Taras, August 02, 2023, 06:26:19 PM

Previous topic - Next topic

Taras

I wanted to install the nightly build on Ubuntu 22.04 following the instructions by Xaviou (https://wxstuff.xaviou.fr/article/debian-repository.html).
I uninstalled/purged the official codeblocks app. But when I try to install the nightly build from the command line (sudo apt install codeblocks) I receive bunch of errors. I presume I had missed installing some dependencies. But I can't get no clue how to resolve them.

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
codeblocks : Depends: libcodeblocks0 (= 20.03svn13320) but it is not going to be installed
              Depends: libwxbase3.2-1 (>= 3.2.2+dfsg) but it is not installable
              Depends: libwxgtk3.2-1 (>= 3.2.1+dfsg-2) but it is not installable
E: Unable to correct problems, you have held broken packages.


cacb

Under Kubuntu 22.04, I use this script to build the latest version of Code::Blocks
https://github.com/arnholm/cpde_3rdparty/blob/master/gcc/codeblocks/build_cb.sh

With a couple of minor path edits it might work for you.

sodev

That codeblocks package depends on libwxgtk3.2-1, this is only available since Ubuntu 23.04.

Taras

Quote from: cacb on August 02, 2023, 06:43:57 PM
Under Kubuntu 22.04, I use this script to build the latest version of Code::Blocks
https://github.com/arnholm/cpde_3rdparty/blob/master/gcc/codeblocks/build_cb.sh

With a couple of minor path edits it might work for you.

Cacb, just specified the path to my local wxconfig 3.2.2 an  the script builded  the latest codeblocks with Version: svn-r13320,  SDK Version : 2.24.0.  Works like a charm

cacb

Quote from: Taras on August 03, 2023, 11:41:15 AM
Cacb, just specified the path to my local wxconfig 3.2.2 an  the script builded  the latest codeblocks with Version: svn-r13320,  SDK Version : 2.24.0.  Works like a charm
Great!

Taras

I installed nightly build version of Codeblocks 20.03svn13321 on Ubuntu 23.04.  I am not able to launch the package
The console outputs the error message

codeblocks: symbol lookup error: /lib/libcodeblocks.so.0: undefined symbol: _ZTI10wxListBase, version WXU_3.2