One CDT project doesn't see the indexes from another CDT project [message #204257] |
Wed, 07 November 2007 05:43  |
Eclipse User |
|
|
|
I am using CDT 4.0.1, but the projects were originally created under eclipse 3.2 and CDT 3.
(interestingly enough, the various dialogs, ie project property dialogs don't look like the dialogs
for projects created using 4.0.1 which I also have in my workspace).
One project (Project B) uses APIs defined in the other project (Project A). I know that these apis
are indexed because in project A, hover over a file from this project shows the information correctly.
when I am editing a file from project B, that uses the APIs, hovering over the API does nothing.
I have set Project B properties to
1. reference Project A in the C/C++ project path (although I don't see that this is relevant as the
gui talks about build paths)
2. reference the Project A directories that contain the header files in C/C++ Include paths and symbols.
Am I missing something ? Maybe I need to migrate the projects to be 4.0.1 specific ? is there a way
to do this ?
|
|
|
Re: One CDT project doesn't see the indexes from another CDT project [message #204361 is a reply to message #204257] |
Thu, 08 November 2007 04:55  |
Eclipse User |
|
|
|
ok, I think I am getting closer to a working setup. My solution was to remove the reference to the
project, (I already had references to the header files using the include path). Doing this allowed
CDT to show all the macro definitions and provide code completion on them.
But I still have a problem. In my header file in the other project for example I have function
prototypes, macros and static inline functions.
The prototypes and macros are picked up, but not the inline functions.
Is there something else I need to do or should I raise a bugzilla ?
thanks
Dave Kelsey
Dave Kelsey wrote:
> I am using CDT 4.0.1, but the projects were originally created under
> eclipse 3.2 and CDT 3. (interestingly enough, the various dialogs, ie
> project property dialogs don't look like the dialogs for projects
> created using 4.0.1 which I also have in my workspace).
>
> One project (Project B) uses APIs defined in the other project (Project
> A). I know that these apis are indexed because in project A, hover over
> a file from this project shows the information correctly.
>
> when I am editing a file from project B, that uses the APIs, hovering
> over the API does nothing.
>
> I have set Project B properties to
> 1. reference Project A in the C/C++ project path (although I don't see
> that this is relevant as the gui talks about build paths)
> 2. reference the Project A directories that contain the header files in
> C/C++ Include paths and symbols.
>
> Am I missing something ? Maybe I need to migrate the projects to be
> 4.0.1 specific ? is there a way to do this ?
|
|
|
Powered by
FUDForum. Page generated in 0.04973 seconds