VST export failed
-
@ustk Oh, yeah add the VST2 sdk to the SDK folder as Lindon suggested and that should go away. Seems like it's a bug because when you enable VST3 export I would have thought this message would be suppressed.
-
Ok so I found a way to at least not to have this error message, but it didn't work with
VST2 SDK
but by decompressing thesdk.zip
, which have aVST3 SDK
folder...But when compiling, here's what I get:
And when going into the juce_VST3Headers.h file, it is apparently a version issue, because I don't have
base/source/flock.cpp
file anywhere: -
@ustk Actually the VST3 SDK folder is the VST2.4 SDK ;)
I'm not sure about the flock.cpp thing
-
@d-healey said in VST export failed:
@ustk Actually the VST3 SDK folder is the VST2.4 SDK ;)
Yep you're right, but since there is also a VST2 folder that exists I want to make it clearer...
@Christoph-Hart any thought about this VST3 problem that persists?
-
Also, do we need to recompile Hise every time we change something in the SDK folder?
-
@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.
-