https://wiki.codeblocks.org/api.php?action=feedcontributions&user=MarkGorgo&feedformat=atomCode::Blocks - User contributions [en]2024-03-28T20:49:21ZUser contributionsMediaWiki 1.35.0https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&diff=6322Installing Code::Blocks from source on Linux2010-05-06T07:51:33Z<p>MarkGorgo: Hoary = 5.04 = 2005</p>
<hr />
<div>[[Category:Installing Code::Blocks]]<br />
[[Category:Installing Code::Blocks from source]]<br />
These are instructions on how to build Code::Blocks under Linux. These instructions should work for all Linux distros, as we'll be installing from sources.<br />
<br />
===Prerequisites===<br />
<br />
In order to successfully compile Code::Blocks, the [http://en.wikipedia.org/wiki/WxWidgets wxWidgets] User Interface library <u>must be installed</u>. For most Linux users, this is maybe the only dependency not already installed. wxWidget can be used directly on top of the X server, in this case the variant of the wxWidget library is called wxX11. However this library [http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits#Why_You_Shouldn.27t_Use_wxWidgets "is sub-par compared to other toolkits and unstable"]. Hence Code::Blocks uses wxGTK, the version of wxWidget based on GTK+. The exact requirement is libwxGTK-2.8.0 or later (2.8.3 is not recommanded because of some troubles). This creates an additional dependency on GTK+, consider the following:<br />
<br />
A possible implementation which does not exist: <br />
<br />
''Code::Blocks -> xwWidget (libwxX11) -> X''<br />
<br />
Current Code::Blocks implementation: <br />
<br />
''Code::Blocks -> '''xwWidget (> libwxGTK2.8)''' -> '''GTK+ (> libgtk-x11-2.0)''' -> X''<br />
<br />
This document helps you to install libwxGTK if necessary but does not cover the installation of GTK+. GTK+ is probably installed on your Linux anyway, so don't worry ;)<br />
<br />
<br />
''Note:'' All the instructions below, assume an existing directory named <tt>~/devel</tt>. If you 'll be using a different one, adjust the path to match.<br />
As a first step create this directory:<br />
<br />
<pre>mkdir ~/devel</pre><br />
<br />
=== Checking the presence of GTK+ library ===<br />
<br />
Have a look in /usr/lib for something like "libgtk-x11-2.0.so" (Note the library must be 2.0 minimum). Alternatively, do a search with your package manager or go to your Linux distribution forum for help. If you don't want to loose time, you can even forget this check since there is a good probability that everything is already installed.<br />
<br />
===Library wxGTK installation===<br />
<br />
==== Checking the presence of libwxGTK library ====<br />
<br />
In your package manager, look for 'libwxgtk' keyword and verify that '''all''' libwxgtk2.8 stuffs are installed. If you find the libraries uninstalled, well '''just install them and go directly to [https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Code::Blocks_installation Code::Blocks installation]'''.<br />
<br />
Alternatively you can do the same in command line (to give an idea, I don't say there is only 2 packages):<br />
<br />
<pre>$ ls /usr/lib/libwx_gtk* //to verify the presence<br />
$ sudo apt-get install libwxgtk2.8-dev<br />
$ sudo apt-get install libwxgtk2.8-0</pre><br />
<br />
If you don't find any package you must install the library from source as described below, and you can redo this check afterwards to verify that the installation worked correctly.<br />
<br />
<br />
''Note for Debian (and Ubuntu?) users:'' You can use <br />
<br />
<pre>$ update-alternatives --config wx-config</pre><br />
<br />
to see which version of libwx is there or not and currently active.<br />
<br />
====Getting wxGTK sources====<br />
<br />
Visit the [http://www.wxwidgets.org wxWidgets web site]. Click the "Download" button at the top of the page. Under wxWidgets 2.8.7 downloads, select wxGTK. Save the file in <tt>~/devel</tt>. After the download finishes, switch to <tt>~/devel</tt>:<br />
<br />
<pre>cd ~/devel</pre><br />
<br />
Now, untar the wxGTK sources:<br />
<br />
<pre>tar zxf wxGTK-2.8.7.tar.gz</pre><br />
<br />
Switch to the wxGTK directory<br />
<br />
<pre>cd wxGTK-2.8.7</pre><br />
<br />
====wxWidgets build====<br />
<br />
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).<br />
<br />
The documentation says the default is for gtk2 to use unicode and wx > 2.5 to build as a monolithic library. This doesn't appear to be the case, so these flags are passed to configure.<br />
<br />
mkdir build_gtk2_shared_monolithic_unicode<br />
cd build_gtk2_shared_monolithic_unicode<br />
../configure --prefix=/opt/wx/2.8 \<br />
--enable-xrc \<br />
--enable-monolithic \<br />
--enable-unicode<br />
make<br />
su<br />
make install<br />
exit<br />
<br />
Add /opt/wx/2.8/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile)<br />
(On Suse 10.1 edit /etc/profile.local, it will only be available after a new login). an example PATH<br />
export PATH=/usr/bin:/opt/wx/2.8/bin:$PATH<br />
<br />
add /opt/wx/2.8/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)<br />
then run:<br />
ldconfig<br />
source /etc/profile<br />
<br />
That's it. Now the linker will look in /opt/wx/2.8/lib for wx libraries and you will have a monolithic shared library unicode build.<br />
<br />
To check that things are working, type:<br />
wx-config --prefix<br />
which should give you /opt/wx/2.8<br />
wx-config --libs<br />
which should have at least<br />
-L/opt/wx/2.8/lib -lwx_gtk2-2.8<br />
but can contain other flags as well.<br />
which wx-config<br />
should return /opt/wx/2.8/bin/wx-config<br />
<br />
===Code::Blocks installation===<br />
<br />
====Getting Code::Blocks sources====<br />
<br />
You can get Code::Blocks source code [https://www.codeblocks.org/downloads/6 from the website as a tarball] or from the SVN repository (this second method is described below).<br />
<br />
=====From SVN repository=====<br />
NOTICE: The Sourceforge CVS is no longer used although it still exists<br />
<br />
Enter your development directory:<br />
<pre>cd ~/devel</pre><br />
<br />
Then checkout the source using one of [https://www.codeblocks.org/downloads/7 these] methods. This will create the directory <tt>trunk</tt>. Change to the source code directory, by issuing the following command:<br />
<br />
<pre>cd trunk</pre><br />
<br />
If you are a Gentoo user at this point, please see [[Compiling_Code::Blocks_in_Gentoo]].<br />
<br />
Before beginning, it is often a good idea to check you have recent versions of autoconf and automake - repositories versions are not always recent enough. (if you do not have automake, then you will get "cannot find aclocal" error). If you're compiling the svn trunk versions of CodeBlocks (or future versions) then the unix build has switched to autotools. So first build wxWidgets as described above and then build CodeBlocks as follows:<br />
<br />
<pre> ./bootstrap</pre><br />
<br />
This sets up the configure script and its dependencies. It only needs to be run once (after downloading the source from svn). '''If you get errors like:'''<br />
aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library<br />
Then aclocal is having trouble finding the wxWidgets .m4 files. You can do one of two things:<br />
To just get bootstrap to find the path this time do:<br />
<!-- *********** Bad syntax... removed 2006-08-28 by BentFX ****************************<br />
export ACLOCAL_FLAGS="--acdir=`wx-config --prefix`/share/aclocal"<br />
<br />
: Note: The above command resulted in missing macros when running ./bootstrap for me. Setting an additional search path instead of overwriting like above worked for me. In case of missing macros try <br />
***********************************************************************************--><br />
<pre>export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"</pre> <!--[[User:Jabber|Jabber]] 06:24, 2 August 2006 (EDT)--><br />
<br />
To change the aclocal search path more permanently do:<br />
echo `wx-config --prefix`/share/aclocal >> /usr/share/aclocal/dirlist<br />
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal<br />
<br />
''Note for Ubuntu users:'' The above is not the correct way to fix the AM_* errors. Rather, you only need to install the package named "wx-common" (Universe repository).<br />
<br />
If you get something like<br />
The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'<br />
<br />
it can be solved by something like: (adapt path, use `wx-config --prefix` is necessary)<br />
<br />
ACLOCAL_FLAGS="-I /usr/share/aclocal" ./bootstrap<br />
<br />
(*Note// '''If you run ./bootstrap and get errors like''':<br />
: bad interpreter: File not found<br />
then there exists a problem with DOS line-endings. i had this error after i tried to build a codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom SVN), all errors were gone. <br />
//tiwag 051008*)<br><br />
Or, instead of downloading from SVN, you might consider using the little command line tool dos2unix, which normally comes with most distributions. //lizzarddude060103<br />
<br><br />
If configure aborts with some unspecific error message(".infig.status: error: cannot find input file: Makefile"), you might consider also running dos2unix bootstrap acinclude.m4 codeblocks.pc.in configure.in Makefile.am before running bootstrap. Once you've run the bootstrap script, jump to next step.<br />
<br />
====Installing Code::Blocks sources====<br />
You can read the BUILD file included in the source, but everything is very straightforward. Do:<br />
<br />
<pre> ./configure<br />
make<br />
make install</pre><br />
<br />
If you have multiple versions of wxWidgets installed or kept them inplace, you can use<br />
./configure --with-wx-config=/path/to/wx-config<br />
<br />
To uninstall you can later run:<br />
make uninstall<br />
<br />
If you want to recompile everything, first run:<br />
<pre> make clean<br />
make distclean<br />
make clean-bin<br />
make clean-zipfiles</pre><br />
and then follow the above sequence for installing.<br />
<br />
By default, CodeBlocks will install to /usr/local. If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:<br />
<pre> ./configure --prefix=/opt/codeblocks-svn</pre><br />
or similar. Then you can later install a different build like:<br />
<pre> ./configure --prefix=/opt/codeblocks2-svn</pre><br />
followed by 'make && make install' as usual.<br />
<br />
By default, CodeBlocks will not compile the contributed plugins from SVN. If you want to compile / install them too, replace the above ./configure command with:<br />
<pre> ./configure --with-contrib-plugins=all</pre><br />
followed by 'make && make install' as usual.<br />
<br />
To see a list of other options available for configuring the build of CodeBlocks do:<br />
<pre> ./configure --help</pre><br />
<br />
To compile under gentoo, use<br />
<pre> ./configure --with-wx-config=wx-config-2.8</pre><br />
<br />
====Resolving issues====<br />
<br />
When running Code::Blocks after the installation it might happen, that the system complains:<br />
codeblocks: error while loading shared libraries: libcodeblocks.so.0: cannot open shared object file: No such file or directory<br />
In that case make sure the library path where the Code::Blocks libraries where installed into is "known" to the system. For example: On Ubuntu using a default build process on a clean system will install the Code::Blocks executables to /use/local/bin and the libraries to /usr/local/lib. The latter is usually not known to a "clean" Ubuntu system. To add it to the search path for libraries do the following (as root / using sudo respectively):<br />
Add the following line to the file /etc/ld.so.conf:<br />
/usr/local/lib<br />
...and run:<br />
ldconfig<br />
That's it - Code::Blocks should now work just fine as all libraries are being found.</div>MarkGorgohttps://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks&diff=6321Installing Code::Blocks2010-05-06T07:48:23Z<p>MarkGorgo: outdated</p>
<hr />
<div>[[Category:Installing Code::Blocks]]<br />
<br />
[[Compiled packages of Code::Blocks]]<br />
<br />
== MS Windows ==<br />
<br />
* [[Installing the latest official version of Code::Blocks on Windows]]<br />
* [[Installing Code::Blocks nightly build on Windows]]<br />
* [[Installing Code::Blocks from source on Windows]]<br />
<br />
== Linux ==<br />
<br />
* [[Installing Code::Blocks from source on Linux]] (applies to all distros)<br />
<br />
=== Ubuntu ===<br />
<br />
:* [[Installing Code::Blocks nightly build on Ubuntu]]<br />
<br />
=== Debian ===<br />
<br />
:* [http://apt.jenslody.de/ Installing Code::Blocks nightly build on Debian]<br />
<br />
=== Fedora ===<br />
<br />
:* [[Installing Code::Blocks nightly build on Fedora]]<br />
<br />
=== Blag ===<br />
<br />
:* [[Installing Code::Blocks nightly build on Blag]]<br />
<br />
=== Gentoo ===<br />
<br />
:* [[Installing Code::Blocks from source on Gentoo]]<br />
<br />
=== RPM based distributions ===<br />
<br />
Such as: Red Hat Linux, Yellow Dog Linux, Fedora Core, CentOS, etc. etc.<br />
<br />
:* [[Installing Code::Blocks nightly build on RPM based distributions]]<br />
:* [[Installing Code::Blocks from source on RPM based distributions]]<br />
<br />
== BSD ==<br />
<br />
=== FreeBSD ===<br />
<br />
:* [[Installing Code::Blocks from source on FreeBSD]]<br />
<br />
== Solaris ==<br />
<br />
* [[Installing Code::Blocks from source on Solaris]]<br />
<br />
== Mac OS X ==<br />
<br />
* [[Installing Code::Blocks nightly build on Mac OS X]]<br />
<br />
* [[Installing Code::Blocks from source on Mac OS X]]<br />
<br />
==Working on Code::Blocks sources from within Code::Blocks!==<br />
<br />
The following applies for all platforms where you have Code::Blocks installed and working.<br />
<br />
After correct install of Code::Blocks you will find two folders under .../trunc/scr , a directory named "devel" and another one named "output".<br />
These two folders will contain the same files and directory structure and you can use the IDE from either of these two directories. This structure has been created so that you can work in Code::Blocks while editing Code::Blocks' sources ;).<br />
Basically, you 'll be using the "output/CodeBlocks.exe" executable. Code::Blocks' project settings are such that all output goes under "devel". So you can edit Code::Blocks' sources inside Code::Blocks and, when pressing "Run", it will run the "devel/CodeBlocks.exe" executable ;). This way, you can't ruin the main executable you 're using (under "output"). When your changes satisfy you and all works well, quit Code::Blocks, run "make update" from command line and re-launch "output/CodeBlocks.exe". You 'll be working on your brand new IDE!</div>MarkGorgohttps://wiki.codeblocks.org/index.php?title=Main_Page&diff=6320Main Page2010-05-06T07:45:28Z<p>MarkGorgo: </p>
<hr />
<div>__NOEDITSECTION__ __NOTOC__<br />
{{Layout_box1|1=<br />
[[Image:cb_splash.png|left]]<br />
'''Welcome to the official Wiki for Code::Blocks'''<br><br />
[https://www.codeblocks.org Code::Blocks] is an open-source, cross-platform [[wikipedia:Integrated Development Environment|IDE]]. Using a plugin architecture, its capabilities and features are defined by the provided plugins.<br><br />
Currently, [https://www.codeblocks.org Code::Blocks] is oriented towards C/C++.<br />
The Code::Blocks team does not take responsibility for the content nor accuracy of these pages.<br />
<br />
<br />
<small>Wiki Editors: In order to login to edit pages, you must create an account on the [/ forums]. Use the same username and password for the wiki. Read the [[Help:Contents|Help]] for editing guidelines. Look in the [[CodeBlocks:Community_Portal|community portal]] for things to do.<br />
</small><br />
}}<br />
<br />
{|width="100%" background-color="transparent" <br />
|width="60%" valign="top"|<br />
<!-- LEFT --><br />
<!-- Did you know that using Layout_box2 here instead of <div> breaks the inner table? Strange... --><br />
<div style="background-color: #dfeefb; border: 1px dotted #010101; margin: 5px; padding: 5px;"><br />
{|align="center" style="background:transparent" cellspacing="5"<br />
<br />
|valign="top" align="center" colspan="2"|<br />
=== How do I... ===<br />
<br />
|-<br />
<br />
|align="center"|<br />
'''[[Installing_Code::Blocks|...install Code::Blocks?]]'''<br/><br />
<span style="font-size:.9em"><br />
[[Installing_the_latest_official_version_of_Code::Blocks_on_Windows|Windows]] &middot;<br />
[[Installing_Code::Blocks#Ubuntu|Ubuntu]] &middot;<br />
[[Installing_Code::Blocks#Mac_OS_X|Mac OS X]] &middot;<br />
[[Installing_Code::Blocks#Fedora|Fedora]] &middot;<br />
[[Installing_Code::Blocks|more...]]<br />
</span><br />
<br />
|align="center"|<br />
'''[[Installing_a_supported_compiler|...set up a compiler in Code::Blocks?]]'''<br/><br />
<span style="font-size:.9em"><br />
[[Installing_a_supported_compiler#MinGW.2FGCC|MinGW]] &middot;<br />
[[Installing_a_supported_compiler#Microsoft_Visual_C.2B.2B|MS Visual C++]] &middot;<br />
[[Installing_a_supported_compiler|more...]]<br />
</span><br />
<br />
|-<br />
<br />
|align="center"|<br />
'''...create a new project?''' (Coming soon)<br />
<br />
|align="center"|<br />
'''[[Debugging_with_Code::Blocks|...debug my program?]]'''<br />
<br />
|-<br />
<br />
|align="center"|<br />
'''[[FAQ#Q:_How_do_I_make_Code::Blocks_portable.3F|...make Code::Blocks portable?]]'''<br />
<br />
|align="center"|<br />
'''[[User_documentation#Third-party_libraries|...use a 3rd-party library?]]'''<br/><br />
<span style="font-size:.9em"><br />
[[Using_wxWidgets|wxWidgets]] &middot;<br />
[[Using_Boost|Boost]] &middot;<br />
[[Using_SDL_with_Code::Blocks|SDL]] &middot;<br />
[[User_documentation#Third-party_libraries|more...]]<br />
</span><br />
<br />
|}<br />
</div><br />
<br />
{{Layout_box3|1=<br />
== Table of Contents ==<br />
<span style="font-size:.9em">''Main article: [[Code::Blocks Documentation]]''</span><br />
<br />
=== [[User documentation]] ===<br />
:Articles for Code::Blocks users<br />
<br />
=== [[FAQ]] ===<br />
:Frequently Asked Questions<br />
<br />
=== [[Feature List]] ===<br />
:An index of Code::Blocks' useful features<br />
<br />
=== [[Code::Blocks Plugins]] ===<br />
:Plugins extend Code::Blocks' functionality<br />
<br />
=== [[Off-site documentation]] ===<br />
:Links to external documentation<br />
<br />
=== [[Developer documentation]] ===<br />
:Articles for developers of Code::Blocks itself<br />
}}<br />
<br />
|width="40%" valign="top"|<br />
<!-- RIGHT --><br />
{{Layout_box4|1=<br />
=== Download Code::Blocks ===<br />
* Latest official release: [https://www.codeblocks.org/downloads/5 8.02]<br />
* [/index.php?board=20.0 Nightly builds] (updated each night)<br />
* [[Compiled_packages_of_Code::Blocks|Official and third-party binaries]] (for various distributions)<br />
}}<br />
<br />
{{Layout_box2|1=<br />
=== Other resources ===<br />
* [https://www.codeblocks.org Main website]<br />
* [ Community forums]<br />
}}<br />
<br />
{{Layout_box2|1=<br />
=== Development ===<br />
[[Image:Chk.png]][[Roadmap]] <br />
* [[Developer documentation]]<br />
* [http://developer.berlios.de/projects/codeblocks/ Project page at BerliOS]<br />
* '''Bugs''': [http://developer.berlios.de/bugs/?group_id=5358 Browse] or [http://developer.berlios.de/bugs/?func=addbug&group_id=5358 submit new]<br />
* '''Features''': [http://developer.berlios.de/feature/?group_id=5358 Browse] or [http://developer.berlios.de/feature/?func=addfeature&group_id=5358 submit new]<br />
* '''Patches''': [http://developer.berlios.de/patch/?group_id=5358 Browse] or [http://developer.berlios.de/patch/?func=addpatch&group_id=5358 submit new]<br />
}}<br />
<br />
{{Layout_box3|1=<br />
=== Supported compilers ===<br />
* [http://gcc.gnu.org/ GNU GCC (incl. G77)] (Linux)<br />
* [http://www.mingw.org MinGW GCC (incl. G77)] (Win32)<br />
* [http://mspgcc.sourceforge.net MSP430 GCC] (Win32, Linux, BSD)<br />
* [http://www.hightec-rt.com TriCore GCC] (Win32, Linux)<br />
* [http://www.hightec-rt.com PowerPC GCC] (Win32, Linux)<br />
* [http://developer.apple.com/tools/ Apple GCC (Xcode)] (Mac OS X)<br />
<!-- Tested and working with Microsoft PSDK for Windows 2003 R2 and CodeBlocks b3577 --><br />
* [http://xona.com/2004/06/29.html Microsoft Visual C++ Toolkit 2003] (Win32) <br />
* [http://msdn.microsoft.com/vstudio/express/visualc/download/ Microsoft Visual C++ 2005] (Win32)<br />
* [http://www.borland.com/products/downloads/download_cbuilder.html Borland's C++ Compiler 5.5] (Win32)<br />
* [http://www.digitalmars.com/ DigitalMars C/C++] (Win32)<br />
* [http://openwatcom.org/index.php/Main_Page OpenWatcom] (Win32)<br />
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/219754.htm Intel C++ compiler] (Win32)<br />
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]<br />
* [http://www.digitalmars.com/d/dcompiler.html Digital Mars D] (Win32, Linux)<br />
* [http://dgcc.sourceforge.net/ GDC D Compiler]<br />
}}<br />
|}<br />
<br />
<center>[https://www.codeblocks.org/about.shtml The Code::Blocks team]</center><br />
<br />
<center>[[Special:Allpages|Index]]</center></div>MarkGorgohttps://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&diff=6319Compiled packages of Code::Blocks2010-05-06T07:44:39Z<p>MarkGorgo: /* SVN */</p>
<hr />
<div>== Stable Releases ==<br />
<br />
=== 8.02 ===<br />
<br />
{| border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;"<br />
|- style="background: #ececec; border: solid 1px gray;"<br />
! style="width:12em" | [[wikipedia:Operating_System|OS]]<br />
! Version<br />
! Architecture<br />
! Package Type<br />
! Remarks<br />
! Download<br />
! Installation Guide<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]<br />
| 2000/XP/Vista<br />
| x86<br />
| Binary<br />
| With contrib plugins<br />
| [http://downloads.sourceforge.net/codeblocks/codeblocks-8.02-setup.exe Download]<br />
|<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]<br />
| 2000/XP/Vista<br />
| x86<br />
| Binary Ansi<br />
| With contrib plugins - With MinGW bundled<br />
| [http://downloads.sourceforge.net/codeblocks/codeblocks-8.02mingw-setup.exe Download]<br />
|<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]<br />
| <br />
| i386<br />
| Binary<br />
| <br />
| [http://prdownload.berlios.de/codeblocks/codeblocks-8.02debian-i386.tar.gz Download]<br />
|<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]<br />
| <br />
| AMD64<br />
| Binary<br />
| <br />
| [http://prdownload.berlios.de/codeblocks/codeblocks-8.02debian-amd64.tar.gz Download]<br />
|<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]<br />
| 7.10 Gutsy<br />
| x86<br />
| Binary<br />
| <br />
| [http://prdownload.berlios.de/codeblocks/codeblocks_8.02-0ubuntu1.deb.tar.gz Download]<br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]<br />
| 7.10 Gutsy<br />
| AMD64<br />
| Binary<br />
| <br />
| [http://prdownload.berlios.de/codeblocks/codeblocks-8.02-amd64.tar.gz Download]<br />
| <br />
|- style="background: #ececec; border: solid 1px gray;"<br />
! [[wikipedia:Operating_System|OS]]<br />
! OS Version<br />
! Architecture<br />
! Package Type<br />
! Remarks<br />
! Download<br />
! Installation Guide<br />
|-<br />
|}<br />
<br />
<br />
=== 1.0 RC2 ===<br />
<br />
{| border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;"<br />
|- style="background: #ececec; border: solid 1px gray;"<br />
! style="width:12em" | [[wikipedia:Operating_System|OS]]<br />
! Version<br />
! Architecture<br />
! Package Type<br />
! Remarks<br />
! Download<br />
! Installation Guide<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]<br />
| 98/NT/Me/2000/XP<br />
| x86<br />
| Binary Ansi<br />
| With contrib plugins<br />
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download Download]<br />
|<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]<br />
| 98/NT/Me/2000/XP<br />
| x86<br />
| Binary Ansi<br />
| With contrib plugins - With MinGW bundled<br />
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download Download]<br />
|<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]<br />
| Sid<br />
| i386<br />
| Binary<br />
| No longer supported by the previous package author. <br />
|<br />
|<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]<br />
| 5.10 Breezy<br />
| x86<br />
| Binary<br />
| No longer supported by the previous package author.<br />
| <br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]<br />
| 2005.1<br />
| x86/AMD64<br />
| Ebuild<br />
| {{dunno}}<br />
| [http://bugs.gentoo.org/attachment.cgi?id=72819 Download]<br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]<br />
| 2005.1<br />
| x86/AMD64<br />
| Patch<br />
| {{dunno}}<br />
| [http://bugs.gentoo.org/attachment.cgi?id=72820 Download]<br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Fedora]]<br />
| Fedora Core 3<br />
| i386<br />
| Binary<br />
| SRPMS compatible with wxGTK-2.4 is also [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.src.rpm available].<br />
| [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.fc3.i386.rpm Download]<br />
| Requires wxGTK-2.4 ([http://dag.wieers.com/packages/wxGTK/ Dag repository])<br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Fedora]]<br />
| Fedora Core 4<br />
| i386<br />
| Binary<br />
| not available any more<br />
| [http://www.neoinvent.com/cb/codeblocks-1.0-rc2.i386.rpm Download]<br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:FreeBSD-logo_32.png]] [[wikipedia:FreeBSD|FreeBSD]]<br />
| 6.1<br />
| x86<br />
| Binary<br />
| {{dunno}}<br />
| [/index.php?topic=1407.0 Download]<br />
| <br />
|- style="background: #ececec; border: solid 1px gray;"<br />
! [[wikipedia:Operating_System|OS]]<br />
! OS Version<br />
! Architecture<br />
! Package Type<br />
! Remarks<br />
! Download<br />
! Installation Guide<br />
|-<br />
|}<br />
<br />
== Development Releases ==<br />
<br />
=== SVN ===<br />
<br />
{| border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;"<br />
|- style="background: #ececec; border: solid 1px gray;"<br />
! style="width:12em" | [[wikipedia:Operating_System|OS]]<br />
! Version<br />
! Architecture<br />
! Package Type<br />
! Remarks<br />
! Download<br />
! Installation Guide<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]<br />
| 98/NT/Me/2000/XP<br />
| x86<br />
| Binary<br />
| With contrib plugins<br />
| [/index.php?board=20.0 Download]<br />
| [/index.php/topic,3232.0.html How night build version works]<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]<br />
| stable,testing, unstable<br />
| i386 and amd64<br />
| Binary and sources<br />
| With contrib plugins and doc-packages; APT-repository<br />
| [http://apt.jenslody.de/pool/main/c/codeblocks/ Download]<br />
| http://apt.jenslody.de/<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:SUSE_Linux|openSUSE]]<br />
| <br />
| i586 & x86_64<br />
| Binary<br />
| With contrib plugins<br />
| [http://download.opensuse.org/repositories/devel:/tools:/ide/ Download]<br />
| http://en.opensuse.org/Build_Service/User<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]<br />
| 10.2<br />
| i686<br />
| Binary<br />
| {{dunno}}<br />
| [http://www.icpnet.pl/~groman/cb-slack/ Download]<br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]<br />
| 10.2<br />
| athlon-xp<br />
| Binary<br />
| {{dunno}}<br />
| [http://www.icpnet.pl/~groman/cb-slack/ Download]<br />
| <br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_OS_X|Mac OS X]]<br />
| 10.3 Panther<br />
| PPC<br />
| Binary<br />
| ?<br />
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]<br />
| Bundled with wxMac 2.6 inside the app bundle<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_OS_X|Mac OS X]]<br />
| 10.4 Tiger<br />
| PPC/X86<br />
| Binary<br />
| ?<br />
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]<br />
| Bundled with wxMac 2.6 inside the app bundle<br />
|- style="border: solid 1px gray;"<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Mac-logo-alt.png]] [http://www.macports.org/ MacPorts]<br />
| Darwin<br />
| PPC/X86<br />
| Source<br />
| ?<br />
| <br />
| [[Installing Code::Blocks from source on Mac OS X]]<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Fedora]]<br />
| <br />
| i386 & x86_64<br />
| Binary<br />
| With contrib plugins<br />
| [http://download.opensuse.org/repositories/devel:/tools:/ide/ Download]<br />
| http://en.opensuse.org/Build_Service/User<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[wikipedia:Mandriva_Linux|Mandriva]]<br />
| <br />
| i586 & x86_64<br />
| Binary<br />
| With contrib plugins<br />
| [http://download.opensuse.org/repositories/devel:/tools:/ide/ Download]<br />
| http://en.opensuse.org/Build_Service/User<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:CentOS-logo_32.png]] [[wikipedia:CentOS|CentOS]]<br />
| CentOS 3/4<br />
| i686<br />
| Source<br />
| ?<br />
|<br />
| [[Installing_Code::Blocks_from_source_on_RPM_based_distributions]]<br />
|- style="border: solid 1px gray;"<br />
! style="text-align: left; background: #ececec;" | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]<br />
| Gentoo<br />
| x86/AMD64<br />
| Portage Overlay<br />
| With contrib plugins by "contrib" useflag<br />
| [http://www.savefile.com/projects/808517256 Download]<br />
| [http://forums.gentoo.org/viewtopic-t-588089-highlight-codeblocks+svn.html Forum Guide New]<br />
: [http://forums.gentoo.org/viewtopic-t-440412.html Forum Guide by retired Gentoo developer] [[Compiling_Code::Blocks_in_Gentoo]]<br />
|- style="border: solid 1px gray;"<br />
|- style="background: #ececec; border: solid 1px gray;"<br />
! [[wikipedia:Operating_System|OS]]<br />
! OS Version<br />
! Architecture<br />
! Package Type<br />
! Remarks<br />
! Download<br />
! Installation Guide<br />
|-<br />
|}</div>MarkGorgohttps://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Ubuntu&diff=6318Installing Code::Blocks nightly build on Ubuntu2010-05-06T07:42:28Z<p>MarkGorgo: updated</p>
<hr />
<div>[[Category:Installing Code::Blocks]]<br />
[[Category:Installing Code::Blocks nightly build]]<br />
This is a quick guide to get Code::Blocks up and running on your Ubuntu based Linux distribution. It is also going to make sure you can develop wxWidgets applications on your box as well. Look at the bottom of this guide for a complete command line that will install all the packages in one operation.<br />
<br />
First be sure you have the necessary software to compile and debug programs.<br />
<br />
1. Install the compiler.<br />
sudo apt-get install build-essential<br />
<br />
2. Install the debugger.<br />
sudo apt-get install gdb<br />
<br />
You'll need to install wxWidgets to use Codeblocks. Revisions from 4051 and after use wxWidgets 2.8.4. If you want to install them, make sure you have your universe and multiverse [https://help.ubuntu.com/ubuntu/desktopguide/C/extra-repositories.html repositories enabled] and install the following packages.<br />
<br />
3. Install wxWidgets library. (This package is all that is needed to run any application that uses wxWidgets. ie. Code::Blocks)<br />
sudo apt-get install libwxgtk2.8-0<br />
<br />
4. Install the wxWidgets developement packages. (This is used to develop wxWidgets applications of your own.)<br />
sudo apt-get install libwxgtk2.8-dev<br />
<br />
5. ''(OPTIONAL)'' Install the wxWidgets documentation.<br />
sudo apt-get install wx2.8-doc<br />
<br />
Now go get the nightly build and install it. All dependencies should now be met.<br />
<br />
1. Get the latest nigtly build of Code::Blocks from the [/index.php?board=20.0 nightly builds forum].<br />
<br />
2. Install Code::Blocks.<br />
sudo dpkg -i <Name_Of_Daily_Build.deb><br />
<br />
'''NOTE:''' Since revision 4281 and after, the nightly builds are made differently. Codeblocks is now packaged into separate Debian packages and the packages are archived together in a tar.gz file.<br />
<br />
1. Download the tar.gz file to your computer and extract the files to an empty directory, such as one called temp for example.<br />
tar xvf CB_''date-of-build_revision-number''_Ubuntu6.10+7.04_wx2.8.4.tar.gz<br />
<br />
2. Install all the packages at the same time.<br />
sudo dpkg -i *.deb<br />
<br />
The packages can be installed individually, if you prefer not to install everything. The first package to install is libcodeblocks0 followed by the codeblocks package. All the other packages are optional. If you want to install the wxsmith and/or contrib packages, you must install the libwxsmithlib0 package first.</div>MarkGorgo