Adding external static library to C project [message #1769765] |
Thu, 03 August 2017 05:06  |
Eclipse User |
|
|
|
I've been working on a project for embedded system and it needs SSL/TLS functionality.
I downloaded SSL project from GitHub (WolfSSL to be specific), compiled it with autotools, then created a static library libwolfssl.a using ar from libtools which archived all the .o files
I need to use the functions implemented in WolfSSL in my code, for example SSL_Library_Init()
How can I add the static library and use the functions using Eclipse IDE ?
I tried the following:
Added library path to the C linker -L: ${workspace_loc:/${ProjName}/lib}
Added library name to -l : wolfssl where the library name is libwolfssl.a
When I try to build the project, anything related to SSL is not recognized yet, ex: SSL_Library_Init and so on
Is this the correct way to do this?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06651 seconds