Community
Participate
Working Groups
-- Configuration Details -- Product: Eclipse 4.4.1.20140925-1820 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 4.4.0.v20140925-0400 Setting up a default project with the C++ compiler target as Microsoft Visual C++ results in a project which generates a warning. The issue appears to be the include path specification. This set by default to C:\Program Files (x86)\Windows Kits\8.0\Include;C:\Program Files (x86)\Windows Kits\8.0\Include\gl;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\Include The error shown is Description Resource Path Location Type Invalid project path: Include path not found (C:\Program Files (x86)\Windows Kits\8.0\Include\gl). ASampleTestMSVC pathentry Path Entry Problem When inspecting the 'C:\Program Files (x86)\Windows Kits\8.0\Include\gl' path I find the 'gl' sub-directory is under a 'um' directory. Thus the correct path appears to be C:\Program Files (x86)\Windows Kits\8.0\Include;C:\Program Files (x86)\Windows Kits\8.0\Include\um\gl;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\Include However, modifying the path does not make this issue go away. With the modified path, that no longer references 'C:\Program Files (x86)\Windows Kits\8.0\Include\gl' but 'C:\Program Files (x86)\Windows Kits\8.0\Include\um\gl' it still complains about not being able to find 'C:\Program Files (x86)\Windows Kits\8.0\Include\gl'.
Forgot to add I'm using Microsoft Visual Studio Professional 2013.
Further investigation reveals, whilst I changed the environment variable in the project for the C++ include path, the erroneous path actually comes from the project explorer. I can see under the list of includes the faulty directory specification. However, the 'delete' option is grayed out. It's not clear to me how I delete the offending include specifier, having now corrected the C++ build environment. BTW, it doesn't seem this line is necessary in the list of includes, because you include the parent directory in the line above in the project explorer view.
Using Visual Studio 2013 the default include path would be "Microsoft Visual Studio 12.0\VC\Include" And probably also "Windows Kits\8.1\Include" However I have the same problem. Mine is slightly different because by default I have only the "Windows Kits\8.0\Include" and the usual wrong path "Kits\8.0\Include\gl" I need to add the "Microsoft Visual Studio 12.0\VC\Include" by hand in every project, because there's no way to make that as default
(In reply to Holn Kpnv from comment #3) > Using Visual Studio 2013 the default include path would be > "Microsoft Visual Studio 12.0\VC\Include" > And probably also "Windows Kits\8.1\Include" > > However I have the same problem. > Mine is slightly different because by default I have only > the "Windows Kits\8.0\Include" and the usual wrong path "Kits\8.0\Include\gl" > > I need to add the "Microsoft Visual Studio 12.0\VC\Include" by hand in every > project, because there's no way to make that as default And yes, a working button to delete those wrong defaults would be highly appreciated