AU from scratch [was: Re: can't compile SampleEffect & MultitapAU]
AU from scratch [was: Re: can't compile SampleEffect & MultitapAU]
- Subject: AU from scratch [was: Re: can't compile SampleEffect & MultitapAU]
- From: nick <email@hidden>
- Date: Thu, 20 Nov 2003 15:59:22 +0000
Along the same lines as this thread, has anyone had any luck creating
an AudioUnit from scratch? I mean creating a new PB project etc.. What
type of project does one have to start with?
How to configure the targets... other setting that are required etc..?
I did try by specifying a Carbon Bundle, is this the right thing? I
couldn't see how to make the target a .component as opposed to a .bundle
The documentation out there seems to ignore this stage
Cheers,
Nick
On Wednesday, Nov 19, 2003, at 18:30 Europe/London, Marc Poirier wrote:
It looks like it must be using a relative include path for Rez rather
than
an absolute path. Well, that's my guess. Rez always gives such
wonderfully indecipherable error messages.
In my AU projects, I have my Rez include path set like this:
-I /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase -I
/System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CarbonCore.framework/Versions/A/Headers
You can do that in Target Settings -> Settings -> Expert View ->
OTHER_REZFLAGS
Marc
On Wed, 19 Nov 2003, Patrick Gostovic wrote:
On that note, I have found that if I move the SampleEffect project to
any other folder than its original location, it won't build all the
way. I did locate all of the missing (red) files. Compile goes fine,
linking is fine, but "Rezzing" (whatever that is) fails with the error
below. Anyone know why?
FYI, this is on a fresh Panther install.
RezCollector.initial
/Users/ghoti/Desktop/SampleAUs/build/SampleEffect.build/
SampleEffectUnit.build/ResourceManagerResources/SampleEffectUnit.rsrc
/bin/rm -f
/Users/ghoti/Desktop/SampleAUs/build/SampleEffect.build/
SampleEffectUnit.build/ResourceManagerResources/SampleEffectUnit.rsrc
&& \
/Developer/Tools/Rez -o
/Users/ghoti/Desktop/SampleAUs/build/SampleEffect.build/
SampleEffectUnit.build/ResourceManagerResources/SampleEffectUnit.rsrc
-d "SystemSevenOrLater=1" -useDF "-I" "../AUPublic/AUBase" "-I"
"/System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CarbonCore.framework/Versions/A/Headers" -i
/Users/ghoti/Desktop/SampleAUs/build -i
/Users/ghoti/Desktop/SampleAUs/build/include SampleEffectUnit.r
File "SampleEffectUnit.r"; Line 29; ### /Developer/Tools/Rez -
SysError
0 during open of "AUResources.r".
Fatal Error!
File "SampleEffectUnit.r"; Line 29; ### /Developer/Tools/Rez - Fatal
Error, can't recover.
File "AUResources.r"; ### /Developer/Tools/Rez - Since errors
occurred,
/Users/ghoti/Desktop/SampleAUs/build/SampleEffect.build/
SampleEffectUnit.build/ResourceManagerResources/
SampleEffectUnit.rsrc's
resource fork was not written.
...failed RezCollector.initial
/Users/ghoti/Desktop/SampleAUs/build/SampleEffect.build/
SampleEffectUnit.build/ResourceManagerResources/SampleEffectUnit.rsrc
...
_______________________________________________
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.
_______________________________________________
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.