Home » Language IDEs » C / C++ IDE (CDT) » C++ libraries (vector, typeinfo, etc) show up as Unresolved Includes, but are in Include dropdown...
C++ libraries (vector, typeinfo, etc) show up as Unresolved Includes, but are in Include dropdown... [message #1083258] |
Fri, 09 August 2013 18:03 |
J P Messages: 1 Registered: August 2013 |
Junior Member |
|
|
I'm at my wit's end on this. All the threads I've seen on this topic have to do with these C++ libraries not being added to the Includes list, but Eclipse seems to have correctly auto-added my system's include directories including GCC C++. In fact, when I go click them on the Includes dropdown list, I see the includes are right there!
Using Kepler, GCC 4.8.3. These C++ libraries seem to be the only ones missing from the Unresolved Indices search.
If it matters, it seems that the majority of Unresolved Indices are found in a third party library which I have also added to the list of includes, although if I leave it off it will find missing C++ library includes in my code as well.
But I put the C++ include folder (/usr/include/c++/4.8.3 ...) first, and the indexer doesn't seem to acknowledge it. The only include files it seems to acknowledge are C ones. I'm guessing some sort of setting is missing, but I don't know what.
|
|
| |
Re: C++ libraries (vector, typeinfo, etc) show up as Unresolved Includes, but are in Include dropdow [message #1468333 is a reply to message #1084900] |
Mon, 10 November 2014 19:22 |
Ron W Messages: 8 Registered: December 2013 |
Junior Member |
|
|
Update: Deleting the project and recreating it with "Cross GCC" as the tool chain and (re-) adding the include paths resolved the problem.
I am having a similar problem. I have the actual build working, but Eclipse (Kepler) can't find the 3rd party includes.
I read the above linked document about C Scanner Discovery and checked the "Allocate console in the Console View" box as described. The console window appeared, but no warnings nor errors were output.
I have attached screen pictures showing my include path configuration.
I am using:
Eclipse IDE for C/C++ Developers, Version: Kepler Service Release 2, Build id: 20140224-0627
Eclipse GCC Cross Compiler Support, Version: 8.3.0.201402142303
[Updated on: Wed, 12 November 2014 21:44] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Dec 22 06:23:49 GMT 2024
Powered by FUDForum. Page generated in 0.06438 seconds
|