Re: proper way to link to dylib?
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