Integrated development Environment Construction
1. Installing build-essential
Method:
sudo apt-get install build-essential
Role: To provide the compiler must be a package list information, the compiler has this package to know the header files, library functions and other information location
2. Installing GDB
Method:
sudo apt-get install gdb
Role: Debug
3. Installing the Code::Blocks IDE
Method:
sudo apt-get install Codeblocks
Role: Integrated development environment
4. Installing Valgrind
Method:
sudo apt-get install Valgrind
Role: Detecting memory leaks
5. Installing wxwidgets (GUI development)
sudo apt-get install libx*.debsudo apt-get install libwxbase2.8-dbgsudo apt-get install Libwxbase2.8-devsudo Apt-get Inst All libwxgtk2.8-dbg sudo apt-get install libwxgtk2.8-devsudo apt-get install wx2.8-i18nsudo apt-get Install Wx2.8-docsudo Apt-get Install Wx2.8-examplessudo apt-get Install Wx-common
Do not develop, install 1 2 3 on the line
Common configurations for Codeblocks
1. Bracket matching, line wrap, auto indent
Install plugin: sudo apt-get install Codeblocks-contrib
2. Debug terminal for copy and paste
Modify the default debug terminal to Gnome-terminal
Setting/environment/general setting/terminal to Lanuch console programs:
3. Install the fonts you want to use
Recommend a font Monaco (extract code 9283), install directly, and then modify the font options to
4. Modify the theme
In the home directory, ctrl+h shows hidden files and folders
Locate the. Codeblocks folder, replace the default.conf file with default.conf (extract code 94F5), and remember to back up the original file.
:
...... Cond
Use Codeblocks under Ubuntu