CentOS6.5下安裝codeblocks

來源:互聯網
上載者:User

CentOS6.5下安裝codeblocks

最近剛學linux下開發,看了這麼多Linux下的IDE,據說codeblocks是最接近vs系列的,所以決定使用codeblocks來進行開發了。下面是CentOS6.5下安裝codeblocks的記錄。

1.安裝gcc,g++
root許可權下(su指令)
yum install gcc
yum install gcc-c++


2.安裝gtk 指令su,獲得root許可權 如下指令
yum install gtk2*


3.下載wxweights
https://sourceforge.net/projects/wxwindows/files/2.8.12/wxWidgets-2.8.12.tar.gz/download


下載code::blocks
https://sourceforge.net/projects/codeblocks.berlios/files/codeblocks_13.12-1.tar.gz/download


4. 安裝hunspell
yum install hunspell
yum install hunspell-devel


5. 安裝gamin
yum install gamin
yum install gamin-devel


6. 安裝boost
yum install boost
yum install boost-devel


7 接著,對wxGTK解壓縮,進去解壓後的目錄 指令
./configure --prefix=/usr --enable-xrc --enable-monolithic --enable-unicode


root許可權下(su)


make
make install


8.安裝codeblocks
解壓下載的檔案,進入安裝目錄
./configure --with-contrib-plugins=all


root許可權下(su)


make (時間有點長)
make install

9.需要安裝xterm

yum install xterm


10. 安裝好後,在Application下會出現Programming功能表項目,在這裡可以啟動codeblocks

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.