Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Content assist with linked library(Content assist works with structures within my own program but not an external library (GSL))
Content assist with linked library [message #940333] Thu, 11 October 2012 10:40 Go to next message
David Wiczer is currently offline David Wiczer
Messages: 1
Registered: October 2012
Junior Member
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 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3153
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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.
Previous Topic:Error message to install Python or Perl packages
Next Topic:HOW TO GET THE WORD-WRAP PLUGIN TO WORK IN TEXCLIPSE
Goto Forum:
  


Current Time: Thu Aug 28 05:16:41 EDT 2014

Powered by FUDForum. Page generated in 0.03838 seconds