CentOS installation Codeblocks

Source: Internet
Author: User
Tags wxwidgets

1. Installing wxwidgets

tar -xvf wxwidgets-3.0. 1. tar. bz2
[Email protected] codeblocks]# CD wxwidgets-3.0. 1 [email protected] wxWidgets-3.0. 1  Make  Make Install
#特别注意不要带参数 (path) installation to avoid accidents later

2.1 Ld_library_path Environment Configuration

To view environment variables:

[Email protected] codeblocks]# wx-config--Libs-l/usr/local/lib-pthread-lwx_gtk2u_xrc-3.0 -lwx_ gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core- 3.0-lwx_ baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0

To add a path to the system environment:

vi /etc/profilelast line plus: Export ld_library_path="-l/usr/local/lib-pthread-lwx_gtk2u_ Xrc-3.0-lwx_gtk2u_html-3.0-lwx_gtk2u_qa-3.0-lwx_gtk2u_adv-3.0-lwx_gtk2u_core-3.0-lwx_baseu_xml-3.0-lwx_baseu_ net-3.0-lwx_baseu-3.0"

To make it effective immediately:

[Email protected] codeblocks]# Source/etc/profile


Detection:

[Email protected] codeblocks]# export-p

3.1 Installing Codeblocks

Download wget http://www.codeblocks.org/downloads/26#linux64/codeblocks_13.12-1.tar.gz

tar -xvf codeblocks_13. 1. Tar . GZCD codeblocks_13. 1-mkdir /opt/codeblocks
Yum Install gamin-develyuminstall hunspell-devel
./Bootstrap. /configure--prefix=/opt/codeblocks--with-contrib-plugins= all make make Install


CentOS Installation Codeblocks

Related Article

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.