linux eclipse [message #778329] |
Thu, 12 January 2012 12:08 |
mr cool Messages: 1 Registered: January 2012 |
Junior Member |
|
|
hi i am new to eclipse ,now i am using eclipse CDT for my C/C++ Application ,but there is problem when i link my external library ,it could not be loaded properly at run time ,even through i put the library file near the source file ,i gave the library path ,and it's name correctly. .
project directory
1.include(.h files)
2.source(.cpp. files..)
3.lib(libbozorth3.a,LSFMatcher.a)
i want link that static libraries with my application i follow this steps
1->project->properties->general->path and symbols->include directory path,and libraries(bozorth3.a,LSFMatcher.a),and add library path .
2->and also i add the same library in linker section also
when i build the program it displays a error
cannot find -lbozorth3.a
cannot find -lLSFMatcher.a
so i need the correct steps to add the external library to c/c++ application.
[Updated on: Thu, 12 January 2012 12:09] Report message to a moderator
|
|
|
Re: linux eclipse [message #778441 is a reply to message #778329] |
Thu, 12 January 2012 15:52 |
|
On 12-Jan-12 05:08, mr cool wrote:
> hi i am new to eclipse ,now i am using eclipse CDT for my C/C++
> Application ,but there is problem when i link my external library ,it
> could not be loaded properly at run time ,even through i put the library
> file near the source file ,i gave the library path ,and it's name
> correctly. .
>
> project directory
> 1.include(.h files)
> 2.source(.cpp. files..)
> 3.lib(libbozorth3.a,LSFMatcher.a)
> i want link that static libraries with my application .so i follow this
> steps
> 1->project->properties->general->path and symbols->include directory
> path,and libraries(bozorth3.a,LSFMatcher.a),and add library path .
> 2->and also i add the same library in linker section also
>
> when i build the program it displays a error
> cannot find -lbozorth3.a
> cannot find -lLSFMatcher.a
>
> so i need the correct steps to add the external library to c/c++
> application.
Check the sticky posts at the top of the forum for where to ask C/C++
questions.
|
|
|
Powered by
FUDForum. Page generated in 0.09242 seconds