Re: Problem Compiling PublicUtility Classes
Re: Problem Compiling PublicUtility Classes
- Subject: Re: Problem Compiling PublicUtility Classes
- From: Xi Golom <email@hidden>
- Date: Mon, 21 Sep 2009 20:36:39 -0500
Thanks for the amazingly quick reply, Jeff.
I was still targeting 10.5. Switching to 10.6 fixed the problem. I
dropped from over 500 compile errors to 12.
I'll file a bug report as you suggest.
It looks like the remaining errors will involve looking into the
changes to the CA classes, and shouldn't be a problem.
Again, thanks.
-Xi
On Sep 21, 2009, at 8:11 PM, Jeff Moore wrote:
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
_______________________________________________
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