CodeBlocks is a very good C ++ integrated design environment (IDE). It is developed based on wxWidgets and supports Linux and Windows. I am not using it for a long time. I personally feel that it is better than Dev c ++ and eclipse cdt. It is easy to install on windows, and there is nothing to say, but in Linux such as RHEL4, it is relatively troublesome because the corresponding rpm is not provided.
The following is a brief introduction to the installation steps based on source code in CentOS 4.6:
1. Download wxWidgets (wxGTK) and CodeBlocks
Download: wxGTK-2.8.9.tar.gz at http://www.wxwidgets.org/downloads/
Download: codeblocks-8.02-0fc8-i586.tar.gz at http://www.codeblocks.org/downloads /.
Since CodeBlocks is developed based on wxWidgets, you must install wxWidgets before installing CodeBlocks.
2. Install wxWidgets
FTP-> wxGTK-2.8.9.tar.gz
Tar xzf wxGTK-2.8.9.tar.gz
(3) cd wxGTK-2.8.9
(4)./configure -- enable-xrc -- enable-monolithic -- enable-unicode
(5)./make
(6)./make install
3. Install CodeBlocks
FTP-> codeblocks-8.02-0fc8-i586.tar.gz
Tar xzf codeblocks-8.02-0fc8-i586.tar.gz
(3) cd codeblocks-8.02
(4) export ACLOCAL_FLAGS = "-I 'wx-config -- prefix'/share/aclocal"
(5)./bootstrap
(6)./make
(7)./make install
4. Run CodeBlocks.
Run codebloks on the terminal to start the IDE.
(Installation directory/usr/local/share/codeblocks)
5. Chinese Language Pack
If your Chinese environment is still available, you can find this language package d2school_codeblocks_chinese_locale.7z from the Internet.
After decompression in Windows, directly upload the two directories zh_CN and zh_TW to/usr/local/share/codeblocks/locale. Repeat
Start Code: Blocks and choose Settings> Enviornment> View> Internationalization> Chinese (Simplified.
Have a good time!
Code: Blocks detailed introduction: click here
Code: Blocks's: click here
For the installation Code: Block in Ubuntu 12.04, see