Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer of external include files and from other projects
Indexer of external include files and from other projects [message #207737] Thu, 10 January 2008 15:50 Go to next message
Eclipse UserFriend
I'm running Eclipse 3.3.1.1 and CDT 4.0.2 on linux

I'm wondering how does the parser find external include files cause it
doesn't seem to work for everything for me.

For example I'm using a Standard make project and on 1 I have libxml2
installed in /usr/include and on another I have it under /usr/local/include

I have gotten it to work on the machine where it's placed in /usr/include
but not the one where it's in /usr/local/include

So where should I add the path for it to make the parser find it?
And is there any other setting that might cause the parser to no be able
to make it work?



The question on related project is: Is there a way to only include part of
a of another project, and will that lessen the load on my computer?
Re: Indexer of external include files and from other projects [message #207777 is a reply to message #207737] Fri, 11 January 2008 09:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kristofer.hansson.gmail.com

In order to make the include files available to the indexer you must add
the include directories you wish the CDT to index.

Project Properties->C/C++ General->Paths and symbols->Includes[tab]->Mark
GNU C++ and click “Add”. Chose File system and browse to the directory
containing the include files.

Fredrik wrote:

> I'm wondering how does the parser find external include files cause it
> doesn't seem to work for everything for me.


/Kristofer
Re: Indexer of external include files and from other projects [message #207783 is a reply to message #207777] Fri, 11 January 2008 11:29 Go to previous message
Eclipse UserFriend
Kristofer wrote:

> In order to make the include files available to the indexer you must add
> the include directories you wish the CDT to index.

> Project Properties->C/C++ General->Paths and symbols->Includes[tab]->Mark
> GNU C++ and click “Add”. Chose File system and browse to the directory
> containing the include files.

> Fredrik wrote:

>> I'm wondering how does the parser find external include files cause it
>> doesn't seem to work for everything for me.


> /Kristofer

Is it possible to add a include directory to several projects at once?
Previous Topic:Build Project stopped working without error message
Next Topic:Property Page Settings [All configurations]
Goto Forum:
  


Current Time: Mon Jul 14 02:30:57 EDT 2025

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

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

Back to the top