• 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: App Linking Frustrations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App Linking Frustrations


  • Subject: Re: App Linking Frustrations
  • From: Stephen Davis <email@hidden>
  • Date: Sat, 10 Jan 2004 18:48:20 -0800

It looks like you have added some framework that depends on CoreAudio to your project (AudioUnit, etc.) but not the CoreAudio framework itself. The linker requires that you explicitly link against the CoreAudio framework instead of letting the symbols be found "indirectly" through another framework.

It also appears that you are building on Panther. Try setting the destination OS to 10.3 or later within Xcode and see if that fixes the problem -- there may be a problem with the 10.2.7 SDK libraries that you are linking against.

Hope that helps,
stephen

On Jan 10, 2004, at 2:47 AM, Daniel Todd Currie wrote:

Sorry to hassle you all with this probably trivial problem, but I can't get my stupid app to link. It works beautifully when I have ZeroLink turned on in Xcode, so I really don't think it's a problem with my code (it's a really simple app anyway that just scans for audio devices - 100 or so lines of code is all). I also have another app that uses the same CoreAudio methods and compiles fine; I've compared syntax ten times at least... Here's the gcc error:

ld: ~/Documents/Dev/AudioDeviceInfo/build/AudioDeviceInfo.build/ AudioDeviceInfo.build/Objects-normal/ppc/Controller.o illegal reference to symbol: _AudioDeviceGetProperty defined in indirectly referenced dynamic library /Developer/SDKs/MacOSX10.2.7.sdk/System/Library/Frameworks/ CoreAudio.framework/Versions/A/CoreAudio

It isn't a problem with AudioDeviceGetProperty specifically, since when I comment out that method, the compiler pitches a fit over some other CoreAudio method. I'm absolutely tearing my hair out as I have been trying stupid things for about 4 hours, and I need to get this thing out the door. Any ideas would be appreciated. TIAA.

// Daniel Currie
_______________________________________________
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: 
 >App Linking Frustrations (From: Daniel Todd Currie <email@hidden>)

  • Prev by Date: Varispeed AU
  • Next by Date: Documenation
  • Previous by thread: App Linking Frustrations
  • Next by thread: Documenation
  • Index(es):
    • Date
    • Thread