1:安装eclipse(不介绍)
2:打开eclipse,然后 HELP->INSTALL NEW SOFTWARE->Add->LOCATION 输入以下网址:
http://download.eclipse.org/tools/cdt/releases/galileopending后,把两个都打勾,安装----------插件安装成功。
3:遇到的问题
A:launch failed.Binary not found------ 这个问题解决方法:(参考http://blog.csdn.net/abcjennifer/article/details/7573916)
Project->Properties->C/C++Build->Settings->Binary Parsers
勾选然后千万千万别忘了Project->Build All (Ctrl+B), 再run(Ctrl+F11)
B:在第一行写 #include <iostream>的时候,前面会提示 “unresolved inclusion <iostream>”
打开eclipse,然后WINDOW->Preference->C/C++->Environment->ADD,分别增加两条内容,如下:
CPLUS_INCLUDE_PATH /usr/include/c++/4.7.3
C_INCLUDE_PATH /usr/include
哥终于解决了。
ubuntu13.04下eclipse3.8配置C++开发环境,布布扣,bubuko.com
时间: 2024-10-14 11:34:53