Problem building AU plugin
-
Newbie to all of this... I've managed to build a simple VST plugin but every time I try and export for AU I get this error: Command /Applications/Xcode.app/Contents/Developer/usr/bin/Rez failed with exit code 3
Took me a while to get to this point, but now I can't seem to get beyond it. Any nudges in the the right direction would be greatly appreciated.
Thanks!
-
@irnglxy Could you post a screenshot?
-
Thanks so much for the swift reply! Attaching a screenshot from Xcode.
-
Have you selected x64 build only? And unchecked Mac 32bit support in the project preferences?
-
Ah, actually I had not unchecked Mac 32bit support. What I had been doing was opening the Autogenterated Juce project when the build failed, checking 64 bit there, then saving and opening in Xcode... which would give me the error passed on. Is there somewhere else I should be selecting x64 build only?
Unchecking that 32 bit box seems to get it to compile in terminal but I still end up with:
▸ Check Dependencies
** BUILD FAILED **The following build commands failed:
Rez build/Ned\ HISE.build/Release/Ned\ HISE\ -\ AU.build/ResourceManagerResources/Objects/include_juce_audio_plugin_client_AU.rsrc /Users/music/HISE\ Projects/Binaries/JuceLibraryCode/include_juce_audio_plugin_client_AU.r
(1 failure)
Compiling finished. Cleaning up...I can almost guarantee that I've failed to do something painfully obvious - I just can't figure out what.
Thanks for the help!
-
@irnglxy said in Problem building AU plugin:
What I had been doing was opening the Autogenterated Juce project when the build failed, checking 64 bit there
When you say "checking" do you mean selecting
64-bit Intel
from the drop down menu? If so are you doing this for the release or debug build, and are you selecting to build for profiling in xcode? -
Yes, selecting 64 Bit Intel for both Release and Debug in JUCE, then doing a 'Save Project and Open In IDE'. From Xcode, selecting 'Build For Profiling'. It gets all the way to the end before giving that error. Have tried on both my desktop and laptop with the same problem.
-
@irnglxy i have the same issue with my mac builds. I havent found a solution as of yet
-
@irnglxy Found this
https://forum.juce.com/t/rez-failed-to-find-auresources-auresources-r-since-update-to-osx-10-10-xcode-6-1/13843
It seems that you might have to re-install Xcode -
@ustk cool I’ll give it a run. Thank you !
-
Glad it's not just me having problems. Will try a reinstall...
Thanks...
-
I just reinstalled Xcode, and that article posted on JUCE forum. seems to indicate they pulled AU related development files into JUCE and that nothing else should be required. I am still getting the error :
▸ Processing Info-AU.plist
** BUILD FAILED **The following build commands failed:
Rez /Users/nicholascraftisiii/Dropbox/Vibrator\ Synths/HISE/PhaseWizard/Binaries/Builds/MacOSX/build/PhaseWizard.build/Release/PhaseWizard\ -\ AU.build/ResourceManagerResources/Objects/include_juce_audio_plugin_client_AU.rsrc /Users/nicholascraftisiii/Dropbox/Vibrator\ Synths/HISE/PhaseWizard/Binaries/JuceLibraryCode/include_juce_audio_plugin_client_AU.r
(1 failure)seems tied to these files : Binaries/JuceLibraryCode/include_juce_audio_plugin_client_AU.r,
and /Objects/include_juce_audio_plugin_client_AU.rsrc -
@MacroMachines said in Problem building AU plugin:
include_juce_audio_plugin_client_AU.r
Those files are definately where they are supposed to be, this file is just this :
/* IMPORTANT! This file is auto-generated each time you save your project - if you alter its contents, your changes may be overwritten! */ #include "AppConfig.h" #include <juce_audio_plugin_client_AU.r>
-
@MacroMachines The other file is 286 bytes and I think might be some kind of file I can't directly open, shows up in text edit as
''
-
-
@MacroMachines I don't understand why this is not working. AU is already embedded in Hise, you don't need to do anything for it to work. Except having the good xcode and Hise of course
-