我知道这个问题已经被问了很多次,但我不知道这里出了什么问题。
我在 C:\svn\org.eclipse.tcf.agent\agent\tcf\framework
中找到了一些头文件,其中包含编译示例程序所需的所有文件。
我通过打开项目属性、C/C++ 常规、路径和符号、包含并在其中添加路径来包含此路径。
Eclipse 找不到任何这些头文件。
结果是:
目录:
有人可以帮我吗?
<小时/>错误日志:
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
最佳答案
查看 #include
语句中的路径。显然,您应该将 C:\svn\org.eclipse.fct.agent\agent
添加到包含路径,而不是该目录的子目录。
关于c++ - Eclipse错误: Unresolved Inclusion,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20262221/