Content assist with linked library [message #940333] |
Thu, 11 October 2012 10:40  |
Eclipse User |
|
|
|
I am using two pre-compiled libraries, GSL and NLOPT, with CDT for a fairly large project. Content assist works fine for all of the structures defined within my own source code, however it does not work for the structures defined in external libraries, both NLOPT and GSL. It compiles and debugs fine within eclipse, and I've included the directories for include and linked the compiled libraries.
I have another computer on which I have the same source loaded in a project. There, content assist works fine. For example, GSL has a "matrix" structure with attributes "size1" and "size2." These appear on my other computer but not this one.
Is there an option I'm missing?
Thanks
David
|
|
|
Re: Content assist with linked library [message #940393 is a reply to message #940333] |
Thu, 11 October 2012 11:39  |
Eclipse User |
|
|
|
On 10/11/2012 8:40 AM, David Wiczer wrote:
> I am using two pre-compiled libraries, GSL and NLOPT, with CDT for a
> fairly large project. Content assist works fine for all of the
> structures defined within my own source code, however it does not work
> for the structures defined in external libraries, both NLOPT and GSL.
> It compiles and debugs fine within eclipse, and I've included the
> directories for include and linked the compiled libraries.
>
> I have another computer on which I have the same source loaded in a
> project. There, content assist works fine. For example, GSL has a
> "matrix" structure with attributes "size1" and "size2." These appear on
> my other computer but not this one.
>
> Is there an option I'm missing?
>
> Thanks
> David
Content Assist works for third-party libraries only when, in or
alongside in a separate JAR, those libraries furning either Javadoc or
source code AND you wire the former up to the latter (via Build Path).
As I don't have a perfect picture of the two scenarios you evoke here, I
can judge as to why it worked on the other computer and not on the one
you're talking about.
|
|
|
Powered by
FUDForum. Page generated in 0.08189 seconds