HISE Logo Forum
    • Categories
    • Register
    • Login

    Building Hise As Plugin Error

    Scheduled Pinned Locked Moved Solved General Questions
    12 Posts 3 Posters 547 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.
    • 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.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        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?

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            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

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

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

              @ustk Ok, where is "Init"?

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

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

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

                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  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

                  ustkU S 2 Replies Last reply Reply Quote 1
                  • ustkU
                    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

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

                    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.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          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
                          • S Sawer has marked this topic as solved on
                          • S
                            Sawer @d.healey
                            last edited by

                            @d-healey Works. Thanks

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

                            26

                            Online

                            1.7k

                            Users

                            11.9k

                            Topics

                            103.3k

                            Posts