launch failed.Binary not found in Linux/Ubuntu解決方案

來源:互聯網
上載者:User

Linux下出現launch failed.Binary not found的解決方案:

首先當你把網上關於mingw的解決方案都看暈了的時候,告訴你,別看關於mingw的了。Linux下不用mingw,直接由Linux GCC完成

1、看你的Eclipse下面控制台Console輸出,如果有g++ not found 的話,說明你的系統g++沒安裝成功。

解決方案:Ctrl+Alt+t到terminal(控制台)模式,輸入sudo apt-get install g++

2、還不行?用大部分解決方案中都會講的:

Project->Properties->C/C++Build->Settings->Binary Parsers

勾選GNU Elf Parser和Elf Parser

然後千萬千萬別忘了Project->Build All (Ctrl+B), 再run(Ctrl+F11)

如果看到項目下面出來一項名為Binaries, Congradulations! 配置成功,可以run了!

3、還不行?

檢查你的檔案名稱是否為xxx.cpp? 而且xxx中不能含有“.”之類的符號


Windows下最好用mingw吧……解決方案如下:

http://hi.baidu.com/doctorjohnson/blog/item/2fafa2431187e11d9213c67e.html

相關文章

聯繫我們

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