Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » File not indexed because it was not built
File not indexed because it was not built [message #147870] Thu, 30 June 2005 20:08 Go to next message
Eclipse UserFriend
I am checking out a source tree into a directory underneath my workspace
directory. Then, I create a new Eclipse project with a name that just
happens to be the name of the top directory of the source tree.

At first, this seems to work fine. When I create the project, Eclipse
sees the source tree and busily sets about indexing it. This is where I
run into problems.

The project I create is a Standard Make C Project (NOT Managed). We
don't actually use make to build the project, and I don't really care to
have Eclipse building the project - I'm perfectly happy to do that by
hand. I really just want Eclipse for editing and indexing so I can
easily navigate the code.

So, as I said, Eclipse sees the source tree there and starts trying to
index it. But the Problems view quickly fills up with information
messages that say "File not indexed because it was not built." Well, of
*course* it's not being built - I don't *want* it to be built. But I
*do* want it to be indexed.

Please, someone with insight tell me what I'm doing wrong here.

BTW, I'm running under Windows XP, using MSYS and MinGW. I'm using the
"make" out of the MinGW directory.
Re: File not indexed because it was not built [message #147878 is a reply to message #147870] Thu, 30 June 2005 20:26 Go to previous message
Eclipse UserFriend
Patrick Turley wrote:
> I am checking out a source tree into a directory underneath my workspace
> directory. Then, I create a new Eclipse project with a name that just
> happens to be the name of the top directory of the source tree.
>
> At first, this seems to work fine. When I create the project, Eclipse
> sees the source tree and busily sets about indexing it. This is where I
> run into problems.
>
> The project I create is a Standard Make C Project (NOT Managed). We
> don't actually use make to build the project, and I don't really care to
> have Eclipse building the project - I'm perfectly happy to do that by
> hand. I really just want Eclipse for editing and indexing so I can
> easily navigate the code.
>
> So, as I said, Eclipse sees the source tree there and starts trying to
> index it. But the Problems view quickly fills up with information
> messages that say "File not indexed because it was not built." Well, of
> *course* it's not being built - I don't *want* it to be built. But I
> *do* want it to be indexed.
>
> Please, someone with insight tell me what I'm doing wrong here.
>
> BTW, I'm running under Windows XP, using MSYS and MinGW. I'm using the
> "make" out of the MinGW directory.

And another potentially interesting fact...

The first item in my Problems view says:

Error launching 'cygpath' command

It's almost as if Eclipse suspects that I'm running Cygwin and is trying
to do something good - but, in fact, I'm running MSYS, which is related
to Cygwin but substantially different. Does anyone know if there's any
stuff in Eclipse that is Cygwin-aware?
Previous Topic:CDT 3.0 RC1 Now Available
Next Topic:PROBLEM CYGWIN GDB PATH MYSTERIES
Goto Forum:
  


Current Time: Mon Apr 28 02:40:17 EDT 2025

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

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

Back to the top