简体   繁体   English

Eclipse错误:未解决的包含

[英]Eclipse Error: Unresolved Inclusion

I know this question has been asked a lot but I have no idea what is wrong here. 我知道这个问题已经问了很多,但我不知道这里出了什么问题。

I got some header files in C:\\svn\\org.eclipse.tcf.agent\\agent\\tcf\\framework which contains all files that I need to compile an example program. 我在C:\\svn\\org.eclipse.tcf.agent\\agent\\tcf\\framework中获得了一些头文件,其中包含编译示例程序所需的所有文件。

I inlcuded this path by opening the projects Properties, C/C++ General, Paths and Symbols, Includes and added the path there. 我通过打开项目“ 属性”,“ C / C ++常规”,“路径和符号”,“包含”并在其中添加了路径来添加了该路径。

Eclipse doesn't find any of these header files. Eclipse找不到任何这些头文件。

在此处输入图片说明

Which results in: 结果是:

Eclipse找不到任何这些头文件

The directory: 目录:

在此处输入图片说明

Can anybody help me here? 有人可以帮我吗?


Errorlog: 错误日志:

10:23:21 **** Incremental Build of configuration Default for project org.eclipse.tcf.examples.daytime.agent ****
make all 
The system cannot find the path specified.
'uname' is not recognized as an internal or external command,
operable program or batch file.
'grep' is not recognized as an internal or external command,
operable program or batch file.
process_begin: CreateProcess(NULL, uname -m, ...) failed.
The syntax of the command is incorrect.
make: *** [obj///Debug/tcf/main/main.o] Error 1
Makefile:26: recipe for target 'obj///Debug/tcf/main/main.o' failed

Look at the paths in your #include statements. 查看您的#include语句中的路径。 Clearly you should be adding C:\\svn\\org.eclipse.fct.agent\\agent to your include path, not the sub-directories of that directory. 显然,您应该将C:\\svn\\org.eclipse.fct.agent\\agent到包含路径,而不是该目录的子目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM