Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer reports "No declaration was found"
Indexer reports "No declaration was found" [message #162273] Mon, 23 January 2006 12:29 Go to next message
Eclipse UserFriend
Originally posted by: david.aldrich.t-modus.nec.co.uk

Hi

I have created a new Eclipse project onto a set of existing files. I want
to use Eclipse to analyse these existing source files and therefore want
to use the Indexer.

I have selected "Full C/C++ Indexer" in CDT Preferences, and when I open
the project I see the Indexer progressively indexing the files. However,
when I use F3 / CTRL F3 on a function definition I see "No declaration was
found" in the bottom status bar and the editor does not jump to the
declaration/definition (which is in another file in the project).

I am running CDT 3.0.0 on Windows XP under Java 1.5. I have seen the
indexer functionality work correctly on other projects.

This project is outside of my workspace as it was an existing folder. Is
this an issue?

Any suggestions why indexing is not working for me in this project?
Re: Indexer reports "No declaration was found" [message #162293 is a reply to message #162273] Mon, 23 January 2006 15:06 Go to previous message
Eclipse UserFriend
Originally posted by: christof.frey.freesurf.ch

seems to be a similar problem to what I have. (post of 22.1.06)
In my case it did not index portions of the system path (c++ headers)
If I put all the c++ system headers under the project directory it works
(provided
the include path is correct). Normally it detects the include path
automatically
(standard make project) if not you have to do it manually. If you get
warnings in the
"Problems" pane it is an indication that something with the include path
is wrong.
Chris

David Aldrich wrote:
> Hi
> I have created a new Eclipse project onto a set of existing files. I
> want to use Eclipse to analyse these existing source files and therefore
> want to use the Indexer.
>
> I have selected "Full C/C++ Indexer" in CDT Preferences, and when I open
> the project I see the Indexer progressively indexing the files. However,
> when I use F3 / CTRL F3 on a function definition I see "No declaration
> was found" in the bottom status bar and the editor does not jump to the
> declaration/definition (which is in another file in the project).
>
> I am running CDT 3.0.0 on Windows XP under Java 1.5. I have seen the
> indexer functionality work correctly on other projects.
>
> This project is outside of my workspace as it was an existing folder. Is
> this an issue?
>
> Any suggestions why indexing is not working for me in this project?
>
Previous Topic:Remove file from Eclipse project
Next Topic:CDT + GLUT/OpenGL
Goto Forum:
  


Current Time: Tue Jul 15 03:09:10 EDT 2025

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

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

Back to the top