• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: proper way to link to dylib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proper way to link to dylib?


  • Subject: Re: proper way to link to dylib?
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 7 Oct 2008 22:29:00 -0600


On Oct 7, 2008, at 8:01 PM, Kevin Dixon wrote:

First of all, are there any restrictions or recommendations about how an audio unit should link to libraries...any preference for static or dynamic?

That depends on whether or not other binaries will be linking to the library, no?


Next, if I go the dynamic route, where should I put the library or libraries I link to? I've heard some recommend inside the bundle, but I assume they could live in /usr/local/lib or something like that.

Putting it in the bundle will work if you store the bundle in a very specific location or use the @loader_path macro.


Finally, (embarassing) how, in XCode, do you add a reference to a library?


Drag it in from the Finder, or in the contextual menu, choose Add -> Existing Frameworks.

Nick Zitzmann
<http://seiryu.home.comcast.net/>



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >proper way to link to dylib? (From: Kevin Dixon <email@hidden>)

  • Prev by Date: proper way to link to dylib?
  • Next by Date: Sync issue with AUScheduledSoundPlayer
  • Previous by thread: proper way to link to dylib?
  • Next by thread: Sync issue with AUScheduledSoundPlayer
  • Index(es):
    • Date
    • Thread