HISE Logo Forum
    • Categories
    • Register
    • Login

    Scrolling a Viewport crashes compiled plugin....

    Scheduled Pinned Locked Moved General Questions
    70 Posts 5 Posters 2.8k 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.
    • LindonL
      Lindon @DanH
      last edited by

      @DanH said in Scrolling a Viewport crashes compiled plugin....:

      @Lindon Another issue I encountered was having to build the dll using the autogenerated project in VS rather than build it in HISE

      SO trying this gets me to the same spot:

      1>Main.cpp
      1>C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\jbverbfile.h(15,10): error C1083: Cannot open include file: 'src/jbverbfile.cpp': No such file or directory
      1>(compiling source file '../../Source/Main.cpp')
      1>Done building project "UltraSphere_DynamicLibrary.vcxproj" -- FAILED.
      

      HISE Development for hire.
      www.channelrobot.com

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @Lindon
        last edited by Lindon

        @Lindon so I modified the .h file so the include looks like this;

        #include "C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\src"

        but still got this:

        Build started at 13:35...
        1>------ Build started: Project: UltraSphere_DynamicLibrary, Configuration: Release x64 ------
        1>Main.cpp
        1>C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\jbverbfile.h(15,10): error C1083: Cannot open include file: 'C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\src\jpverbfile.cpp': No such file or directory
        1>(compiling source file '../../Source/Main.cpp')
        1>Done building project "UltraSphere_DynamicLibrary.vcxproj" -- FAILED.
        ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
        ========== Build completed at 13:35 and took 02.316 seconds ==========
        

        so something has badly gone wrong in here...

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon I'm pretty sure this is what I got when I had to build from the AutoGen project, but if that isn't working for you then I'm not sure what to do. I didn't have to modify any files, for some reason it works with he AG project and not with HISE.

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

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

            @Lindon I had to update on OSX to get it working with a new commit, on Windows it seemed ok actually but it's worth a shot if all else fails

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

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

              @DanH said in Scrolling a Viewport crashes compiled plugin....:

              @Lindon I had to update on OSX to get it working with a new commit, on Windows it seemed ok actually but it's worth a shot if all else fails

              to what version?

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon 2.69.3

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

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

                  @DanH said in Scrolling a Viewport crashes compiled plugin....:

                  @Lindon 2.69.3

                  thats the one Im on.

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon Hmm. Presumably the AutoGen project was created today when you attempted to build the dll with HISE?

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

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

                      @DanH yes.

                      HISE Development for hire.
                      www.channelrobot.com

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Lindon
                        last edited by

                        @Lindon

                        So lets summerise:

                        1. The compiled plugin is crashing
                        2. I cant work out where unless I use a version of HISE with the ability to setup debug symbols
                        3. I cant get my project to even load in this new version
                        4. This might or might not be something to do with the DLL, but this wont even compile in the new version....

                        So a summery of the summery - "Im in a hole".

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon have you deleted the dll from the project?

                          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 As in the old / original one

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

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

                              @DanH said in Scrolling a Viewport crashes compiled plugin....:

                              @DanH As in the old / original one

                              wheres thelogic in this? Or is it just stabbing in the dark...hey well Im in the dark anyway....

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon yeah it's probably trying to load the old dll which is incompatible

                                this should get you back into your project, then try and rebuild it

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

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

                                  @DanH said in Scrolling a Viewport crashes compiled plugin....:

                                  @Lindon yeah it's probably trying to load the old dll which is incompatible

                                  this should get you back into your project, then try and rebuild it

                                  Right - fail.

                                  First I can only build the DLL with the "old" version of HISE - so I did that, built fine.

                                  Then I swapped to the new version of HISE - tried to load the project - crash (Still)

                                  Tried building the DLL in the New version of hise, same problem...:

                                  C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\jbverbfile.h(15,10): error C1083: Cannot open include file: 'sr
                                  c/jbverbfile.cpp': No such file or directory [C:\Current_HISE_work\UltraSphere\DspNetworks\Binaries\Builds\VisualStudio
                                  2022\UltraSphere_DynamicLibrary.vcxproj]
                                  

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon just delete the dll and try to open the project, so it's not trying to use the dll but reverting to the scriptnode networks

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

                                    LindonL DanHD 2 Replies Last reply Reply Quote 0
                                    • LindonL
                                      Lindon @DanH
                                      last edited by

                                      @DanH said in Scrolling a Viewport crashes compiled plugin....:

                                      @Lindon just delete the dll and try to open the project, so it's not trying to use the dll but reverting to the scriptnode networks

                                      Ah yes - thanks - that gets me to a loaded project in the New HISE...

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        @DanH once you're into the project try building the dll. Expect it to fail. Close HISE and open the AutoGen dll project. Build that in VS. Open HISE

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

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

                                          @DanH wow well done Dan, that worked....

                                          HISE Development for hire.
                                          www.channelrobot.com

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

                                            @Lindon told ya 😆

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

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

                                            15

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts