Now I use eclipse CDT for my C / C ++ application, but there is a problem when I link my external library, it cannot be loaded properly at runtime, even if I put the library file next to the source file, I gave the path to the library, and he correctly called.
project directory:
- include (.h files)
- source (.cpp. files ..)
- Lib (libbozorth3.a, LSFMatcher.a)
I want a link that static libraries with my application have the following steps:
- project-> properties-> general-> path and symbols-> include the path to the directory and library (bozorth3.a, LSFMatcher.a) and add the path to the library.
- and also i add the same library in the linker section as well
When I create a program, it displays an error I cannot find -lbozorth3.a cannot find -lLSFMatcher.a
So, I need the right steps to add an external library to a c / C ++ application.
source share