[osg-users] Eclipse-CDT and OSG headers

Maik Beckmann beckmann.maik at googlemail.com
Sat Apr 26 15:37:51 PDT 2008


Maik Beckmann <beckmann.maik at ...> writes:

> Is someone out there who managed to tell the CDT indexer that all files in 
>   include
> are C++ headers?
> 
> I know they can just be opened with the C++ editor, but the indexer keeps on
> ignoring them.  Thus the all the code-browsing functionality (jump to
> declaration/definition) is gone.
> 

I answer myself.

Project Properties -> C/C++ General-> Paths and symbols.
At the "Includes" Tab hit "Add" and add the OSG's include folder.

The indexer does it's work.  The jump to definition etc. stuff works.

Note:  This brings back most of the functionality, but not all.  The CDT Editor
can identify and highlight local, global and member variables etc. . This
doesn't work. 

Best,
 -- Maik



More information about the osg-users mailing list