VST export failed
-
@ustk No
-
@ustk That is exactly what I get as well when trying to compile for VST3, if disabling VST3 it compiles fine.
-
Bump Bump
-
-
I have not been able to successfully compile vst3 either
-
@dustbro Are you getting a warning while compiling? Or the host doesn't detect vst3?
It works on both mac and pc. Vst3 works.Sometimes if you have multiple vst versions for one plugin (like vst2 & vst3), some hosts are very picky. Especially Studio One. It sees only vst2, not vst3 for me. But I didn't see a problem in Ableton, Reaper and Cubase about detecting vst3 plugins.
-
@orange I'm getting the flock.cpp thing
-
-
@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?