HISE Logo Forum
    • Categories
    • Register
    • Login

    Error in building plugin: no member named 'prepare' in 'scriptnode::conversion_logic::midi2freq'

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 5 Posters 415 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.
    • HISEnbergH
      HISEnberg
      last edited by HISEnberg

      I started receiving this error when exporting my plugin from the recent updates to the develop branch

      ❌  /Users/username/HISE/hi_dsp_library/dsp_nodes/CableNodes.h:1192:14: no member named 'prepare' in 'scriptnode::conversion_logic::midi2freq'
      
                              this->obj.prepare(ps);
                           ^
      

      I am using one converter node in one of my ScriptNode networks but it was working and exporting fine up until recently.

      HISEnbergH 1 Reply Last reply Reply Quote 0
      • HISEnbergH
        HISEnberg @HISEnberg
        last edited by

        @HISEnberg I reverted this in my HISE build, and the project is working fine within HISE. However, the compiled plugin is not working in any of my DAWs (it won't open). I tried going back further in the dev branch but still nothing. I am trying to debug in XCode but not seeing any errors or useful warning messages. I will post them here if I find anything.

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

          @HISEnberg have you reexported your dll after updating the HISE code.

          I've added a method to the converters to pickup the sample rate (this fixed an issue where initial values were not being calculated correctly when going through a converter node that requires the sample rate) but this change might break the compilation of previously exported C++ networks.

          HISEnbergH Matt_SFM 2 Replies Last reply Reply Quote 0
          • HISEnbergH
            HISEnberg @Christoph Hart
            last edited by

            @Christoph-Hart I am going to return to this project today and see. To clarify, in my initial post when I received that error, I did in fact recompile the dsp networks, before exporting my plugin. I was bringing this project from Windows to Mac so I had to go through this step anyways.

            Once I reverted back a few commits I neglected to rebuild the dsp networks so I think it is safe to assume this is why the exported plugin was not working in my DAWs.

            HISEnbergH 1 Reply Last reply Reply Quote 0
            • HISEnbergH
              HISEnberg @HISEnberg
              last edited by

              @HISEnberg Okay so the issue of it not opening in the DAW was just oversight on my part, I needed to update Faust and recompile everything.

              1 Reply Last reply Reply Quote 0
              • Matt_SFM
                Matt_SF @Christoph Hart
                last edited by

                @Christoph-Hart I'm also facing this on Windows :

                ...\hi_dsp_library\dsp_nodes\CableNodes.h(1192,14): error C2039: 'prepare' is not a member of 'scriptnode::conversion_logic::db2gain' 
                

                But this issue actually appears when I'm trying to rebuild my dlls... (I even deleted the 'Binaries' folder to make a clean build.
                I updated HISE to the latest commit from 2 days...

                Develop branch
                Win10 & VS17 / Ventura & Xcode 14. 3

                orangeO FortuneF 2 Replies Last reply Reply Quote 0
                • orangeO
                  orange @Matt_SF
                  last edited by orange

                  @Matt_SF That's exactly what I saw today.

                  It happens while building the Custom node in Windows, there is no problem in macOS.

                  As a workaround, I selected the Source folder in Preferences, which was built a month ago, and the dll was compiled.

                  I think this issue happened in the last commits

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

                  Matt_SFM 1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @orange
                    last edited by

                    @orange Thanks! You mean you're using another source code to compile the dlls ? (which Source in which Preferences ? 😆 )

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

                    orangeO 1 Reply Last reply Reply Quote 0
                    • orangeO
                      orange @Matt_SF
                      last edited by

                      @Matt_SF In HISE, which I compiled with commit on October 22, I exported the dll network and plugin with the source code from the September 23 commit 😂 This is just a temporary solution, I'm sure the bug will be fixed.

                      develop Branch / XCode 13.1
                      macOS Monterey / M1 Max

                      Matt_SFM 1 Reply Last reply Reply Quote 0
                      • Matt_SFM
                        Matt_SF @orange
                        last edited by

                        @orange Hah so I got it right in the first place :face_with_tears_of_joy: . I'm not in a hurry so I'll wait for a fix then.

                        Develop branch
                        Win10 & VS17 / Ventura & Xcode 14. 3

                        orangeO 1 Reply Last reply Reply Quote 0
                        • orangeO
                          orange @Matt_SF
                          last edited by orange

                          @Matt_SF It would be better to wait it for fixing 😂

                          develop Branch / XCode 13.1
                          macOS Monterey / M1 Max

                          1 Reply Last reply Reply Quote 0
                          • FortuneF
                            Fortune @Matt_SF
                            last edited by

                            @Christoph-Hart Is these bugs fixed?

                            ...\hi_dsp_library\dsp_nodes\CableNodes.h(1192,14): error C2039: 'prepare' is not a member of 'scriptnode::conversion_logic::db2gain'

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

                              Now it is...

                              FortuneF 1 Reply Last reply Reply Quote 2
                              • FortuneF
                                Fortune @Christoph Hart
                                last edited by

                                @Christoph-Hart It works now, thanks!

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

                                44

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.9k

                                Posts