Use Codeblocks under Ubuntu

Source: Internet
Author: User
Tags valgrind

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.