HISE Logo Forum
    • Categories
    • Register
    • Login

    Building old Hise plugin fails

    Scheduled Pinned Locked Moved Bug Reports
    12 Posts 5 Posters 836 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.
    • ulrikU
      ulrik
      last edited by ulrik

      Hi!
      After a couple of months without using Hise I have now started sampling and building Hise plugins again.
      I have the latest Hise build (2019-02-10) and everything works nicely, however when I open old projects (made with Hise 1.6) and try to export to vst and au plugins, they all fail with same terminal code:

      ❌ /Users/ulrikboden/Music/Hise/Pump Organ/Binaries/Source/Plugin.cpp:6:69: no member named 'impulses' in namespace 'PresetData'

      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::AudioFiles, PresetData::impulses, PresetData::impulsesSize);
      ^

      ❌ /Users/ulrikboden/Music/Hise/Pump Organ/Binaries/Source/Plugin.cpp:6:91: no member named 'impulsesSize' in namespace 'PresetData'

      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::AudioFiles, PresetData::impulses, PresetData::impulsesSize);
      ^~~~

      ❌ /Users/ulrikboden/Music/Hise/Pump Organ/Binaries/Source/Plugin.cpp:7:65: no member named 'images' in namespace 'PresetData'

      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Images, PresetData::images, PresetData::imagesSize);
      ^~~~

      ❌ /Users/ulrikboden/Music/Hise/Pump Organ/Binaries/Source/Plugin.cpp:7:85: no member named 'imagesSize' in namespace 'PresetData'

      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Images, PresetData::images, PresetData::imagesSize);
      ^~~~

      ▸ Compiling CopyProtection.cpp
      ▸ Compiling BinaryData.cpp
      ** BUILD FAILED **

      The following build commands failed:
      CompileC /Users/ulrikboden/Music/Hise/Pump\ Organ/Binaries/Builds/MacOSX/build/Pump\ Organ.build/Release/Pump\ Organ\ -\ Shared\ Code.build/Objects-normal/x86_64/Plugin.o /Users/ulrikboden/Music/Hise/Pump\ Organ/Binaries/Source/Plugin.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
      (1 failure)

      is it possible to repair the projects?

      Regards Ulrik

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

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

        This is just a glitch because it can‘t resolve the embedded resources. Try reexporting the pool, clean the build folder and reexport.

        ulrikU 1 Reply Last reply Reply Quote 0
        • staiffS
          staiff
          last edited by staiff

          Strange answer, but:
          Your errors are maybe not the REAL error.
          i explain:
          did you use the "old" filter in global FX ?
          i had something like that before.

          for now Christoph had re-added filter in global FX, but called "polyphonic" filter. The old one was "monophonic".

          So you must rename your FX inside the .xml preset, changing "mono" by "poly", save, and reopen your old 1.6 project in 2.0 and ...voilà ... All "strange" errors are gone :)

          yes i know this error is about filter; but in my old 1.6 files the errors was all other, but never written : "your filter cause error", a lot of another errors (in fact, all FX and codes after the "filter" section in fact.)

          you can compile...

          Excuse me i'm French.

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

            @staiff Hi!
            No I have no filter in this particular project, so it's something else, thank you anyway!

            Regards Ulrik

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

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

              @Christoph-Hart Ok,
              I did what you suggested however it didn't help, so I compared the preferences in this old project with I new project that had no problems to compile the plugins, and I found that in my old project I had the "Embed audio files" unticked but not in the new projects, so I enabled that and, voila it compiled alright...

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

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

                Ah yes I think I have changed the default value of this setting for new projects, nice catch!

                1 Reply Last reply Reply Quote 1
                • J
                  Jerems134
                  last edited by

                  @Christoph-Hart Hi, I've the same issue with Hise 2 on macOS Mojave/Xcode 10. All your solution don't work. Impossible to build AU plugins or Standalone

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

                    Are you using the latest scriptnode branch?

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

                    J 2 Replies Last reply Reply Quote 0
                    • J
                      Jerems134 @d.healey
                      last edited by Jerems134

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • J
                        Jerems134 @d.healey
                        last edited by

                        @d-healey I use the last update folder 2.1.0, I've build Hise standalone with your tutorial, I could not install IPP so I've remove ligne in Projucer. Same issues

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

                          The 2.1.0 release is very old now and out of date.
                          This is the latest version - https://github.com/christophhart/HISE/tree/scriptnode

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

                          J 1 Reply Last reply Reply Quote 1
                          • J
                            Jerems134 @d.healey
                            last edited by

                            @d-healey Great thanks ! It's compiles AU/VST now.
                            I'm on macOS Mojave 10.14.6, I've downgraded Xcode from 11.3.1 to 10,1, upgraded Projucer to 6.0.5 and use Hise - Scriptnode version.
                            (I detail my configuration it can help someone else)

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

                            48

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            101.9k

                            Posts