Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Using Open-Source Libraries

Using Open-Source Libraries
Thread Tools
Grizzled Veteran
Join Date: Jun 2001
Status: Offline
Reply With Quote
Mar 5, 2004, 07:45 PM
 
I'm attempting to use some open source software in conjunction with a Cocoa app, but I didn't get very far. I downloaded and compiled the sources for the libraries I want to use, and then put several libraries in my /usr/local/lib directory. Some are .a and some are .dylib (which, I've read, are static and dynamic, respectively). How do I go about using the methods they provide in my own program? This shouldn't be so confusing... Libraries go here, code includes them, code calls methods from them, compile and run. I just don't know how to include them.

This is also my first real on-my-own project with Cocoa. Yes, I know, start with something smaller...there's just no incentive there. Hello world. That's not fun. A developer spent about an hour explaining the Cocoa process, so I think I can do that once I just get these darn libraries working.

The documentation is no help...they just get you to the point of getting the libraries compiled. Any idea what I need to do to get them working?
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Mar 6, 2004, 05:55 AM
 
I think (not my area at all, though) - that the common route for this kind of thing is to include the Libraries inside your app's bundle - then the app can be used on any machine.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2