|C/C++ standard headers: Unresolved inclusion [message #983039]
||Tue, 13 November 2012 11:21
| A. J.
Registered: November 2012
I am working on a CUDA makefile project in Eclipse on Linux (Ubuntu 12.04 LTS).
Version: Nsight Eclipse Edition v5.0.0
The project compiles (and runs) just fine, but the Eclipse editor complains about unresolved includes, e.g. "new", "string.h", "stddef.h", "limits.h"...
As you can see, those are all standard C or C++ headers.
ALL necessary include paths are properly set up for this project, in particular "/usr/include" and "/usr/inlcude/c++/4.6" are in the include directories.
The header files definately exist in these places, and they can be successfully included by SOME parts of the code.
Only four CUDA headers (in /usr/local/cuda-5.0/include) complain about missing headers (see above).
These headers are included from within other files without any problem.
What I tried so far:
- Adding the include paths and making sure the required files exist in them.
- Rebuilding the index.
- Re-Searching for missing symbols.
What can I do to make the editor recognize that these headers DO exist?
Thanks for your help!
|Re: C/C++ standard headers: Unresolved inclusion [message #1006361 is a reply to message #983039]
||Wed, 30 January 2013 23:30
| Adam Goodwin
Registered: December 2012
I have this exact same problem, a solution would be good.|
EDIT: It looks as though this has just resolved itself for no reason. I've added a new source file and it's doing it again with stdint.h. I guess I just have to tolerate it until Eclipse decides to acknowledge the existence of the file (rebuilding etc with the index doesn't do anything).
Not much help if waiting it out isn't working for the OP, he's been waiting a while...
[Updated on: Fri, 01 February 2013 02:57]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02117 seconds