• 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: Deployment version build error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Deployment version build error (From: Brad Ford <email@hidden>)
 >Re: Deployment version build error (From: Chilton Webb <email@hidden>)

  • Prev by Date: Re: Deployment version build error
  • Next by Date: [ANN] Rax 1.0 released
  • Previous by thread: Re: Deployment version build error
  • Next by thread: Re: Audio unit view communication
  • Index(es):
    • Date
    • Thread