HISE Logo Forum
    • Categories
    • Register
    • Login

    [HI_ENABLE_CUSTOM_NODE_LOCATION] includes.cpp path issue

    Scheduled Pinned Locked Moved Bug Reports
    17 Posts 4 Posters 745 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.
    • Christoph HartC
      Christoph Hart
      last edited by Christoph Hart

      @ustk: You don't need to paste in the path in this file manually, if you apply the settings in HISE with the path, it writes it into this file (if you've setup the repository folder obviously). However I had this file under version control, so when you pulled the latest state, it might have been overriden by my folder. This is sorted now, the file is being ignored. I'd suggest you pull again, then reset the folder and try again (it "worked" for clumsybear which I assume hasn't set this up before pulling)

      @clumsybear: Yeah, that was actually a limitation of the code generator, who only allowed nesting of nodes up to level 7 and the lines that don't compile are nested in 9 levels.

      I've changed this now to a completely dynamic code-generation using the latest hacks in variadic template programming :), however it breaks the code that was previously generated.

      So either you discard every code being generated by scriptnode and repeat the export process (the exporter will now use the correct new syntax), or you can RegEx your way out of this mess (like i just did) by applying this RegEx search and replace operation on every generated CPP file:

      //Search: 
      "get<(.*)>\(obj\)"
      
      // Replace: 
      "FIND_NODE(obj, $1)"
      
      C 1 Reply Last reply Reply Quote 0
      • C
        clumsybear
        last edited by clumsybear

        @Christoph-Hart

        Ok, I pulled the latest scriptnode version and redid the same process.

        now I'm getting this build error:
        Screenshot 2019-09-22 at 00.27.16.png

        1 Reply Last reply Reply Quote 0
        • C
          clumsybear @Christoph Hart
          last edited by

          @Christoph-Hart said in [HI_ENABLE_CUSTOM_NODE_LOCATION] includes.cpp path issue:

          I've changed this now to a completely dynamic code-generation using the latest hacks in variadic template programming :), however it breaks the code that was previously generated.

          Is my error a result of the issue you mentioned?

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

            Is my error a result of the issue you mentioned?

            Yes, but the other one :)

            Try setting a new folder in for the custom node path (or delete the current one, apply the settings and set it back) and try again. The last commit wiped this file (but from now on it will be ignored by any git action).

            1 Reply Last reply Reply Quote 0
            • C
              clumsybear
              last edited by clumsybear

              ok, it looks like StaticNodeWrappers.h has problems compiling now after assigning a new Global Node Path with the latest scriptnode build

              Screenshot 2019-09-22 at 13.38.13.png

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

                @clumsybear @Christoph-Hart Same here, was working then I got this error too...

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

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

                  Hmm, can you send me an example scriptnode patch that shows this behaviour? The one's I have so far worked fine, but maybe there's a construct that I am not using that fails to generate valid code.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    clumsybear @Christoph Hart
                    last edited by clumsybear

                    @Christoph-Hart

                    HiseSnippet 3107.3oc6b07bajTEejkG+gxlkjMAHG3vrlTENEItjjc1PQHX4OypZiiEVNIqOkp8nVRS44K5YFaqMjSvANPUbgKPQAbjSTbDNPE8G.opsp7OvRwIt48BG3xxq6dFM8LZj7XEaGYuVI1VS28a5e86q98Zo2TgXohcbrHRYlbyV1XoLumb0VltMWpIRyTp7xzFdFZWrSSjMlHsXKajiCtlTlLYeHcDYlbTI1qCleQjNxTEG1jjzSszTwORyPyMr0Jk9DMc8UQ0vapYHL54JUV0xbIKcKO.MYkyKYiT2A0.+XDcXiHKkYrUpo4ZQp5hbwNRYFcQqZsp1zZOS93epli115X5EEjpB2HdyqZoWihX56kVpoldsJAqZGIoLxUB4AY47fqKulVMsNsGxKtBqCkPJD4GYFoevqfH7xmH7JjD7xH.uQ4v6pxUUIZ1tg8Pw1kjKa5hI0QfHPDV7wJMxqFWdIKXDltyXf1AuJAtnCESWLe9aqTHe9ac+Km6x4.AgiqxtHhxxK9PkGn3R7vrND6Z8Z0VYWrIzMSiYlFX2UpWGq5N8T74TY0OsvTwugTpLQ.e.nK.O.kKYYXaYBWL8TK545ZYBTJRFclREcEiR2mXZscgdRBqWJA7+0Aay3P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KilL.iU0neZMq.QunCABvv3G.67y1GKn0n50qYYZY2jluPTuJf8XiF3n4.lzBZAWWj5NhAIrAVGibh9IOBJdHRbWbGAdQgzyK5m75Fxb3pPMFUNeTH6YOGUH6GAnbZrwwowbXfTIVOWkWm0Tc4IXs.qaS1ipsIkWidsR3iCD47yjWBhPT64ppT18c.9SxzTb.nY1Afl4F.Zt6.PyGM.zbuAflePeogtYDMFKCtoHzPkUXogkIC+4dDSqW5
                    
                    1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk
                      last edited by ustk

                      @Christoph-Hart It happens when rebuilding Hise after creating a custom node 🤔

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

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

                        Yes, just like I thought: there are two things which cause problems:

                        • remove the fft module at the end (you won't need it anyway)
                        • bypassing a container with a parameter currently breaks compilation, so until I fix that, remove the connection that bypasses the distortion chain.

                        But these are good examples to make the code generator more stable, so if you hit more issues, keep 'em coming :)

                        1 Reply Last reply Reply Quote 2
                        • ustkU
                          ustk
                          last edited by

                          @Christoph-Hart Ok cool... No worries, we'll dig :)

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

                          1 Reply Last reply Reply Quote 0
                          • C
                            clumsybear
                            last edited by

                            @Christoph-Hart Perfect! :D

                            Thanks, it works now!

                            1 Reply Last reply Reply Quote 0
                            • NatanN
                              Natan
                              last edited by

                              Can You Guys Do A Quick Tutorial On How To Export And Use Our Custom Node?
                              The Information Is Not Very Clear To Understand The Process

                              1 Reply Last reply Reply Quote 0
                              • NatanN
                                Natan
                                last edited by

                                Images Are Missing At Docs, And I Can Get The Idea
                                https://docs.hise.audio/scriptnode/manual/cpp_generator.html

                                1 Reply Last reply Reply Quote 0
                                • NatanN
                                  Natan
                                  last edited by

                                  Okey :) That Was So Easy, I Got It Up And Running:)
                                  Somehow The First Custom Created node Caused A Bad Crash, But Just Made A Simple Gain, And It Works Smoothly, Gonna Investigate The Nodes :)
                                  Thanks, @Christoph-Hart Your Rock <3

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

                                  12

                                  Online

                                  1.8k

                                  Users

                                  12.0k

                                  Topics

                                  104.8k

                                  Posts