Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using .so ???

Status
Not open for further replies.

Drone38

Programmer
Apr 12, 2000
29
BE
Hi.

I'd like to include .so files, which are like dll i mean. Can u tell me the way to include and call the functions of this files.

Thx.
More: rone@teamchman.com
 
Assuming you have the relevant header files, you'd include those as usual in your files, then link against the libraries. Generally speaking, the .so libraries have a "short" name, like libqt, or libgnome, for example. To link your code against libgnome, using gcc, you'd add the flag '-lgnome' to your compile command line.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top