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 @Lindon
      last edited by Lindon

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

      @Lindon damn it I'm falling over at step 1. My preferences doesnt have a "Compile with Debug Symbols"....

      well I went with it anyway and got this:

      Exception thrown at 0x00007FFDECF73330 (UltraSphere.vst3) in reaper.exe: 0xC0000005: Access violation reading location 0x0000000030411000.

      but I guess thats nearly no use as I need to build with debug symbols...

      I assume I need the latest develop branch code...off to get that.

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon ok things are getting worse, much worse, I downloaded the latest develop code, compiled it and it runs --but it wont even load either of my major projects - it just crashes....

        I guess now I build HISE debug and try and run that in Visual Studio? Tho again I dont really know how...

        HISE Development for hire.
        www.channelrobot.com

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

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

          I guess now I build HISE debug and try and run that in Visual Studio? Tho again I dont really know how...

          Yes. Just build the debug build of HISE directly in VS, click the green play button and it will run it in the debugger. Then when it crashes look at the call stack and see which function it stopped at. Then put a break point at that function, run the debugger again, and use the buttons on the UI to step into/over the code that triggered the crash and look at the variables and see if anything stands out to you.

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

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

            @d-healey well the first thing that stands out is its not loading the scriptnode DLL in the debug version....

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon You need to build a debug dll

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

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

                @Lindon I think you need to rebuild your scriptnode networks dll. Happens to me quite often with a new commit

                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 think you need to rebuild your scriptnode networks dll. Happens to me quite often with a new commit

                  Ok I will try this first then back to the debug version with David suggestion....

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon aaaaand..the first thing I get when I try to recompile my DLL is this

                      include_juce_graphics.cpp
                    D:\HISE\JUCE\modules\juce_core\system\juce_TargetPlatform.h(56,1): error C1189: #error:  "No global header file was inc
                    luded!" [C:\Current_HISE_work\UltraSphere\DspNetworks\Binaries\Builds\VisualStudio2022\UltraSphere_DynamicLibrary.vcxpr
                    oj]
                    

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon Are you attempting the dll compilation from the new version of HISE that you made?

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

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

                        @d-healey said in Scrolling a Viewport crashes compiled plugin....:

                        @Lindon Are you attempting the dll compilation from the new version of HISE that you made?

                        No, I cant even get the project to load in the new version I made...

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon You don't need to load the project's xml to build the dll. Just open HISE and go and export the dll. Make sure it's all pointing to the same version of the source code.

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

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

                            @d-healey right...

                            Opened HISE,
                            created a scriptFX
                            Went to Compile DLL

                            and get this:

                            C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\whiteDwarfian.h(15,10): error C1083: Cannot open include file:
                            'src/whiteDwarfian.cpp': No such file or directory [C:\Current_HISE_work\UltraSphere\DspNetworks\Binaries\Builds\Visual
                            Studio2022\UltraSphere_DynamicLibrary.vcxproj]
                            

                            But in my project:
                            764c68fa-caf8-462c-8cf5-0c864cb61af0-image.png

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @Lindon Sounds like old code might be hanging around. Try cleaning the additional sourcecode folder and the DspNetworks/Binaries folder.

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

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

                                @d-healey
                                OK emptied teh AdditionalSourceCode Folder and DSPNetworks, tried to compile teh DLL again...

                                same error.

                                C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\whiteDwarfian.h(15,10): error C1083: Cannot open include file:
                                'src/whiteDwarfian.cpp': No such file or directory [C:\Current_HISE_work\UltraSphere\DspNetworks\Binaries\Builds\Visual
                                Studio2022\UltraSphere_DynamicLibrary.vcxproj]

                                HISE Development for hire.
                                www.channelrobot.com

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

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

                                  C:\Current_HISE_work\UltraSphere\DspNetworks\ThirdParty\whiteDwarfian.h

                                  I don't see this file in your screenshot above

                                  Oh I realised it's in a different folder.

                                  @Christoph-Hart Any ideas?

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

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

                                    @d-healey so I deleted this problem network and tried again -- now it complains about another network:

                                    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

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

                                      @Lindon faust?

                                      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 what about it?

                                        HISE Development for hire.
                                        www.channelrobot.com

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

                                          @Lindon are you using it in this project?

                                          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 all over the place in the FX

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            30

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts