JUCE 6 + AUResources.r

I know this is a bit of a recurring topic on the forums that seems to be resolved in short order, but I can’t seem to figure this one out. I just installed JUCE 6 (via CMake). Everything looks to be in its right place. I can build VST3 and AAX variants without problems. However, I’m now getting for AU:

[ 70%] Generating QUARK_artefacts/JuceLibraryCode/QUARK_AU/secret/QUARK.rsrc
cd /Users/bbuddin/Code/quark/build/QUARK && /Applications/Xcode.app/Contents/Developer/usr/bin/Rez -d "ppc_\$ppc" -d "i386_\$i386" -d "ppc64_\$ppc64" -d "x86_64_\$x86_64" -I /Users/bbuddin/Code/quark/build/QUARK/QUARK_artefacts/JuceLibraryCode/QUARK_AU/secret -I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers -I /Applications/Xcode/app/Contents/Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase -I /Applications/Xcode/app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioUnit.framework/Headers -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk /usr/local/include/JUCE-6.0.0/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r -o /Users/bbuddin/Code/quark/build/QUARK/QUARK_artefacts/JuceLibraryCode/QUARK_AU/secret/QUARK.rsrc
failed to find AUResources/AUResources.r
/usr/local/include/JUCE-6.0.0/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:50: ### Rez - noErr (0) during open of "AUResources.r".
Fatal Error!
/usr/local/include/JUCE-6.0.0/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:50: ### Rez - Fatal Error, can't recover.
AUResources.r: ### Rez - Since errors occurred, /Users/bbuddin/Code/quark/build/QUARK/QUARK_artefacts/JuceLibraryCode/QUARK_AU/secret/QUARK.rsrc's resource fork was not completely updated.

I see that the CoreAudio classes mentioned in other threads are provided at /usr/local/include/JUCE-6.0.0/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses.

I just moved over from FRUT, and wasn’t having this particular issue. I’ve probably left something out in transition, but I’m not quite sure what. Anyone have any advice in troubleshooting this?

I’m running:

  • macOS 10.15.6
  • Xcode 11.6
  • CMake 3.17.3

Looks like the paths were incorrect for 6.0.0 and got corrected in 6.0.1. All good now :slight_smile: