# Can't rez on AUResources.r

**URL:** <https://forum.juce.com/t/cant-rez-on-auresources-r/4394>\
**Category:** MacOSX and iOS\
**Created:** [October 14, 2009, 7:22pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394 "2009-10-14T19:22:54Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![drolland](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@drolland](https://forum.juce.com/u/drolland)\
**Post date:** [October 14, 2009, 7:22pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/1 "2009-10-14T19:22:54Z")

</div>

I’am trying to compile the demoplugin for mac OSX 10.6 under XCode.  
During the linking process, xcode tells me that he can’t rez on AUResources.r

I’ve tried to add AUResources.r in the Rez Search Path but i’am still unsuccessful, any idea ?

Denis.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [October 15, 2009, 9:46am UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/2 "2009-10-15T09:46:50Z")

</div>

Well, that’s certainly the problem - if it doesn’t work it must just be that you’ve given it the wrong path or something…

---

<div class="post-metadata">

**Author:** ![drolland](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@drolland](https://forum.juce.com/u/drolland)\
**Post date:** [October 15, 2009, 1:21pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/3 "2009-10-15T13:21:04Z")

</div>

I checked many times.  
My rez search path contains the full path to AUResources.r :  
/Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase.

Still unable to compile.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [October 15, 2009, 2:58pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/4 "2009-10-15T14:58:48Z")

</div>

Maybe actually telling us the error message would be a good idea?

---

<div class="post-metadata">

**Author:** ![drolland](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@drolland](https://forum.juce.com/u/drolland)\
**Post date:** [October 16, 2009, 12:12pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/5 "2009-10-16T12:12:54Z")

</div>

Here is the error message given by Xcode :

Rez build/JuceDemoPlugin.build/Debug/JuceDemoPlugin.build/ResourceManagerResources/Objects/juce\_AU\_Resources.rsrc …/…/…/wrapper/AU/juce\_AU\_Resources.r  
cd “/Users/drolland/juce/extras/audio plugins/demo/build/mac”  
/Developer/Tools/Rez -o “/Users/drolland/juce/extras/audio plugins/demo/build/mac/build/JuceDemoPlugin.build/Debug/JuceDemoPlugin.build/ResourceManagerResources/Objects/juce\_AU\_Resources.rsrc” -d SystemSevenOrLater=1 -useDF -script Roman -d ppc\_$ppc -d i386\_YES -d ppc64\_$ppc64 -d x86\_64\_$x86\_64 -I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers -I /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase -arch i386 -i “/Users/drolland/juce/extras/audio plugins/demo/build/mac/build/Debug” -i . -i /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUResources -i “/Users/drolland/juce/extras/audio plugins/demo/build/mac/…/…/…/wrapper/RTAS” -i “/Users/drolland/juce/extras/audio plugins/demo/build/mac/…/…/src” -i /Developer/Examples/CoreAudio/AudioUnits/AUPublic/OtherBases -i /Developer/Examples/CoreAudio/AudioUnits/AUPublic/Utility -i /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUViewBase -i /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUCarbonViewBase -i /Developer/Examples/CoreAudio/PublicUtility -i /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase -i “/Users/drolland/juce/extras/audio plugins/demo/build/mac/build/Debug” -i “/Users/drolland/juce/extras/audio plugins/demo/build/mac/build/Debug/include” -i /Users/drolland/SDKs/vstsdk2.4 -i /developer/headers/vst -isysroot /Developer/SDKs/MacOSX10.5.sdk “/Users/drolland/juce/extras/audio plugins/demo/build/mac/…/…/…/wrapper/AU/juce\_AU\_Resources.r”

failed to find AUResources/AUResources.r  
/Users/drolland/juce/extras/audio plugins/demo/build/mac/…/…/…/wrapper/AU/juce\_AU\_Resources.r:56: ### /Developer/Tools/Rez - SysError 0 during open of “AUResources.r”.  
Fatal Error!  
/Users/drolland/juce/extras/audio plugins/demo/build/mac/…/…/…/wrapper/AU/juce\_AU\_Resources.r:56: ### /Developer/Tools/Rez - Fatal Error, can’t recover.  
AUResources.r: ### /Developer/Tools/Rez - Since errors occurred, /Users/drolland/juce/extras/audio plugins/demo/build/mac/build/JuceDemoPlugin.build/Debug/JuceDemoPlugin.build/ResourceManagerResources/Objects/juce\_AU\_Resources.rsrc’s resource fork was not written.

Denis.

---

<div class="post-metadata">

**Author:** ![Salvator](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Salvator](https://forum.juce.com/u/Salvator)\
**Post date:** [October 16, 2009, 12:21pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/6 "2009-10-16T12:21:55Z")

</div>

Hello,

I had this issue at some point but don’t remember exactly what the problem was… From raw memory I’d say it’s a search path thing, so check in the ‘wrapper’ folder to see if the AU files are indeed there and with good path (i.e. no in bold red).  
Also, try to change the base SDK from 10.5/10.6 etc …

Hoep this helps some,

Salvator

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [October 16, 2009, 1:33pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/7 "2009-10-16T13:33:00Z")

</div>

Yes, this doesn’t look like an include problem, just that your project isn’t pointing at the right files.

---

<div class="post-metadata">

**Author:** ![drolland](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@drolland](https://forum.juce.com/u/drolland)\
**Post date:** [October 16, 2009, 1:57pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/8 "2009-10-16T13:57:38Z")

</div>

Thx a lot, issue solved.

All path were correct but i found a solution.  
I had to put the file AUResources.r in the directory wrapper/AU under the juce tree.

---

<div class="post-metadata">

**Author:** ![AaronLeese](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/aaronleese/32/624_2.png) [@AaronLeese](https://forum.juce.com/u/AaronLeese)\
**Post date:** [December 16, 2011, 5:43am UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/9 "2011-12-16T05:43:11Z")

</div>

+1

Never figured out the rhyme or reason to this … but every time I copy the example plugin project and compile it from another location this problem come up.

It’s been happening for a long time now.

I can’t remember how I used to fix it … and am unsure how to tackle it on the new system since now there are bigger issues when moving the example projects around (like the modules folder gets lost - and re-adding them to the new project is a major pain).

For now, I’m just compiling plugins by copying the demo plugin to another folder in the same directory. Works like a charm like that.

---

<div class="post-metadata">

**Author:** ![AaronLeese](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/aaronleese/32/624_2.png) [@AaronLeese](https://forum.juce.com/u/AaronLeese)\
**Post date:** [February 25, 2012, 9:51pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/10 "2012-02-25T21:51:03Z")

</div>

again …

Now trying to run it on the new lion and xcode 4.3.

Had to save the AU files since they aren’t included in the new sdk (apparently?). But can’t link … see below.

---

<div class="post-metadata">

**Author:** ![AaronLeese](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/aaronleese/32/624_2.png) [@AaronLeese](https://forum.juce.com/u/AaronLeese)\
**Post date:** [July 20, 2012, 11:06pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/11 "2012-07-20T23:06:33Z")

</div>

Oh yeah - solved this. Just need to remove AUResources.h from the rez step. You don’t actually need to rez that, but leaving it in there assure backward compatibility to 10.6.

---

<div class="post-metadata">

**Author:** ![jiggerypokery](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jiggerypokery](https://forum.juce.com/u/jiggerypokery)\
**Post date:** [September 23, 2012, 9:00am UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/12 "2012-09-23T09:00:40Z")

</div>

> [@aaronleese](#):
>
> Oh yeah - solved this. Just need to remove AUResources.h from the rez step. You don’t actually need to rez that, but leaving it in there assure backward compatibility to 10.6.

Sorry, I’m having this error and I am new to this. How do I do that exactly? Having no luck with google ☹

---

<div class="post-metadata">

**Author:** ![Xample](https://avatars.discourse-cdn.com/v4/letter/x/d9b06d/32.png) [@Xample](https://forum.juce.com/u/Xample)\
**Post date:** [February 9, 2013, 12:03pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/13 "2013-02-09T12:03:27Z")

</div>

I get this error all the time when my XCode is unable to actually locate the former /Developer/Extras/CoreAudio folder  
Take a look on this link to ensure all the path are corrects (basically the header search path does matter)  
[http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=9546&start=15](http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=9546&start=15)

---

<div class="post-metadata">

**Author:** ![atom](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/atom/32/113_2.png) [@atom](https://forum.juce.com/u/atom)\
**Post date:** [April 12, 2013, 10:02pm UTC](https://forum.juce.com/t/cant-rez-on-auresources-r/4394/14 "2013-04-12T22:02:37Z")

</div>

Just to update, the correct XCode path for placing the CoreAudio folder you downloaded is:

/Applications/Xcode.app/Contents/Developer/Extras
