Eclipse中未解决的包含

很累

我有Eclipse版本3.8.1,可用来编写Java代码。我最近开始用c \ c ++编写,尝试安装CDT(C \ C ++开发工具)插件时遇到了一些麻烦。
我知道这个问题被问了很多,而且我已经在这里以前的帖子中搜索了答案,但是建议的答案都没有意义,或者没有帮助。

首先,让我简要介绍一下到目前为止我所做的事情:

帮助->安装新软件->“可用软件站点”,然后在首选项窗口中添加以下位置:http : //download.eclipse.org/tools/cdt/releases/kepler/,然后安装了插件。
确实,在重新打开eclipse之后,我现在在“文件->新建...”菜单中有了新的可用选项,例如“ C ++项目/ C项目”等等。

当我选择创建一个新项目时,将显示以下窗口: 在此处输入图片说明

然后,我选择“ Linux GCC”(我不知道其余的是什么),并创建一个新的源文件。

问题是这样的: 在此处输入图片说明

I'm getting "Unresolved inclusion" to the iostream file, even though I have all the necessary .h files, as you can see in the left pane of the window (under "includes").

Does anyone know what might be the problem, and how to resolve this issue?

Thanks in advanced!

edit:

the errors appear at the bottom pane of the window, and this "binary not found" error pops whenever I try to compile it.
There's also the "unresolved inclusion" I was referring to. it shows it when I hover with the mouse over the "#include" line.

在此处输入图片说明

Robin Green

The screenshot only shows that the directories exist, not that the right files within them exist.

To fix these kind of dependency issues:

sudo apt-get --install-suggests install eclipse-cdt

or on yum-based distributions

sudo yum install eclipse-cdt

这应该安装所有必需的依赖项。如果它安装了eclipse-cdt但没有将其所有依赖项都安装在您的发行版上,那么这就是该发行版中的一个错误。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Eclipse CDT-VLFeat的未解决的包含

来自分类Dev

Eclipse中未解决的依赖项错误

来自分类Dev

未解决的包含:<thread>

来自分类Dev

Eclipse:未解决的导入

来自分类Dev

“错误:未解决的参考:Eclipse IDE 中的线程”

来自分类Dev

Eclipse RCP:未解决的要求

来自分类Dev

sbt publish产生的jar在路径中包含太多文件夹=>未解决的依赖关系

来自分类Dev

解决方案中未包含的 Visual Studio 编译文件

来自分类Dev

未解决的导入错误(Eclipse,PyDev)

来自分类Dev

未解决的导入错误(Eclipse,PyDev)

来自分类Dev

sbt-eclipse未解决的异常

来自分类Dev

PyCharm中未解决的标签

来自分类Dev

WiX中未解决的参考

来自分类Dev

WiX中未解决的参考

来自分类Dev

Eclipse CDT-如何快速评估代码中未包含的表达式?

来自分类Dev

导入无法在Eclipse中解决

来自分类Dev

C ++ / NetBeans / CygWin / Windows-<iostream>内部未解决的包含

来自分类Dev

sbt中未解决的依赖项

来自分类常见问题

IntelliJ中未解决的Kotlin参考

来自分类Dev

scribble / lp文档中未解决的链接

来自分类Dev

Kotlin中Dagger 2的未解决参考

来自分类Dev

Akka中未解决的依赖项错误

来自分类Dev

C ++函数中未解决的外部链接

来自分类Dev

Grails中未解决的依赖项

来自分类Dev

活动文件中的符号未解决错误

来自分类Dev

在PyCharm中启用未解决的属性检查

来自分类Dev

Python中未解决的导入“ selenium”错误

来自分类Dev

忽略IntelliJ中未解决的引用

来自分类Dev

VSCode Python中未解决的导入