Difference between revisions of "Installing Code::Blocks"

From Code::Blocks
Line 1: Line 1:
 
[[Category:Installation]]
 
[[Category:Installation]]
== Code::Blocks installation procedure under Windows ==
+
__TOC__
 +
== MS Windows ==
  
The first step is to download the Code::Blocks setup file from [http://sourceforge.net/project/showfiles.php?group_id=126998 here].
+
The first step is to download the Code::Blocks setup file from [https://www.codeblocks.org/downloads.shtml 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.
 
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!
 
A help text on installing a compiler will also appear. Read it!
  
'''''Note:'''''
+
== Linux ==
''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:'''''
+
== Mac OS X ==
''If you 'll be using MinGW GCC with Code::Blocks, two MinGW programs <u>do have problems</u> with spaces in filenames: <code>windres.exe</code> (resource compiler) and <code>gdb.exe</code> (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 [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.
 
 
 
=== 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<br/>
 
4. execute
 
  ./bootstrap
 
that should make the different needed files for your system.<br/>
 
5. execute
 
  ./configure
 
6. execute
 
  make
 
7. change the user to root ('su')<br/>
 
8. execute
 
  make install
 
That should take care of the installation procedure.
 

Revision as of 15:38, 10 April 2006

MS 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!

Linux

Mac OS X