Linux ubuntu下打造eclipse C/C++整合式開發環境

來源:互聯網
上載者:User

標籤:linux ubuntu下打造eclipse c/c++整合式開發環境



系統內容:

650) this.width=650;" src="http://s5.51cto.com/wyfs02/M00/8A/DF/wKioL1g-R12xL49XAACW1SexHZA751.png" title="env.png" alt="wKioL1g-R12xL49XAACW1SexHZA751.png" />




檔案下載:

1, Linux ubuntu系統,並安裝

http://releases.ubuntu.com/

找到:ubuntu-14.04.5-desktop-amd64.iso 下載安裝




2,下載Java程式運行環境,eclipse運行依賴jre

http://www.oracle.com/technetwork/java/archive-139210.html

隨便找你喜歡的jre/jdk,使用效果都是一樣的

我選伺服器版 server-jre-8u102-linux-x64.tar.gz

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/8A/E3/wKiom1g-Tj3iHebGAABQ3OtZ7Bw182.png" title="server_jre.png" alt="wKiom1g-Tj3iHebGAABQ3OtZ7Bw182.png" />



3,下載 Linux 版 EclipseC++

https://www.eclipse.org/downloads/eclipse-packages/?osType=linux

下載 [Eclipse IDE for C/C++ Developers] 64bit

eclipse-cpp-neon-1a-linux-gtk-x86_64.tar.gz

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/8A/E3/wKiom1g-TfrjVxYrAAAv95WwBsk696.png" title="Eclipse.png" alt="wKiom1g-TfrjVxYrAAAv95WwBsk696.png" />


4,Linux系統 開發工具鏈 安裝

sudo apt-get install -y build-essential





安裝eclipse:

列出剛下載的兩個檔案[email protected]:~/ide$ ll總用量 245M-rw-rw-r-- 1 chunli chunli 188M 2016-11-30 10:51:53 eclipse-cpp-neon-1a-linux-gtk-x86_64.tar.gz-rw-rw-r-- 1 chunli chunli  58M 2016-11-30 11:38:49 server-jre-8u102-linux-x64.tar.gz解壓[email protected]:~/ide$ tar xf server-jre-8u102-linux-x64.tar.gz[email protected]:~/ide$ tar xf eclipse-cpp-neon-1a-linux-gtk-x86_64.tar.gz 需要jre[email protected]:~/ide$ cp -r jdk1.8.0_102/jre/     eclipse/啟動eclipse[email protected]:~/ide$ ./eclipse/eclipse




eclipse C/C++ Hello world!

650) this.width=650;" src="http://s4.51cto.com/wyfs02/M00/8A/E4/wKiom1g-VaTRfn0RAACEttv3Bkw756.png" title="work.png" alt="wKiom1g-VaTRfn0RAACEttv3Bkw756.png" />



650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/8A/E4/wKiom1g-VRjjsfGhAAG2nOr2pVs623.png" title="01啟動成功.png" alt="wKiom1g-VRjjsfGhAAG2nOr2pVs623.png" />

650) this.width=650;" src="http://s2.51cto.com/wyfs02/M01/8A/E0/wKioL1g-VRmiY_12AACXKeUkMy4244.png" title="02工程.png" alt="wKioL1g-VRmiY_12AACXKeUkMy4244.png" />

650) this.width=650;" src="http://s2.51cto.com/wyfs02/M02/8A/E4/wKiom1g-VRrRRdsRAACbxj4WBQM194.png" title="03工程.png" alt="wKiom1g-VRrRRdsRAACbxj4WBQM194.png" />

650) this.width=650;" src="http://s2.51cto.com/wyfs02/M02/8A/E0/wKioL1g-VRqh33dFAACS13fM05k621.png" title="04main.png" alt="wKioL1g-VRqh33dFAACS13fM05k621.png" />

650) this.width=650;" src="http://s4.51cto.com/wyfs02/M00/8A/E4/wKiom1g-VRvCWy4JAAHjyDvA3DI106.png" title="05build.png" alt="wKiom1g-VRvCWy4JAAHjyDvA3DI106.png" />

650) this.width=650;" src="http://s5.51cto.com/wyfs02/M00/8A/E0/wKioL1g-VRzx5b0yAADuoXhFYss552.png" title="06run.png" alt="wKioL1g-VRzx5b0yAADuoXhFYss552.png" />














本文出自 “魂鬥羅” 部落格,請務必保留此出處http://990487026.blog.51cto.com/10133282/1878100

Linux ubuntu下打造eclipse C/C++整合式開發環境

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.