Install Codeblocks under Ubuntu

Source: Internet
Author: User

1. Install the basic compilation environment

$sudo Apt-get Install Build-essential


$sudo apt-get Install GDB


2. Install Codeblocks (ubuntu12.04 default comes with codeblocks10.05)

Search Codeblocks installation in Software Center


3. Installing wxwidgets

$sudo Apt-get Install libwxbase2.8

$sudo Apt-get Install Libwxbase2.8-dev

$sudo Apt-get Install libwxgtk2.8-0

$sudo Apt-get Install Libwxgtk2.8-dev

$sudo Apt-get Install libwxgtk2.8-dbg

$sudo Apt-get Install Wx-common

$sudo Apt-get Install Wx2.8-headers

$sudo Apt-get Install wx2.8-i18n

4. After installation, open Code::Blocks can be used directly.


5. New project: When you choose the storage path A small problem occurs:

Couldn ' t create the project directory ...:

Description created directory does not have permissions Ubuntu below is not superuser, so choose the current user's home directory to store the project. (/home/xd/myproject (This MyProject folder is created by itself to give write permission to the project to be stored in this directory).

Install 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.