Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ libraries (vector, typeinfo, etc) show up as Unresolved Includes, but are in Include dropdown...
icon9.gif  C++ libraries (vector, typeinfo, etc) show up as Unresolved Includes, but are in Include dropdown... [message #1083258] Fri, 09 August 2013 18:03 Go to next message
J P is currently offline J PFriend
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 #1084900 is a reply to message #1083258] Mon, 12 August 2013 07:39 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Please have a look at http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_scanner_discovery.htm

There is no need to manually add system include paths.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
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 Go to previous message
Ron W is currently offline Ron WFriend
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

Previous Topic:CDT Successfully installed, but UI not visible
Next Topic:symbol search in eclipse CDT
Goto Forum:
  


Current Time: Sun Oct 13 16:56:58 GMT 2024

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

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

Back to the top