Re: [Anjuta-list] Linking to shared objects in your project



Hi, 
    Thanks for that. 

George

On Sun, 2008-10-26 at 10:54 -0700, Johannes Schmid wrote:
> Hi!
> 
> Click right into the project manager on your executable (the target).
> Select Properties->Advanced... and add -lxxx to "Libraries" and
> "-L../path_to_lib" to LDFLAGS (if the library is build in a different
> directory).
> 
> Regards,
> Johannes
> 
> Am Sonntag, den 26.10.2008, 14:54 +0000 schrieb George McLachlan:
> > Hi,
> >    I am playing about with anjuta (from svn) and I can't figure out how
> > to link to a shared object within the project to the executable. 
> > 
> > I create a new target and select shared library, libxxx.la. I can then
> > compile this and libtool generates a shared object for me. 
> > 
> > However when I try to compile the project with the the newly created
> > shared object it fails. This seems to be because my executable is not
> > linking against the .so in the project. 
> > 
> > 
> > George 
> > 
> > 
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Anjuta-list mailing list
> > Anjuta-list lists sourceforge net
> > https://lists.sourceforge.net/lists/listinfo/anjuta-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]