Ubuntu system CodeBlocks installation tutorial, ubuntucodeblocks

Source: Internet
Author: User
Tags valgrind wxwidgets

Ubuntu system CodeBlocks installation tutorial, ubuntucodeblocks

1. Install the compiling environment. The C, C ++, and Boost libraries are installed.

sudo apt-get install build-essential  sudo apt-get install gdb  

2. Installation Code: Blocks 16.01

Log on to lauchpad.net and find the PPA of CodeBlocks. I found version 16.01 of CodeBlocks, ppa: damien-moore/codeblock s-stable.

Sudo add-apt-repository ppa: damien-moore/codeblocks-stable sudo apt-get update sudo apt-get install codeblocks-contrib // The following software will be installed simultaneously: // codeblocks-common libcodeblocks0 libwxbase2.8-0 libwxgtk2.8-0 // recommended installation: // libwxgtk2.8-dev | libwxgtk3.0-dev wx-common codeblocks-contrib sudo apt-get install codeblocks-dbg sudo apt-get install codeblocks-contrib // The following software is installed simultaneously: // cccc codeblocks-contrib-common codeblocks-libwxcontrib0 cppcheck cscks // gamin libgamin0 libtinyxml2-2v5 libwxsmithlib0 python-chardet // python-pkg-resources python-pygments valgrind recommended installation: // csbench-el python-setuptools ttf-bitstream-vera valgrind-dbg kcachegrind // alleyoop valkyrie sudo apt-get install valgrind-dbg // Valgrind is used to detect memory leaks

3. Install the wxWidgets graphical interface library

sudo apt-get install libwxbase3.0  sudo apt-get install libwxbase3.0-dev  sudo apt-get install libwxgtk3.0-0  sudo apt-get install libwxgtk3.0-dev  sudo apt-get install wx-common  sudo apt-get install wx3.0-headers  sudo apt-get install wx3.0-i18n  

Wx3.0-examples and wx3.0-doc can be installed for reading the document. Here, 3.0 refers to the wxWidgets version.

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.