2013-11-28 73 views
0

我知道這個問題已被問了很多,但我不知道這裏有什麼問題。Eclipse錯誤:未解決包含

我在C:\svn\org.eclipse.tcf.agent\agent\tcf\framework中收到了一些頭文件,其中包含編譯示例程序所需的所有文件。

我通過打開項目包含此路徑屬性,C/C++常規,路徑和符號,包括並在其中添加路徑。

Eclipse沒有找到任何這些頭文件。

enter image description here

導致:

Eclipse doesn't find any of these header files

目錄:

enter image description here

任何人可以幫助我在這裏?


錯誤日誌:

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 

回答

0

看看你#include報表的路徑。顯然你應該將C:\svn\org.eclipse.fct.agent\agent添加到你的包含路徑,而不是該目錄的子目錄。

+0

謝謝!你是對的。 – displayname