Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » include path not found
include path not found [message #1775899] Wed, 08 November 2017 00:42 Go to next message
Joseph Yoo is currently offline Joseph YooFriend
Messages: 1
Registered: November 2017
Junior Member
Whenever I create a new C++ project, I get these warnings in the problems tab:
Invalid project path: Include path not found (\usr\include).
Invalid project path: Include path not found (\usr\include\w32api).
Invalid project path: Include path not found (\usr\lib\gcc\x86_64-pc-cygwin\6.4.0\include).
Invalid project path: Include path not found (\usr\lib\gcc\x86_64-pc-cygwin\6.4.0\include\c++).
Invalid project path: Include path not found (\usr\lib\gcc\x86_64-pc-cygwin\6.4.0\include\c++\backward).
Invalid project path: Include path not found (\usr\lib\gcc\x86_64-pc-cygwin\6.4.0\include\c++\x86_64-pc-cygwin).

I'm using GCC 6.4.0, and have Cygwin/MinGW installed. When I include <iostream> Eclipse tells me that it can't find it. My include paths for C++ in Properties -> C/C++ General -> Paths and symbols are:

C:\MinGW\lib\gcc\mingw32\6.3.0\include\c++
C:\MinGW\lib\gcc\mingw32\6.3.0\include\c++\mingw32
C:\MinGW\lib\gcc\mingw32\6.3.0\include\c++\backward
C:\MinGW\lib\gcc\mingw32\6.3.0\include
C:\MinGW\lib\gcc\mingw32\6.3.0\include-fixed
C:\MinGW\include

Why isn't eclipse trying to find the updated include paths? Any suggestions on how to fix it?
Re: include path not found [message #1776000 is a reply to message #1775899] Thu, 09 November 2017 04:13 Go to previous messageGo to next message
David Vavra is currently offline David VavraFriend
Messages: 627
Registered: October 2012
Senior Member
It looks like the discovery option for compiler builtins is set incorrectly.
Verify that the builtin provider for MinGW has been selected on the Providers tab.
Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. --> Providers tab
index.php/fa/31259/0/

[Updated on: Thu, 09 November 2017 05:56]

Report message to a moderator

Re: include path not found [message #1777772 is a reply to message #1775899] Mon, 04 December 2017 14:20 Go to previous message
Thomas Cox is currently offline Thomas CoxFriend
Messages: 1
Registered: December 2017
Junior Member
I am having the same problem. I am using Gygwin instead of MinGW. My tool versions are
Elcipse 4.6.1 (Neon.1)
CDT 9.6.1
Cygwin 2.882 64-bit

My checklist of providers in Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. --> Providers tab looks as shown, except that MinGW is replaced with Cygwin.

That has not resolved the problem.

Another forum suggested pressing the Clear Entries button in Workspace Settings-> C/C++ -> Build -> Settings -> Discovery. That button is always disabled.

Does anyone have any additional suggestions?
Previous Topic:Where did the "use parallel build" checkbox go?
Next Topic:MINGW_HOME Relative Path (code cannot be debugged)
Goto Forum:
  


Current Time: Thu Dec 14 08:18:56 GMT 2017

Powered by FUDForum. Page generated in 0.02081 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software