• 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: Problem Compiling PublicUtility Classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem Compiling PublicUtility Classes


  • Subject: Re: Problem Compiling PublicUtility Classes
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 21 Sep 2009 18:11:14 -0700

There was a fairly substantial reworking of the code in PublicUtility, not the least of which was the fact that it moved on 10.6 from being in /Developer/Examples/CoreAudio to /Developer/Extras/CoreAudio. So, the first step is to make sure that you are compiling the right code.

The other big change was that we pruned the code quite a bit. So, once you are sure you are compiling the right files, you need to see if the code you used previously is still there. Quite a few things were removed, so it's possible we got rid of something you were using. Note that if this is the case, please file a bug in bug reporter (be sure to include why you were using the code in question).

Another way this might have gotten messed up is if you aren't targeting the 10.6 SDK. To my knowledge all the code in PublicUtility should be compilable on SnowLeopard. But it's possible that some of it won't compile if you are targeting the older OS SDKs. It's probably worth filing a bug if this is the case as well.


On Sep 21, 2009, at 5:22 PM, Xi Golom wrote:

I just moved a project (which I have previously not had problems building) from a 10.5 machine to a 10.6 machine and have tried building it with XCode 3.2.

I'm getting many compile errors from the CA classes in the PublicUtility folder, which I make extensive use of.

Simply trying to compile CAAudioUnit.cpp results in 70 errors. The first problem seems to be the compilers inability to find a declaration for AudioComponentDescription.

I have the AudioUnit.framework linked in my project, and would expect this to provide the missing declaration, as it contains AudioComponent.h.

What has changed in how I build PublicUtility classes?


--

Jeff Moore
Core Audio
Apple



_______________________________________________
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


  • Follow-Ups:
    • Re: Problem Compiling PublicUtility Classes
      • From: Xi Golom <email@hidden>
References: 
 >Problem Compiling PublicUtility Classes (From: Xi Golom <email@hidden>)

  • Prev by Date: Problem Compiling PublicUtility Classes
  • Next by Date: Re: Problem Compiling PublicUtility Classes
  • Previous by thread: Problem Compiling PublicUtility Classes
  • Next by thread: Re: Problem Compiling PublicUtility Classes
  • Index(es):
    • Date
    • Thread