Solved Struggling to export my first test project as VST MacOS Sonoma
-
I'm new to Hise and very excited to get stuck in. I am looking to export my first test project.
I'm running Hise 3.6.2 which I compiled myself on Mac OS Sonoma 14.1 using Xcode 15.
I read that you have to use xcode 14.3.1 to compile the VST after running into similar issues that have been solved with this method.
However now Im getting this issue and Im running out of ideas to try. Can anyone help? Thanks Callum.Last login: Wed May 8 01:31:30 on ttys003 /Users/callumrose/Documents/test\ 123/Binaries/batchCompileOSX ; exit; callumrose@Callums-MacBook-Pro ~ % /Users/callumrose/Documents/test\ 123/Binaries/batchCompileOSX ; exit; Re-saving file: /Users/callumrose/Documents/test 123/Binaries/AutogeneratedProject.jucer Finished saving: Visual Studio 2017 Finished saving: Xcode (macOS) Finished saving: Xcode (iOS) Finished saving: Linux Makefile Error when saving: Can't open resource file: /Users/callumrose/Documents/test 123/Binaries/Source/Images/balanceKnob_200.png Compiling Instrument plugin test 123 ... 2024-05-11 13:27:02.899 xcodebuild[70488:1199499] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled) Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning ▸ Compiling include_juce_product_unlocking.mm ▸ Compiling include_juce_osc.cpp ▸ Compiling include_juce_opengl.mm ▸ Compiling include_juce_gui_extra.mm ▸ Compiling include_juce_graphics.mm ▸ Compiling include_juce_gui_basics.mm ▸ Compiling include_juce_events.mm ▸ Compiling include_juce_dsp.mm ▸ Compiling include_juce_data_structures.mm ▸ Compiling include_juce_cryptography.mm ▸ Compiling include_juce_core.mm ▸ Compiling include_juce_audio_utils.mm ▸ Compiling include_juce_audio_processors.mm ⚠️ /Users/callumrose/Desktop/HISE-develop /JUCE/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp:268:49: unqualified call to 'std::move' [-Wunqualified-std-cast-call] state->processor.addParameterGroup (move (group)); ^ ▸ Compiling include_juce_audio_plugin_client_utils.cpp ▸ Compiling include_juce_audio_plugin_client_VST_utils.mm ▸ Compiling include_juce_audio_formats.mm ▸ Compiling include_juce_audio_devices.mm ▸ Compiling include_juce_audio_basics.mm ▸ Compiling include_hi_zstd_3.mm ❌ /Users/callumrose/Documents/test 123/Binaries/JuceLibraryCode/include_hi_zstd_3.mm:9:10: 'hi_zstd/hi_zstd_3.mm' file not found #include <hi_zstd/hi_zstd_3.mm> ^~~~~~~~~~~~~~~~~~~~~~ ** BUILD FAILED ** The following build commands failed: CompileC /Users/callumrose/Documents/test\ 123/Binaries/Builds/MacOSX/build/test\ 123.build/Release/test\ 123\ -\ Shared\ Code.build/Objects-normal/x86_64/include_hi_zstd_3.o /Users/callumrose/Documents/test\ 123/Binaries/JuceLibraryCode/include_hi_zstd_3.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'test 123 - Shared Code' from project 'test 123') (1 failure) Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. Deleting expired sessions...none found. [Process completed]
-
@cadrose said in Struggling to export my first test project as VST MacOS Sonoma:
I'm running Hise 3.6.2 which I compiled myself
Develop branch?
-
@d-healey yeah
-
@cadrose said in Struggling to export my first test project as VST MacOS Sonoma:
Error when saving: Can't open resource file: /Users/callumrose/Documents/test 123/Binaries/Source/Images/balanceKnob_200.png
This image seems to be the problem
-
@d-healey I really appreciate you taking the time to help!
Im slightly confused by this as im not entirely sure why it would be looking for this image file.
All ive done so far is add two samplers and assigned the gain of each one to a corresponding knob on the interface window which appears like so:
I figured I'd start super simple to get a feel for the process and check stability.
-
@cadrose Open the project XML files (there is more than one) in a text editor and look for any references to that file
-
@d-healey
Apologies if I have misunderstood. I saved the project as XML and checked both and I cant see a reference to it.<?xml version="1.0" encoding="UTF-8"?> <Processor Type="SynthChain" ID="test_123" Bypassed="0" Gain="1.0" Balance="0.0" VoiceLimit="64.0" KillFadeTime="20.0" IconColour="0" packageName="" BuildVersion="650"> <ChildProcessors> <Processor Type="MidiProcessorChain" ID="Midi Processor" Bypassed="0"> <ChildProcessors> <Processor Type="ScriptProcessor" ID="Interface" Bypassed="0"> <ChildProcessors/> <Content> <Control type="ScriptSlider" id="Knob1" value="1.0"/> <Control type="ScriptSlider" id="Knob2" value="1.0"/> </Content> <UIData Source="test_123UIData"/> </Processor> </ChildProcessors> </Processor> <Processor Type="ModulatorChain" ID="GainModulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="PitchModulation" Bypassed="1" Intensity="0.0"> <ChildProcessors/> </Processor> <Processor Type="EffectChain" ID="FX" Bypassed="0"> <ChildProcessors/> </Processor> <Processor Type="StreamingSampler" ID="Soft Barry" Bypassed="0" Gain="1.0" Balance="0.0" VoiceLimit="256.0" KillFadeTime="20.0" IconColour="0" PreloadSize="8192.0" BufferSize="4096.0" VoiceAmount="256.0" SamplerRepeatMode="3.0" RRGroupAmount="1.0" PitchTracking="1.0" OneShot="0.0" CrossfadeGroups="0.0" Purged="0.0" Reversed="0.0" NumChannels="1" UseStaticMatrix="0.0" Group0Table="" Group1Table="" Group2Table="" Group3Table="" Group4Table="" Group5Table="" Group6Table="" Group7Table=""> <ChildProcessors> <Processor Type="MidiProcessorChain" ID="Midi Processor" Bypassed="0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="GainModulation" Bypassed="0" Intensity="1.0"> <ChildProcessors> <Processor Type="SimpleEnvelope" ID="DefaultEnvelope1" Bypassed="0" Monophonic="0.0" Retrigger="1.0" Intensity="1.0" Attack="5.0" Release="10.0" LinearMode="1.0"> <ChildProcessors> <Processor Type="ModulatorChain" ID="Attack Time Modulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> </Processor> </ChildProcessors> </Processor> <Processor Type="ModulatorChain" ID="PitchModulation" Bypassed="0" Intensity="0.0"> <ChildProcessors/> </Processor> <Processor Type="EffectChain" ID="FX" Bypassed="0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="Sample Start" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="Group Fade" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> <channels> <channelData enabled="1" level="0.0" suffix=""/> </channels> <samplemap> <sample Root="69" LoKey="58" HiKey="69" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_A3_45.wav" Duplicate="0"/> <sample Root="83" LoKey="77" HiKey="90" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_B4_59.wav" Duplicate="0"/> <sample Root="36" LoKey="29" HiKey="36" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_C1_12.wav" Duplicate="0"/> <sample Root="50" LoKey="44" HiKey="57" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_D2_26.wav" Duplicate="0"/> <sample Root="76" LoKey="70" HiKey="76" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_E4_52.wav" Duplicate="0"/> <sample Root="43" LoKey="37" HiKey="43" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_G1_19.wav" Duplicate="0"/> </samplemap> </Processor> <Processor Type="StreamingSampler" ID="Soft Barry Grains" Bypassed="0" Gain="1.0" Balance="0.0" VoiceLimit="256.0" KillFadeTime="20.0" IconColour="0" PreloadSize="8192.0" BufferSize="4096.0" VoiceAmount="256.0" SamplerRepeatMode="3.0" RRGroupAmount="1.0" PitchTracking="1.0" OneShot="0.0" CrossfadeGroups="0.0" Purged="0.0" Reversed="0.0" NumChannels="1" UseStaticMatrix="0.0" Group0Table="" Group1Table="" Group2Table="" Group3Table="" Group4Table="" Group5Table="" Group6Table="" Group7Table=""> <ChildProcessors> <Processor Type="MidiProcessorChain" ID="Midi Processor" Bypassed="0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="GainModulation" Bypassed="0" Intensity="1.0"> <ChildProcessors> <Processor Type="SimpleEnvelope" ID="DefaultEnvelope2" Bypassed="0" Monophonic="0.0" Retrigger="1.0" Intensity="1.0" Attack="5.0" Release="10.0" LinearMode="1.0"> <ChildProcessors> <Processor Type="ModulatorChain" ID="Attack Time Modulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> </Processor> </ChildProcessors> </Processor> <Processor Type="ModulatorChain" ID="PitchModulation" Bypassed="0" Intensity="0.0"> <ChildProcessors/> </Processor> <Processor Type="EffectChain" ID="FX" Bypassed="0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="Sample Start" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="Group Fade" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> <channels> <channelData enabled="1" level="0.0" suffix=""/> </channels> <samplemap> <sample Root="69" LoKey="57" HiKey="69" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_A3_45.wav" Duplicate="0"/> <sample Root="83" LoKey="77" HiKey="90" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_B4_59.wav" Duplicate="0"/> <sample Root="36" LoKey="28" HiKey="36" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_C1_12.wav" Duplicate="0"/> <sample Root="50" LoKey="44" HiKey="56" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_D2_26.wav" Duplicate="0"/> <sample Root="76" LoKey="70" HiKey="76" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_E4_52.wav" Duplicate="0"/> <sample Root="43" LoKey="37" HiKey="43" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_G1_19.wav" Duplicate="0"/> </samplemap> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> <macro_controls> <macro name="Macro 1" value="0.0" midi_cc="-1"/> <macro name="Macro 2" value="0.0" midi_cc="-1"/> <macro name="Macro 3" value="0.0" midi_cc="-1"/> <macro name="Macro 4" value="0.0" midi_cc="-1"/> <macro name="Macro 5" value="0.0" midi_cc="-1"/> <macro name="Macro 6" value="0.0" midi_cc="-1"/> <macro name="Macro 7" value="0.0" midi_cc="-1"/> <macro name="Macro 8" value="0.0" midi_cc="-1"/> </macro_controls> <MidiAutomation/> <MPEData Enabled="0"/> </Processor>
2nd xml
<?xml version="1.0" encoding="UTF-8"?> <ContentProperties DeviceType="Desktop"> <Component type="ScriptImage" id="Image1" x="0.0" y="0.0" width="600" height="610" fileName="{PROJECT_FOLDER}IMG_0106.JPG"/> <Component type="ScriptSlider" id="Knob1" x="350.0" y="350.0" processorId="Soft Barry" parameterId="Gain"/> <Component type="ScriptSlider" id="Knob2" x="350.0" y="420.0" processorId="Soft Barry Grains" parameterId="Gain"/> </ContentProperties>
-
@cadrose Have you tried cleaning the build directory before exporting?
-
@d-healey is this what gets created in the binaries folder of the project each time I export? if so, Ive been deleting what gets created each time I've done an export.
-
-
@d-healey Ahha thank you!! I had the Hise source code path set to a previous attempt. I changed it to the current build and thats sorted it!
Although now I cant seem to get the samples to playback through the plugin.
Ive made the .hr1 file and I set the plugin to the location but no sound. The samples play back fine in Hise however. I imagine its something silly I'm doing wrong.
-
@cadrose did you restart the plugin?
-
@Lindon I have yea, it says it’s installed the sounds successfully. I also exported a standalone version but I had the same issue.
-
@cadrose does the link file point to the samples?
-
@d-healey Sorry, are you referring to the choose sample folder box?
I have pointed the samples to the folder created by hise in /music/My Company/test 123/Samples
In here I put .hr1 file & the samples
-
.hr is a compressed archive (like a zip file). Once the samples are extracted from it you don't need to keep it around.
The samples should be in .ch format.
When you select locate samples HISE creates a file called LinkOSX or LinkWindows inside the app data folder. This file contains the path to the samples folder, where your plugin will look for samples. Check that this is the correct path.
-
@d-healey Ahha, yes this was the issue, thanks so much for your help!
-