Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexing of external includes not working(Stopped working after Helios update)
Indexing of external includes not working [message #686643] Wed, 22 June 2011 12:31 Go to next message
Eclipse UserFriend
I am building from within Eclipse and it was able to index my includes fine with Eclipse 3.5 but now with 3.6 it only finds the project sources and not the external one. How can i debug this and figure out why it's failing?

Btw - it looks like the list of Include Directories under C/C++ General/Paths and Symbol doesn't get populated anymore.

[Updated on: Wed, 22 June 2011 15:38] by Moderator

Re: Indexing of external includes not working [message #689203 is a reply to message #686643] Mon, 27 June 2011 03:14 Go to previous messageGo to next message
Eclipse UserFriend
For external includes to be found you have to add the include path to Project Properties->C/C++ General->Paths and Symbols->Include

In case of a Makefile project external includes are found after the first build of your project (compiler output is scanned).
Re: Indexing of external includes not working [message #690607 is a reply to message #689203] Wed, 29 June 2011 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Alex,

This is indeed a Makefile project but building it doesn't seem to cause the includes to be populated. Any idea how I can debug what's happening?

Thanks,
Naoum
Re: Indexing of external includes not working [message #690814 is a reply to message #690607] Thu, 30 June 2011 05:06 Go to previous messageGo to next message
Eclipse UserFriend
Naoum wrote on Wed, 29 June 2011 22:11
Alex,

This is indeed a Makefile project but building it doesn't seem to cause the includes to be populated. Any idea how I can debug what's happening?

Thanks,
Naoum

Then you should add them manually
Project Properties->C/C++ General->Paths and Symbols->Include
Re: Indexing of external includes not working [message #691028 is a reply to message #690814] Thu, 30 June 2011 11:15 Go to previous messageGo to next message
Eclipse UserFriend
Are you saying the dynamic discovery does no work in Helios and is not supported anymore?
Re: Indexing of external includes not working [message #691277 is a reply to message #691028] Fri, 01 July 2011 02:51 Go to previous messageGo to next message
Eclipse UserFriend
Naoum wrote on Thu, 30 June 2011 17:15
Are you saying the dynamic discovery does no work in Helios and is not supported anymore?

No, it should still work. I did not encounter any problems.
Do you use the same project after the Helios update? Did you change anything? What are your settings in Project Properties->C/C++ Build->Discovery Options?
Re: Indexing of external includes not working [message #691300 is a reply to message #690814] Fri, 01 July 2011 03:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex,

I'm using Eclipse 3.6 under windows so I added all the external include directories manually(same for 3.5).
Searching for references is working well in 3.5 however 3.6 doesn't always give back all of them(even if the symbols are listed in the index file).

Attila
Re: Indexing of external includes not working [message #721068 is a reply to message #691300] Wed, 31 August 2011 16:05 Go to previous message
Eclipse UserFriend
FYI - I updated to Indigo (3.7) and recreated everything from scratch (workspace and src dir) and it works fine.
Previous Topic:CDT 8.0 not finding functions from math.h
Next Topic:error after running debugger
Goto Forum:
  


Current Time: Sun Jul 20 16:21:19 EDT 2025

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

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

Back to the top