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.
    • 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
                  • orangeO
                    orange @ustk
                    last edited by

                    @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 ;)

                    develop Branch / XCode 13.1
                    macOS Monterey / M1 Max

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

                      @orange said in VST export failed:

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

                      Thank you, I will try it after some sleep :)
                      Regards!

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

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

                        @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!
                        :)

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

                        1 Reply Last reply Reply Quote 1
                        • gorangroovesG
                          gorangrooves
                          last edited by

                          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?

                          Goran Rista
                          https://gorangrooves.com

                          Handy Drums and Handy Grooves
                          https://library.gorangrooves.com

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

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

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

                            gorangroovesG 1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart
                              last edited by

                              What if you extract the SDK from the .zip file in the repo?

                              gorangroovesG ustkU 2 Replies Last reply Reply Quote 0
                              • gorangroovesG
                                gorangrooves @ustk
                                last edited by

                                @ustk Can you verify if the file is actually there on your computer or truly missing?

                                Goran Rista
                                https://gorangrooves.com

                                Handy Drums and Handy Grooves
                                https://library.gorangrooves.com

                                1 Reply Last reply Reply Quote 0
                                • gorangroovesG
                                  gorangrooves @Christoph Hart
                                  last edited by

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

                                  Goran Rista
                                  https://gorangrooves.com

                                  Handy Drums and Handy Grooves
                                  https://library.gorangrooves.com

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

                                    @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

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

                                    1 Reply Last reply Reply Quote 0
                                    • Christoph HartC
                                      Christoph Hart
                                      last edited by

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

                                      ustkU M 2 Replies Last reply Reply Quote 2
                                      • ustkU
                                        ustk @Christoph Hart
                                        last edited by ustk

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

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

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mwplugs @Christoph Hart
                                          last edited by

                                          @Christoph-Hart what is the password and why is there a password? it says nothing anywhere about it

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

                                            @mwplugs Have a look at the 2nd post ;)

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

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

                                            38

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts