Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to use external *.so library?
How to use external *.so library? [message #798944] Wed, 15 February 2012 08:57 Go to next message
alexandr zatevalov is currently offline alexandr zatevalovFriend
Messages: 21
Registered: February 2012
Junior Member
Good day!
How i can use the external *.so library in my C++ project?

Files:
1. aaa.so
2. bbb.h
3. Code Source file.

Re: How to use external *.so library? [message #798996 is a reply to message #798944] Wed, 15 February 2012 10:09 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
See FAQ http://wiki.eclipse.org/CDT/User/FAQ

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: How to use external *.so library? [message #799018 is a reply to message #798996] Wed, 15 February 2012 10:41 Go to previous messageGo to next message
alexandr zatevalov is currently offline alexandr zatevalovFriend
Messages: 21
Registered: February 2012
Junior Member
Thanx, but i have one problem:
index.php/fa/7161/0/
index.php/fa/7162/0/
  • Attachment: 111.png
    (Size: 123.73KB, Downloaded 555 times)
  • Attachment: 222.png
    (Size: 15.20KB, Downloaded 550 times)
Re: How to use external *.so library? [message #799047 is a reply to message #799018] Wed, 15 February 2012 11:26 Go to previous messageGo to next message
alexandr zatevalov is currently offline alexandr zatevalovFriend
Messages: 21
Registered: February 2012
Junior Member
I have a header file bbb.h.
I must place it in "project/src" directory?? or other?
Re: How to use external *.so library? [message #799124 is a reply to message #799047] Wed, 15 February 2012 13:27 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
For the library name you must omit the lib at the beginning and the trailing .so
In your case SUSI-3.02

See http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html

You should either put the header into project/src or add PATH_TO_HEADER to your include path.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: How to use external *.so library? [message #799356 is a reply to message #799124] Wed, 15 February 2012 19:43 Go to previous messageGo to next message
alexandr zatevalov is currently offline alexandr zatevalovFriend
Messages: 21
Registered: February 2012
Junior Member
Thanx, tomorrow i will try!
Re: How to use external *.so library? [message #800609 is a reply to message #799356] Fri, 17 February 2012 09:16 Go to previous message
alexandr zatevalov is currently offline alexandr zatevalovFriend
Messages: 21
Registered: February 2012
Junior Member
Thanx! It works!! Smile
Previous Topic:cppcheck
Next Topic:How do I make eclipse _not_ recurse into directories
Goto Forum:
  


Current Time: Wed Apr 24 23:57:14 GMT 2024

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

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

Back to the top