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.
    • DanHD
      DanH
      last edited by

      I feel like something obvious is missing from my project / HISE.

      • I've compiled the latest Develop (I've tried all this in workbench too btw)
      • I've made a completely new DSP network within HISE as a Chorus effect, all works, sounds good.
      • I've wrapped it all into a DSP network
      • I've pressed 'P' and "Allowed Compilation" of the network.
      • I've gone to Export, 'Compile DSP networks as dll'
      • It begins compiling, and then I get a load of errors. So many it hits its limit!

      It seems to have a problem with absolutely everything in the network which is why I think there's something missing in the project, in HISE, or something I haven't generated.

      example of some of the errors below:

      ❌  /Users/DanH/CHORUS TEST/DspNetworks/Binaries/Source/CHORUS.h:25:41: use of class template 'jdsp::jpanner' requires template arguments
      
                                        jdsp::jpanner, 
      
      ❌  /Users/DanH/CHORUS TEST/DspNetworks/Binaries/Source/CHORUS.h:43:48: use of undeclared identifier 'chain2_t'
      
                                        wrap::fix<2, chain2_t<NV>>, 
      
      ❌  /Users/DanH/CHORUS TEST/DspNetworks/Binaries/Source/CHORUS.h:44:48: expected a type
      
                                        chain3_t<NV>>;
      

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

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

        @danh is this at all obvious to you @Christoph-Hart ?

        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 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
                                            • First post
                                              Last post

                                            9

                                            Online

                                            1.9k

                                            Users

                                            12.4k

                                            Topics

                                            107.9k

                                            Posts