HISE Logo Forum
    • Categories
    • Register
    • Login

    VSTi export errors

    Scheduled Pinned Locked Moved General Questions
    10 Posts 2 Posters 713 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
      last edited by

      I'm getting some errors when trying to build a VSTi

      In file included from ../../JuceLibraryCode/JuceHeader.h:21:0,
                       from ../../Source/Plugin.cpp:2:
      ../../Source/Plugin.cpp: In static member function ‘static juce::MemoryInputStream* hise::FrontendFactory::getEmbeddedData(hise::FileHandlerBase::SubDirectories)’:
      ../../Source/Plugin.cpp:6:57: error: ‘impulses’ is not a member of ‘PresetData’
       DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::AudioFiles, PresetData::impulses, PresetData::impulsesSize);
                                                               ^
      /media/dave/work1/HISE Development Builds/HISE/hi_frontend/hi_frontend.h:151:104: note: in definition of macro ‘DEFINE_EMBEDDED_DATA’
       #define DEFINE_EMBEDDED_DATA(subdirectory, data, size) case subdirectory: return new MemoryInputStream(data, size, false);
                                                                                                              ^
      ../../Source/Plugin.cpp:6:79: error: ‘impulsesSize’ is not a member of ‘PresetData’
       DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::AudioFiles, PresetData::impulses, PresetData::impulsesSize);
                                                                                     ^
      /media/dave/work1/HISE Development Builds/HISE/hi_frontend/hi_frontend.h:151:110: note: in definition of macro ‘DEFINE_EMBEDDED_DATA’
       #define DEFINE_EMBEDDED_DATA(subdirectory, data, size) case subdirectory: return new MemoryInputStream(data, size, false);
                                                                                                                    ^
      ../../Source/Plugin.cpp:7:53: error: ‘images’ is not a member of ‘PresetData’
       DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Images, PresetData::images, PresetData::imagesSize);
                                                           ^
      /media/dave/work1/HISE Development Builds/HISE/hi_frontend/hi_frontend.h:151:104: note: in definition of macro ‘DEFINE_EMBEDDED_DATA’
       #define DEFINE_EMBEDDED_DATA(subdirectory, data, size) case subdirectory: return new MemoryInputStream(data, size, false);
                                                                                                              ^
      ../../Source/Plugin.cpp:7:73: error: ‘imagesSize’ is not a member of ‘PresetData’
       DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Images, PresetData::images, PresetData::imagesSize);
                                                                               ^
      /media/dave/work1/HISE Development Builds/HISE/hi_frontend/hi_frontend.h:151:110: note: in definition of macro ‘DEFINE_EMBEDDED_DATA’
       #define DEFINE_EMBEDDED_DATA(subdirectory, data, size) case subdirectory: return new MemoryInputStream(data, size, false);
                                                                                                                    ^
      Makefile:114: recipe for target 'build/intermediate/Release/Plugin_124bbd3c.o' failed
      make: *** [build/intermediate/Release/Plugin_124bbd3c.o] Error 1
      

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

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

        I figured it out, I had to enable the embed audio files option. Since this option seems to be mandatory to get it to build what is the point in the option? :)

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

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

          Yeah, that's an artefact from old times...

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

            Any idea about this? I did a standalone export.

            0_1535497372882_Screenshot from 2018-08-29 00-02-20.png

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

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

              It fails to resolve a embedded resource called undefined, what is probably the result of an invalid Javascript expression. You‘re only image is the Empty.png filmstrip, yes?

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

                @christoph-hart Yes that's the only image, I'm also including 3 font files. I have another image in my images folder too but it's not used in the project, could this be the cause?

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

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

                  So this time I tried a debug build and ran it through the terminal

                  0_1535540257901_Screenshot from 2018-08-29 11-57-10.png

                  I figure the Assertion failures are sample loading issues but I'm not sure what the cause is.

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

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

                    Yeah the interesting things are the „unknown function“ messages indicating that you try to call String methods on an undefined variable, hence the error message on the UI.

                    Can you post every JS code path that accesses your external resources?

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

                      @christoph-hart Aha the only time I call those two functions is when loading presets, so maybe this is preset related... I'll try commenting out the line, rebuilding, and see if it works.

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

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

                        @d-healey Yep, works perfectly without that line. I shall investigate further. Thanks for the tip.

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

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

                        47

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.8k

                        Posts