【问题标题】:Eclipse CDT not recognizing <iostream>Eclipse CDT 无法识别 <iostream>
【发布时间】:2014-04-03 20:49:11
【问题描述】:

现在我知道这意味着我需要在某处添加我的包含路径。所以我去了属性,C/C++ General,Paths and Symbols,GNU C++,然后我添加了/usr/include/c++/4.8(调试和发布),但是intellisense仍然无法检测到并且项目没有构建。

对于 Linux 上的标准默认安装,我的包含路径是否正确?我是否在正确的 Eclipse 设置中输入了它?

这是在 Linux Mint 16 和 Eclipse Kepler 上。

【问题讨论】:

标签: c++ linux eclipse include-path eclipse-kepler


【解决方案1】:

请确保您的 linux 中安装了 build-essential

sudo dpkg --get-selections | grep build-essential | wc -l

如果输出为 0,则安装 build-essential

sudo apt-get install build-essential

然后安装gcc

sudo apt-get install gcc

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-05-27
    • 2017-02-11
    • 2015-01-16
    • 1970-01-01
    • 2013-11-18
    • 2012-04-19
    • 2015-12-11
    相关资源
    最近更新 更多