HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode DSP Compilation help (again!)

    Scheduled Pinned Locked Moved General Questions
    71 Posts 6 Posters 3.6k 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.
    • ustkU
      ustk @DanH
      last edited by

      @danh Can you export a very simple DSP? like an empty one (if ever there's no check for that) or with just a Math.mul or something simple...

      Hise made me an F5 dude, browser just suffers...

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

        @ustk yes

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

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

          @danh The code generator is still a bit rough around the edges, but that's why I've created the scriptnode testsuite repository.

          Link Preview Image
          christophhart/scriptnode_testsuite

          The testsuite for scriptnode using the SNEX workbench - christophhart/scriptnode_testsuite

          favicon

          GitHub (github.com)

          Please submit this example (exported as snippet) as an issue, then I'll add a test case and make sure it compiles.

          DanHD 2 Replies Last reply Reply Quote 1
          • DanHD
            DanH @Christoph Hart
            last edited by

            @christoph-hart Thanks have done that (message is from DHPlugs...)

            I did also try to make from scratch is a fresh project but the same errors happened.

            Thanks for the help - When will I know if/when you've had a look? On GitHub?

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @Christoph Hart
              last edited by

              @christoph-hart It's compiled! Thankyou Thankyou Thankyou!! :folded_hands:

              PS - When I try to compile the plugin I'm still getting the Ad Hoc error below:

              ❌  error: Ad Hoc code signing is not compatible with the Hardened Runtime. Sign with a Mac Developer certificate or disable the Hardened Runtime by setting the ENABLE_HARDENED_RUNTIME build setting to NO. (in target 'HALO - App')
              
              

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

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

                @danh That error is pretty clear. You're trying to code sign from xcode by the look of it and you have hardened run time enabled.

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

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

                  @d-healey Weird though because I've not done anything different, just built latest Develop and this suddenly appears. If I roll back a couple of commits it's fine... I've no idea how to turn the Hardened thing off either

                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                  https://dhplugins.com/ | https://dcbreaks.com/
                  London, UK

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

                    f7557b86-3a72-4096-a9e8-e0fe854fa915-image.png

                    DanHD 2 Replies Last reply Reply Quote 0
                    • DanHD
                      DanH @Christoph Hart
                      last edited by

                      @christoph-hart Thanks!

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      1 Reply Last reply Reply Quote 0
                      • DanHD
                        DanH @Christoph Hart
                        last edited by

                        @christoph-hart So this was Disabled by default. I built again with it set to Disabled, and the same has happened. I switched it to on and I couldn't even build HISE in XCode. Am I the only one with this error?

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

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

                          @danh Are you saying this is enabled in your project's .jucer file or in the HISE .jucer file? or both?

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

                          DanHD 2 Replies Last reply Reply Quote 0
                          • DanHD
                            DanH @d.healey
                            last edited by DanH

                            @d-healey both... although in the project it was enabled, and re-enabled itself even after I switched it off

                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                            https://dhplugins.com/ | https://dcbreaks.com/
                            London, UK

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

                              @d-healey @Christoph-Hart when I hit compile in HISE it seems to switch my project's Hardened Runtime setting to enabled again....

                              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                              https://dhplugins.com/ | https://dcbreaks.com/
                              London, UK

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

                                @danh said in Scriptnode DSP Compilation help (again!):

                                when I hit compile in HISE it seems to switch my project's Hardened Runtime setting to enabled again....

                                There is no "compile" in HISE ;) When you export from HISE it generates a new .jucer file, so that will overwrite any changes you made to the one you edited.

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

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

                                  @d-healey sorry, yes exactly. I wonder why it's decided to flip that setting off from the default setting to enabled all of a sudden

                                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                  https://dhplugins.com/ | https://dcbreaks.com/
                                  London, UK

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

                                    @danh seems that I always have it enabled, using the last Hise version and an older one (about 3 weeks older)
                                    The Jucer info says it is required for app notarization, so "enabled" seems to be the right default setting

                                    Hise made me an F5 dude, browser just suffers...

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

                                      @ustk Thanks, are you able to export a plugin from HISE?

                                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                      https://dhplugins.com/ | https://dcbreaks.com/
                                      London, UK

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

                                        If enabled is the correct setting then the other half of the error message is the problem, ad-hoc signing. Are you code signing through xcode?

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

                                        DanHD 1 Reply Last reply Reply Quote 1
                                        • DanHD
                                          DanH @d.healey
                                          last edited by

                                          @d-healey I'm not trying to codesign at all. I do all that separately in terminal. I've changed nothing in Xcode, my project etc except using latest develop

                                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                          https://dhplugins.com/ | https://dcbreaks.com/
                                          London, UK

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

                                            @danh Have you put anything in here?

                                            8f6dc048-42fa-40ca-a1a7-674a639e5bb1-image.png

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

                                            DanHD 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            10

                                            Online

                                            1.9k

                                            Users

                                            12.4k

                                            Topics

                                            107.9k

                                            Posts