Re: AU from scratch
Re: AU from scratch
- Subject: Re: AU from scratch
- From: Scott Ruda <email@hidden>
- Date: Fri, 28 Nov 2003 12:26:52 -0800
On Fri, 28 Nov 2003, at 19:17:59 +0100, Airy Andri <email@hidden>
wrote:
Le 28 nov. 03, ` 18:03, Scott Ruda a icrit :
One problem I'm having with trying to do a custom view is that if I
add AUResources.r to my resource file I get a 'SyError 0 during open
of AUResources.r. Fatal Error, can't recover.'. (XCode 1.01) I traced
that down to it including something in CoreResources.r file. So I
pulled out the resources I needed from that and the ones needed in
AUResources.r and have everything inline in my own .r file.
You must not include AUResources.r to your project, but you should add
"-I /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase -I
/System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CarbonCore.framework/Versions/A/Headers" to OTHER_REZFLAGS
so the included ".r" files are found (or
"/System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CarbonCore.framework/Versions/A/Headers
/Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase" in "Rez
search paths" in xcode)
(but this problem is not related to AU View since you should have the
same problem with your AU)
OK, that eluded me. I assumed that Rez would automatically search the
project tree - apparently not. I have a copy of the AUPublic directory
in my project tree so that my build won't break 'if' the AUPublic
classes change in a future update. (Note that was the case with the
last copy of the AirySynth source that I got from your site. You
apparently built against the Jaguar versions of those classes, and I am
building on Panther, and some things have changed a bit. It wasn't hard
to resolve. Your code has been very helpful!)
And yes, though it wasn't clear in my post, I had this problem before I
started trying to add the resource for the custom view.
Merci beaucoup-
-s
_______________________________________________
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.