VST export failed
-
-
@dustbro Which sdk version?
I am using VST 3 SDK Version 3.6.6, you can download it and try. -
@orange According to the first link I posted
You need to update to VST 3.6.7
-
@orange I have the same structure as you, and the latest VST3 SDK downloaded today from Steinberg developer and Hise still don't want to compile a VST3 plugin...strange :(
-
Downloaded the last VST3 SDK.
I placed the VST3_SDK in the SDK folder and renamed it without the underscore
I don't have the VST SDK missing error anymore, but know here I am:▸ Compiling include_juce_gui_extra.mm ▸ Compiling include_juce_opengl.mm ▸ Compiling include_juce_product_unlocking.mm ▸ Compiling include_stk_wrapper.mm ⚠️ /Users/greg/Desktop/HISE-scriptnode/stk_wrapper/../hi_scripting/../hi_sampler/../hi_components/../hi_dsp/../hi_core/../JUCE/modules/juce_dsp/processors/juce_IIRFilter_Impl.h:93:20: unused variable 'isBypassed' [-Wunused-variable] constexpr bool isBypassed = bypassed; ^ ⚠️ /Users/greg/Desktop/HISE-scriptnode/stk_wrapper/stk/src/Stk.cpp:191:11: implicit conversion loses integer precision: 'unsigned long' to 'useconds_t' (aka 'unsigned int') [-Wshorten-64-to-32] usleep( (unsigned long) (milliseconds * 1000.0) ); ^ ▸ Building library libForceIT.a ▸ Building ForceIT/ForceIT - VST3 [Release] ▸ Check Dependencies ▸ Compiling include_juce_audio_plugin_client_VST3.cpp ❌ /Users/greg/Desktop/HISE-scriptnode/JUCE/modules/juce_audio_plugin_client/VST3/../../juce_audio_processors/format_types/juce_VST3Headers.h:148:5: redefinition of 'iid' DEF_CLASS_IID (IPluginBase) ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ❌ /Users/greg/Desktop/HISE-scriptnode/JUCE/modules/juce_audio_plugin_client/VST3/../../juce_audio_processors/format_types/juce_VST3Headers.h:154:5: redefinition of 'iid' DEF_CLASS_IID (IPluginFactory) ^ ❌ /Users/greg/Desktop/HISE-scriptnode/JUCE/modules/juce_audio_plugin_client/VST3/../../juce_audio_processors/format_types/juce_VST3Headers.h:155:5: redefinition of 'iid' DEF_CLASS_IID (IPluginFactory2) ^ ❌ /Users/greg/Desktop/HISE-scriptnode/JUCE/modules/juce_audio_plugin_client/VST3/../../juce_audio_processors/format_types/juce_VST3Headers.h:156:5: redefinition of 'iid' DEF_CLASS_IID (IPluginFactory3) ^ ❌ /Users/greg/Desktop/HISE-scriptnode/JUCE/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp:55:10: 'pluginterfaces/vst2.x/vstfxstore.h' file not found #include "pluginterfaces/vst2.x/vstfxstore.h" ^ ** BUILD FAILED ** The following build commands failed: CompileC build/ForceIT.build/Release/ForceIT\ -\ VST3.build/Objects-normal/x86_64/include_juce_audio_plugin_client_VST3.o /Users/greg/Documents/_PROGRAMMING/ForceIT/Binaries/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Compiling finished. Cleaning up... logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]
In any case, I thought @Christoph-Hart said the VST3 SDK is already in Hise so we don't have to worry about that...
But either with or without, it doesn't work...
Apparently the guy who don't have issue exporting their plugin are apparently not on macOS isn't it?
@ulrik are you a mac user? -
Maybe a flag in the Projucer?
-
@ustk Yes I'm a mac user
-
Also when I use new Hise version, I always clear caches of Projucer and Hise. Because sometimes old data can remain in the cache, so new Hise version couldn't work or compiled properly.
I suggest that:
-
Open "Application Support" folder and delete Projucer and Hise folders.
-
Then download the latest Hise from GitHub and recompile Hise with this SDK. Also be sure that the the renamed "VST3 SDK" folder should contain all of the sdk data under itself and this folder shouldn't have any additional sub folders. For example: the folder shouldn't be like that: "VST3 SDK > VST3_SDK > required sdk files and folders" It should be like this: "VST3 SDK > required sdk files and folders"
-
Then try to compile your vst3 plugin in the new compiled Hise version.
-
-
Thanks man that's a good idea!
Will try it tomorrow and give feedback ;) -
@ustk Also you can change your Hise folder name even. Let's say if your Hise folder is "Hise-master"
Try to change it with "Hise-master_" ;) This will break the old cache ;) -
@orange said in VST export failed:
Also when I use new Hise version, I always clear caches of Projucer and Hise. Because sometimes old data can remain in the cache, so new Hise version couldn't work or compiled properly.
I suggest that:
-
Open "Application Support" folder and delete Projucer and Hise folders.
-
Then download the latest Hise from GitHub and recompile Hise with this SDK. Also be sure that the the renamed "VST3 SDK" folder should contain all of the sdk data under itself and this folder shouldn't have any additional sub folders. For example: the folder shouldn't be like that: "VST3 SDK > VST3_SDK > required sdk files and folders" It should be like this: "VST3 SDK > required sdk files and folders"
-
Then try to compile your vst3 plugin in the new compiled Hise version.
Thank you, I will try it after some sleep :)
Regards! -
-
@orange ,@ustk, after deleting Producer and Hise folders in "Application Support" and getting latest scriptnode code and latest VST 3 SDK, I tried to compile for VST3 plugin and failed again, this is the terminal message:
/Users/ulrikboden/Music/Hise/HISE-scriptnode/JUCE/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp:55:10: 'pluginterfaces/vst2.x/vstfxstore.h' file not found
#include "pluginterfaces/vst2.x/vstfxstore.h"
** BUILD FAILED ** The following build commands failed: CompileC build/Guerrini\ Accordion.build/Release/Guerrini\ Accordion\ -\ VST3.build/Objects-normal/x86_64/include_juce_audio_plugin_client_VST3.o /Users/ulrikboden/Music/Hise/Guerrini\ Accordion/Binaries/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) So I checked inside "pluginterfaces" folder and it didn't include the "vst2.x" folder, so I copied it there and compiled again and, eureka! It worked! :)
-
While I was able to successfully compile my plugin on PC every time, on Mac, I am getting the following error:
No member named 'MidiFiles' in 'hise::FileHandlerBase'
Not sure where this is coming from since I am not using any midi files within my project.
The line in question is this inside plugin.cpp file:
DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::MidiFiles, PresetData::midiFiles, PresetData::midiFilesSize);
@Christoph-Hart Can you tell what is going on here?
-
@Christoph-Hart Still not able to compile VST3 from the last commit (commit - b4b5ab1 - 1h ago)
▸ Compiling include_juce_audio_plugin_client_VST3.cpp ❌ /Users/greg/Desktop/HISE-scriptnode 02-08/JUCE/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp:55:10: 'pluginterfaces/vst2.x/vstfxstore.h' file not found #include "pluginterfaces/vst2.x/vstfxstore.h" ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ** BUILD FAILED ** The following build commands failed: CompileC build/ForceIT.build/Release/ForceIT\ -\ VST3.build/Objects-normal/x86_64/include_juce_audio_plugin_client_VST3.o /Users/greg/Documents/_PROGRAMMING/ForceIT/Binaries/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Compiling finished. Cleaning up... logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]
-
What if you extract the SDK from the .zip file in the repo?
-
@ustk Can you verify if the file is actually there on your computer or truly missing?
-
@Christoph-Hart To compile my plugin, I had to comment out the problematic line within the file.
I also had to comment out 4 lines in order to compile HISE, as there was some sort "duplicate" with regards to SDK downloaded and what is included with JUCE. -
@Christoph-Hart said in VST export failed:
What if you extract the SDK from the .zip file in the repo?
Well, it works!
I don't understand though since the .zip doesn't contain VST3 SDK innit?@gorangrooves said in VST export failed:
@ustk Can you verify if the file is actually there on your computer or truly missing?
The file in question is not present in the VST3 SDK I just downloaded from Steinberg, but it is in the zip from the repo
-
@ustk said in VST export failed:
The file in question is not present in the VST3 SDK I just downloaded from Steinberg, but it is in the zip from the repo
Yes that is because Steinberg removed the VST2 SDK from their distributed VST3 SDK, but if you know the secret password, you'll get the ol' but good one :)
-
@Christoph-Hart Well, I did not understand that:
- this one is the good one
- and that we needed the VST2 files for compiling the VST3
Though there's one thing I understand, it's that I don't understand much...