Difference between revisions of "Installing Code::Blocks"

From Code::Blocks
Line 13: Line 13:
  
 
== Code::Blocks installation procedure under Linux ==
 
== Code::Blocks installation procedure under Linux ==
 +
 +
'''This article is not uptodate'''
 +
please have a look at this [https://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29 tutorial]
 +
 
Due to the large amount of possible combinations on the Linux platform, Code::Blocks isn't provided in already compiled form. Until now, you'll have to do with the source distribution. Since september 2005, compiling under Linux has become much more standardised and easy, due to the use of the Autotools package.
 
Due to the large amount of possible combinations on the Linux platform, Code::Blocks isn't provided in already compiled form. Until now, you'll have to do with the source distribution. Since september 2005, compiling under Linux has become much more standardised and easy, due to the use of the Autotools package.
  

Revision as of 00:48, 7 December 2005

Code::Blocks installation procedure under Windows

The first step is to download the Code::Blocks setup file from here.

After you download the setup file you selected, launch it to start the setup process. The setup program is a standard installer for Windows. Just press "Next" after reading each screen. You will be given the chance to read the program license, enter the installation directory and select which plugins you want installed. A help text on installing a compiler will also appear. Read it!

Note: Most other IDEs, behave strangely when installed in a directory whose path contains spaces. Code::Blocks IDE does not suffer from this problem! Feel free to install it in whichever path you like!

Note 2: If you 'll be using MinGW GCC with Code::Blocks, two MinGW programs do have problems with spaces in filenames: windres.exe (resource compiler) and gdb.exe (GNU debugger). If you plan on using any of these two programs, avoid placing your projects in paths containing spaces.

Code::Blocks installation procedure under Linux

This article is not uptodate please have a look at this tutorial

Due to the large amount of possible combinations on the Linux platform, Code::Blocks isn't provided in already compiled form. Until now, you'll have to do with the source distribution. Since september 2005, compiling under Linux has become much more standardised and easy, due to the use of the Autotools package.

Novell SuSE Linux 9.3

SuSE Linux 9.3 is shipped with wxWidgets 2.5.3, but the latest CVS does compile with the shipped wxWidgets. All you have to do is: 1. Change to the directory where you want the codeblocks source 2. execute the following command:

 cvs -z5 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co -P codeblocks

3. change to the directory where you put the codeblocks source
4. execute

 ./bootstrap

that should make the different needed files for your system.
5. execute

 ./configure

6. execute

 make

7. change the user to root ('su')
8. execute

 make install

That should take care of the installation procedure.