News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How install CB from sources on Linux?

Started by Borneq, December 06, 2015, 06:25:04 PM

Previous topic - Next topic

Borneq

My installed CodeBlocks is two year old. Nightly builds I see are only for Windows, I need Linux. How can download source code and how can I build it?

oBFusCATed

You have plenty of options:
1. use svn - https://sourceforge.net/p/codeblocks/code/HEAD/tree/
2. use git, search github for cloned repos
3. use the newly released 15.12rc1 - http://forums.next.codeblocks.org/index.php?topic=20729.0 but for some reason we have not posted a source package.

And generally there are repos for the night builds for the more popular distros.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Borneq

#2
I use way described at http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux and installed it from SVN, but I have errors:
- if I try launch from Mint menu start - nothing do
- if I try run from terminal: undefined symbol: cbEVT_APP_CMDLINE
(source has been compiled but application not runs)
Maybe I must use not last SVN version but 15.12rc1 ? how get from SVN this version?

stahta01

Did you self-compile wxWidgets?
If yes, what version of wxWidgets was used?
If not, what version of wxWidgets is returned by wx-config?

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]


Borneq

Version 2.8;
Something went bad.
i have restored Linux on VirtualBox from snapshot.
Especially I not sure if edit /etc/ld.so.conf  - in this file was line with include, I add next line " /opt/wx/2.8/lib"

Borneq

#6
Quote from: BlueHazzard on December 06, 2015, 08:07:39 PM
you can try a binary from: https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-nightly
In
https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-nightly/+packages
is many .deb files, how install from this deb ? I must download to one directory all, or it is possible download automatically with wget? How install from many files?
For one file: sudo dpkg -i DEB_PACKAGE

yvesdm3000

You only need 1 deb files. The different deb files are for each version of Ubuntu, so you need to pick the correct one.

Yves
Clang based code completion for Code::Blocks:   [url="http://github.com/yvesdm3000/ClangLib"]http://github.com/yvesdm3000/ClangLib[/url]

cacb

Quote from: Borneq on December 06, 2015, 06:25:04 PM
My installed CodeBlocks is two year old. Nightly builds I see are only for Windows, I need Linux. How can download source code and how can I build it?

I do it this way on Kubuntu
http://forums.next.codeblocks.org/index.php/topic,18580.msg127254.html#msg127254

...except nowadays download *.orig.tar.gz from https://apt.jenslody.de/stable/pool/main/
otherwise same procedure as described



Borneq