Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to use .a or .so libraries in Eclipse?
How to use .a or .so libraries in Eclipse? [message #693852] Thu, 07 July 2011 06:38 Go to next message
Eclipse UserFriend
Hello!
I've got kni.a and kni.so libraries (in /usr/lib).
I added them to my Eclipse project, in this way: Project -> Properties -> C/C++ Project Paths -> Libraries -> "Add External Library".
They appeared in project's libraries Tree.
So! How can I invoke functions from libraries, doesnt matter wether from static or dynamic one.
Please, explain both!!! Thanks a lot!
Re: How to use .a or .so libraries in Eclipse? [message #719719 is a reply to message #693852] Sun, 28 August 2011 11:47 Go to previous message
Eclipse UserFriend
1. Under Library Paths add the location of your libraries
2. Under Libraries add the name of your library (in most cases, it's the same as the name of the file, but not always)

[Updated on: Sun, 28 August 2011 11:49] by Moderator

Previous Topic:nullptr
Next Topic:break point attribute problem
Goto Forum:
  


Current Time: Sat Jul 19 11:59:57 EDT 2025

Powered by FUDForum. Page generated in 0.04851 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top