Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: frca on December 17, 2007, 09:22:17 pm

Title: sources for Linux build
Post by: frca on December 17, 2007, 09:22:17 pm
I'd like to build Code::Blocks for Linux. Where could I download the latest sources? Or do I have to use SVN?
Thank you.
Title: Re: sources for Linux build
Post by: dje on December 17, 2007, 09:27:16 pm
Hi !

You can look in the wiki (http://wiki.codeblocks.org/index.php).
The following link (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux) will help you.

Dje
Title: Re: sources for Linux build
Post by: frca on December 18, 2007, 01:04:04 am
Cool!
Just one problem with library (after whole compilation and install process, it's quite possible I ommited something during it) that wasn't found was solved like described in here:
http://forums.fedoraforum.org/archive/index.php/t-162023.html
i. e.:
error while loading shared libraries: libwx_gtk2u-2.8.so.0: cannot open shared object file: No such file or directory
was solved with this:
sudo ln -s /opt/wx/2.8/lib/libwx_gtk2u-2.8.so.0 /usr/lib/libwx_gtk2u-2.8.so.0
Title: Re: sources for Linux build
Post by: jarro_2783 on December 21, 2007, 02:14:04 am
I think those instructions should be updated. I personally would never put a program in /opt. I would usually put it in /usr/local. The reason it didn't work is because the folder that the library was in isn't in your search path, so you either need to put it in your search path or install it somewhere that is.