Ubuntu codeblocks10.05 installation process (including note: it cannot be started after installation)

Source: Internet
Author: User

After a long time, I finally installed CB. The following notes:

 

Install necessary components

Code:

Sudo apt-Get install build-essential

Code:

Sudo apt-Get install GDB (use which GDB to check if any)

Install the latest wxWidgets Library

Code:

Sudo apt-Get update

Code:

Sudo apt-Get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers WX-common

Set wxWidgets default version

Code:

Sudo Update-alternatives -- config WX-config

Select an item from the list.
6. Download Code: Blocks

To the codeblocks official website download: http://www.codeblocks.org/downloads/26#linux codeblocks-10.05-1-debian-i386.tar.bz2
7. Installation code: Blocks

Check your Ubuntu version before installation. To install codeblocks in Ubuntu 10.04 or earlier, install the latest version.Libwxbase2:

My environment: Ubuntu 8.04 codeblocks: 10.05
First, the following error message is displayed:
Version wxu_2.8.5 not defined in file libwx_baseu-2.8.so.0 with link time reference
Problem: the version in Ubuntu is relatively low.
Solution: Please download from http://apt.wxwidgets.org/dists/etch-wx/main/binary-i386/ hereLibwxbase2.8-0_2.8.11.0-0_i386, Then install, you can start codeblocks10.05, and in the installation of codeblocks10.05, is divided into many Deb package for installation, please first install libcodeblocks0_10.05-1_i386.deb and libwxsmithlib0_10.05-1_i386.deb and then in sudo dpkg-I *. deb. because
The libwxbase version in Ubuntu is relatively low, so it will be unable to be opened after installation, which is in Ubuntu 10.04Libwxbase2.8-0_2.8.10.0-0_i386.
Note: Do not installLibwxgtk2.8-0_2.8.11.0-0_i386.debThis will cause errors in the package dependency when you install other software.
For the latest version of libwx:
Http://apt.wxwidgets.org/dists/etch-wx/main/binary-i386/

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.