Q: build cannot find include files [message #786351] |
Mon, 30 January 2012 10:08 |
Tom Peters Messages: 11 Registered: January 2011 |
Junior Member |
|
|
Hi,
I somehow damaged the .metadata in my WorkSpace (on MS-Windows XP with Cygwin) and am trying to rebuild it. The .project and .cproject files are all there, and I can import existing projects into the WS, which then become visible in the project explorer.
Now compilation of a library project fails because the compiler cannot find the include files.
This is old C code, and the code lives in a directory next to the workspace, and the include files are collected in the directory "include" at the same level. This used to work.
The makefile does contain a "CPPFLAGS=-I../include".
In the properties of the project, under "C/C++ General", "Paths and Symbols", tab "Includes", for "GNU C", I did add an entry containing the full path of the include directory on the files system. (I do notice that it is bold and that the icon contains an "h", whereas the default include directories from cygwin are not bold and have a green gear in their icons.)
When I added the path, I was asked if the index should be rebuilt, I said yes, and it did.
Finally, under "C/C++ Build", "Discovery Options", "Automated discovery of paths and symbols" is selected.
And of course, the .h files are all there in the specified directory.
What am I missing?!
Tom
|
|
|
|
Powered by
FUDForum. Page generated in 0.03169 seconds