Re: Rez file error
Re: Rez file error
- Subject: Re: Rez file error
- From: Audio Ease <email@hidden>
- Date: Fri, 22 Nov 2002 18:06:06 +0100
thanks, Marc, for the response, but it doesn't clarify the problem.
the coreservices framework is in the project, I even tried adding it
as a separate search path, but that didn't work.
I am not using the kAudioUnitCarbonViewComponentType constant, but
filled in 'auvw' as literal.
There are no other weirdness in the .r file, I used it with success
in CodeWarrior (which ws giving me other problems).
but Codewarrior has its own copy of ConditionalMacros.r in its MacOSX
folder, so no trouble finding it.
I'm not entirely sure that the error 0 indicates that the file is not found.
As PB has no way to look at a preprocessed file it's hard to
determine what the problem actually is.
Also, I've tried Urs' UI project and that doesn't give me the error.
Copying his source to my .r file doesn't work either. I've tried
changing the include of <CoreServices/CoreServices.h> to
<Vlaggemast.h> and that gives me an error 0. So that may mean that
the rez compiler gives error 0 whatever's wrong.
Peter Bakker
Audio Ease
> File
"/System/Library/Frameworks/AudioUnit.framework/Headers/AUComponent.r";
Line 22; ### /Developer/Tools/Rez - SysError 0 during open of
"ConditionalMacros.r".
Fatal Error!
It happens when compiling the .r file of my audiounit, sometimes also
happens when compiling other sample projects.
One thing is that Rez will give bad errors if you have mucke dup the
defines (if you are using the handy AUResources.r) in some way, or haven't
defined something that AUResources.r expects to be defined. Another thing
might be if you are using kAudioUnitCarbonViewComponentType, it is defined
in AudioUnitCarbonView.r, which should have been included in AudioUnit.r
but wasn't (you can confidently add an include for it, though, I posted
about this a while ago and Bill said that it should have been done).
The actual "ConditionalMacros.r" file is in the
CoreServices/CarbonCore.framework, and I was wondering if that needed
a special search path in Project Builder.
Yes, you should have CoreServices.framework as part of your project.
Marc
_______________________________________________
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.