Please Help. Static Library and Managed Project [message #107206] |
Tue, 22 June 2004 14:59  |
Eclipse User |
|
|
|
Originally posted by: edubez.hotmail.com
Hi,
I'm trying to add a static library to a managed project
but I can't to work. I can add it to the project but it
doesn't get linked into the executable
I'm using Eclipse RC2 and CDT 2.0 M9.
Best regards,
Eduardo
|
|
|
|
Re: Please Help. Static Library and Managed Project [message #107246 is a reply to message #107234] |
Tue, 22 June 2004 17:36   |
Eclipse User |
|
|
|
Originally posted by: edubez.hotmail.com
kesselhaus wrote:
> Eduardo Bezerra wrote:
> > Hi,
> >
> > I'm trying to add a static library to a managed project
> > but I can't to work. I can add it to the project but it
> > doesn't get linked into the executable
> >
> > I'm using Eclipse RC2 and CDT 2.0 M9.
> >
> > Best regards,
> > Eduardo
> >
> >
> Add it in the project settings in the linker-section->libraries, and do
> not copy it into your project.
> If you static lib uses the GCC-convention having a name like:
> lib<libraryname>.a, e.g. mylib as libmylib.a
> then add the libname (mylib) to the -l list and the path to the -L list.
> Otherwise, if your lib is named like mylib.lib, then add mylib.lib in
> the additional parameters under Misc.
Kesselhaus,
Thank you very much, it worked fine.
I was dealing with this problem about a week without success.
What a relief :^)
Best regards,
Eduardo
|
|
|
Re: Please Help. Static Library and Managed Project [message #143137 is a reply to message #107234] |
Tue, 12 April 2005 05:43  |
Eclipse User |
|
|
|
Originally posted by: matthias_janson.h-p-f.org
Am Tue, 22 Jun 2004 21:29:23 +0200 schrieb kesselhaus:
> Eduardo Bezerra wrote:
>
>> Hi,
>>
>> I'm trying to add a static library to a managed project
>> but I can't to work. I can add it to the project but it
>> doesn't get linked into the executable
>>
>> I'm using Eclipse RC2 and CDT 2.0 M9.
>>
>> Best regards,
>> Eduardo
>>
>>
>
> Add it in the project settings in the linker-section->libraries, and do
> not copy it into your project.
>
> If you static lib uses the GCC-convention having a name like:
> lib<libraryname>.a, e.g. mylib as libmylib.a
> then add the libname (mylib) to the -l list and the path to the -L list.
> Otherwise, if your lib is named like mylib.lib, then add mylib.lib in
> the additional parameters under Misc.
i have the same problem :(
my lib uses the naming convention libXXX.a, i added my lib to the -l list,
and the path of my lib to the -L list, but i doesn't work, do you have an
idea, where the error could lie ??
|
|
|
Powered by
FUDForum. Page generated in 0.06481 seconds