Forum

    • Register
    • Login
    • Search
    • Categories

    Solved Building Hise As Plugin Error

    General Questions
    3
    12
    60
    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.
    • S
      Sawer last edited by

      Hello everyone.
      I'm trying to build Hise as a plugin as well. but I'm having some errors in the Xcode Buildtime. I'm attaching an Image down below with the error. I don't know how many of us have Hise as a plugin, hope there's someone who can help.
      Thanks
      Screenshot 2022-03-23 at 18.55.47.png

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

        @Sawer

        I think this error has already been mentioned on the forum somewhere, with a solution. Try searching for the error message and see what comes up.

        Why are you building it as a plugin?

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

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

          @d-healey Have been looking around before building it, but nothing. will look again and see. Do you have any clue of the year that thread was made?

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

            @Sawer This is caused when allocating an array in the audio thread, which is bad.
            To avoid this try to use array.reserve(int numElements) at init so it pre-allocates the max size you'll need

            Tired to press F5 in the forum...
            Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

              @ustk Ok, where is "Init"?

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

                @Sawer https://docs.hise.audio/hise-modules/midi-processors/list/scriptprocessor.html

                Tired to press F5 in the forum...
                Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                  @ustk He's building the plugin version of HISE, so this can't be fixed through his project's script.

                  @Sawer Why are you building the plugin version? I have yet to see a good reason to build it except for some very niche purposes.

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

                  ustk S 2 Replies Last reply Reply Quote 1
                  • ustk
                    ustk @d.healey last edited by

                    @d-healey said in Building Hise As Plugin Error:

                    @ustk He's building the plugin version of HISE, so this can't be fixed through his project's script.

                    Silly me, I thought audio plugin

                    Tired to press F5 in the forum...
                    Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                      @d-healey I honestly think it's very useful to have it because you can try real live scenarios instances of the plugin without waiting to compile every time. Especially with functions that are based on the host sync. Also it’s a nice way to “mix” sample maps like volume adjustments. Been looking around the forum for a clue but no result. Any idea?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sawer @Sawer last edited by

                        @Christoph-Hart any idea of why the error in the build time is occurring? Thanks

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

                          @Sawer Have you tried just commenting out the line?

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

                          S 1 Reply Last reply Reply Quote 0
                          • Topic has been marked as solved  S Sawer 
                          • S
                            Sawer @d.healey last edited by

                            @d-healey Works. Thanks

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

                            4
                            Online

                            740
                            Users

                            5.4k
                            Topics

                            50.4k
                            Posts