Re: Deployment version build error
Re: Deployment version build error
- Subject: Re: Deployment version build error
- From: Brad Ford <email@hidden>
- Date: Wed, 9 Jun 2004 10:02:40 -0700
Now you've got to add the AudioUnit.framework to your project and link
against that. Fun, isn't it? ;-)
-Brad
On Jun 9, 2004, at 8:20 AM, Chilton Webb wrote:
Hi Brad (and everyone else who answered)
On Jun 9, 2004, at 2:17 AM, Brad Ford wrote:
You need to link against CoreAudio.framework if you're going to use
HAL
calls. Your development builds are probably lulling you into a false
sense
of security because they have zero-link turned on by default (assuming
you're in Xcode). I prefer not to be surprised, so I turn Zero Link
off and
find out up front just what I need to be linking against.
Click on your project's icon at the top of the "Groups and Files"
pane,
Command + I, then click the "Styles" tab, and uncheck the "Zero Link"
checkbox. Then you'll see the same error in your development build
too.
That's what the problem was. But now I've added the
CoreAudio.framework to my project and I still get that build error:
AudioTest:0: Undefined symbols: _AudioOutputUnitStart
_AudioUnitGetProperty _AudioUnitInitialize _AudioUnitRender
_AudioUnitSetProperty
This is what I'm #including...
#include <Carbon/Carbon.h>
#include <AudioToolbox/AudioToolbox.h>
#include <AudioUnit/AudioUnit.h>
#include <CoreFoundation/CoreFoundation.h>
What more do I need to do?
Thanks,
-Chilton
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.