Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:38 Go to next message
Vlad  is currently offline Vlad Friend
Messages: 1
Registered: July 2011
Junior Member
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 15:47 Go to previous message
guojian miguel wu is currently offline guojian miguel wuFriend
Messages: 1
Registered: August 2011
Junior Member
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 15:49]

Report message to a moderator

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


Current Time: Thu Apr 25 05:36:39 GMT 2024

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

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

Back to the top