|Include Path Yields Unresolved Includes [message #944753]
||Mon, 15 October 2012 01:17
| Glen Oakley
Registered: October 2012
I have successfully compiled a few small C programs using the default includes for C projects in Eclipse. These include:|
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\gl
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Include
I have now edited the INCLUDE environment variable (Properties -> C/C++ Build -> Environment) to also contain:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\include
Any attempts to include header files located in this last directory are marked as 'unresolved inclusions'. The Includes 'folder' in my project does not change, either. The initial includes (Microsoft SDK) remain fully functional. Have I missed something while trying to add additional include paths? I've triple-checked the spelling and location.
NOTE: When including the full directory to a header file (#include "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\include\cuda.h"), things work just fine. I'd really rather avoid doing that, though.
Powered by FUDForum
. Page generated in 0.02451 seconds