HISE Logo Forum
    • Categories
    • Register
    • Login

    VST export failed

    Scheduled Pinned Locked Moved Bug Reports
    89 Posts 13 Posters 10.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk
      last edited by ustk

      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 the sdk.zip, which have a VST3 SDK folder...

      But when compiling, here's what I get:

      alt text

      And when going into the juce_VST3Headers.h file, it is apparently a version issue, because I don't have base/source/flock.cppfile anywhere:

      alt text

      Can't help pressing F5 in the forum...

      d.healeyD ulrikU 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @ustk
        last edited by d.healey

        @ustk Actually the VST3 SDK folder is the VST2.4 SDK ;)

        I'm not sure about the flock.cpp thing

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @d.healey
          last edited by

          @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?

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk
            last edited by

            Also, do we need to recompile Hise every time we change something in the SDK folder?

            Can't help pressing F5 in the forum...

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @ustk
              last edited by

              @ustk No

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 1
              • ulrikU
                ulrik @ustk
                last edited by

                @ustk That is exactly what I get as well when trying to compile for VST3, if disabling VST3 it compiles fine.

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk
                  last edited by

                  Bump Bump ☺

                  Can't help pressing F5 in the forum...

                  orangeO 1 Reply Last reply Reply Quote 0
                  • orangeO
                    orange @ustk
                    last edited by orange

                    @ustk @ulrik
                    Actually Since Hise uses VST3 SDK, I am using that and I can compile both vst2 & vst3 plugins without any issues with this sdk. This is my folder structure - download the sdk and rename it like that;

                    alt text

                    VST 3 SDK Version 3.6.6

                    develop Branch / XCode 13.1
                    macOS Monterey / M1 Max

                    ulrikU 1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff
                      last edited by

                      I have not been able to successfully compile vst3 either

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      orangeO 1 Reply Last reply Reply Quote 0
                      • orangeO
                        orange @Dan Korneff
                        last edited by orange

                        @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.

                        develop Branch / XCode 13.1
                        macOS Monterey / M1 Max

                        Dan KorneffD 1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @orange
                          last edited by

                          @orange I'm getting the flock.cpp thing

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          orangeO 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey
                            last edited by

                            https://forum.juce.com/t/missing-dependency-in-audio-plugin-host-example-project/21469/8
                            https://forum.juce.com/t/audio-plugin-host-base-source-flock-cpp/24285

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            1 Reply Last reply Reply Quote 0
                            • orangeO
                              orange @Dan Korneff
                              last edited by

                              @dustbro Which sdk version?
                              I am using VST 3 SDK Version 3.6.6, you can download it and try.

                              develop Branch / XCode 13.1
                              macOS Monterey / M1 Max

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @orange
                                last edited by

                                @orange According to the first link I posted

                                You need to update to VST 3.6.7

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • ulrikU
                                  ulrik @orange
                                  last edited by

                                  @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 :(

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

                                  1 Reply Last reply Reply Quote 0
                                  • ustkU
                                    ustk
                                    last edited by

                                    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?

                                    Can't help pressing F5 in the forum...

                                    ulrikU ShikiSuenS 2 Replies Last reply Reply Quote 0
                                    • ustkU
                                      ustk
                                      last edited by

                                      Maybe a flag in the Projucer?

                                      alt text

                                      Can't help pressing F5 in the forum...

                                      1 Reply Last reply Reply Quote 1
                                      • ulrikU
                                        ulrik @ustk
                                        last edited by

                                        @ustk Yes I'm a mac user

                                        Hise Develop branch
                                        MacOs 15.3.1, Xcode 16.2
                                        http://musikboden.se

                                        1 Reply Last reply Reply Quote 0
                                        • orangeO
                                          orange
                                          last edited by orange

                                          @ustk @ulrik

                                          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.

                                          develop Branch / XCode 13.1
                                          macOS Monterey / M1 Max

                                          ulrikU 1 Reply Last reply Reply Quote 2
                                          • ustkU
                                            ustk
                                            last edited by

                                            Thanks man that's a good idea!
                                            Will try it tomorrow and give feedback ;)

                                            Can't help pressing F5 in the forum...

                                            orangeO 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            14

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts