Re: Leopard xcode 3, and audio-unit compile error.
Re: Leopard xcode 3, and audio-unit compile error.
- Subject: Re: Leopard xcode 3, and audio-unit compile error.
- From: William Stewart <email@hidden>
- Date: Tue, 13 Nov 2007 11:14:39 -0800
On Nov 13, 2007, at 10:08 AM, Howard Moon wrote:
Hi Dave,
I don't think that's what Bill was suggesting doing at all.
Instead, the only thing you should have had to do was to change the
system you were targeting, not change any paths or SDK settings, and
certainly not overwrite the CoreAudio files. If you ever want to
target 10.5, you're going to want the proper 10.5 SDK, not the old
10.4 files.
Yes - sorry if I wasn't clear. Its just a define that you add to the
project (or target):
MACOSX_DEPLOYMENT_TARGET 10.4
Bill
I tested Bill's suggestion, and it seems to work fine for me.
(Well, it compiled anyway... I didn't go to the trouble of making a
workable AU and testing if it ran in 10.4.)
-Howard
On Nov 13, 2007, at 9:14 AM, Dave Hoskins wrote:
On Nov 12, 2007, at 2:28 PM, Dave Hoskins wrote:
Hi guys, I've just installed the Leopard OS, and updated to xcode
3.0.
Bringing up my audio unit xcode 2.4 project, and compiling for
'10.4' it
gives the following weird error:-
*ERROR
/Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/
AUBase.cpp:
1307:
error: 'kAudioUnitRenderAction_PostRenderError' was not declared
in this
scope
Are you compiling the correct files? My 10.4 version of that
header has
this:
You're right, my AUBase.cpp appears to want the 10.5 header files.
And it's
the only version of that file on my machine! (developer/examples...)
I installed the 'optional installs' from my Leopard disc, so I
guess it
updated everything.
I just installed the latest(?) apple dev. CoreAudio SDK (which
still says
it's Tiger v.1.4.3) over it, and I now have back the old AUBase
etc. Then I
deleted the 10.5 sdk search path, and without extensive testing,
all seems
fine now.
This seems an awkward way of doing things, or can I have everything
up to
date and still have good 10.4 compatible targets? I'm worried about
all the
changes.
Thanks for the replies Howard and Bill.
Dave Hoskins
_______________________________________________
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
_______________________________________________
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