HISE Logo Forum
    • Categories
    • Register
    • Login

    Just want to see where im at..

    Scheduled Pinned Locked Moved General Questions
    52 Posts 9 Posters 3.4k 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 @d.healey
      last edited by

      @d-healey what's the standard process of debugging?

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

        @BWSounds
        Yep , red text is not good.

        what's the standard process of debugging?

        There are different techniques depending on what you are trying to debug. I always work in HISE standalone and debug exported projects as standalone before trying to fix issues that occur with exported plugins.

        I use Console.print() if I need to follow the flow of code (I guess you could also use breakpoints for this but I'm a simple creature).

        HISE doesn't have an automated system for testing user interaction so that has to be done manually - if you want to know what happens when a user moves a knob the easiest way to test is to move the knob (and put Console.print() in its callback of course).

        If you want to test individual functions then unit tests are a good idea, although not usually neccessary with smaller projects.

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

        1 Reply Last reply Reply Quote 0
        • B
          BWSounds
          last edited by BWSounds

          @BWSounds said in Just want to see where im at..:

          could this be why perhaps?
          Red text never seems like a good sign
          alt text

          SO this red text... I cant figure out what path it's suppose to go to.
          It's like that for...
          -hi_snex
          -hi_streaming
          -hi_tools
          -hi_zstd
          -stk_wrapper

          1 Reply Last reply Reply Quote 0
          • DalartD
            Dalart
            last edited by Dalart

            These are all directories in your HISE source folder.

            1 Reply Last reply Reply Quote 0
            • B
              BWSounds
              last edited by

              So point them to those individual folders or the whole source folder?

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

                I think something's wrong with your setup, are you on the latest scriptnode version? The path I have for those is ../../

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

                B 1 Reply Last reply Reply Quote 0
                • B
                  BWSounds @d.healey
                  last edited by

                  @d-healey
                  yes, commit a44b51b9bbcf620441c03bfd3ded4b88fe043e35

                  1 Reply Last reply Reply Quote 1
                  • DalartD
                    Dalart
                    last edited by Dalart

                    I just loaded the plugin version in Projucer and it has the same red text as @BWSounds is showing. Standalone doesnt have this issue when loaded in Projucer.

                    I have those same paths in Standalone version @d-healey.

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

                      Oh yeah I didn't check VST, why are you using the VST version of HISE? The only time I use it is to test audio effect plugins, everything else I can do from standalone.

                      Try changing all the paths to ../../

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

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        BWSounds @d.healey
                        last edited by

                        @d-healey
                        So I can compile a plugin version with the standalone? (honest question)
                        Also I built a standalone version last night, it wouldnt open the compiled project either :/
                        Im going to delete and retry everything, this has never happened before with me.

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • DalartD
                          Dalart
                          last edited by Dalart

                          I was able to compile the plugin version just now after changing the paths to what @d-healey suggested above. Plugin version opens without a problem.

                          Edit*
                          A bit more specific, I loaded the plugin version into Fl Studio and it loads without problems, also will load up any of the projects I have previously created with standalone version.

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

                            @BWSounds

                            So I can compile a plugin version with the standalone?

                            Yep. When you compile your HISE project it always uses the compiler on your system (VSStudio, XCode, etc.) no matter if you use the export option from the Plugin or Standalone version of HISE.

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

                            1 Reply Last reply Reply Quote 0
                            • B
                              BWSounds @Dalart
                              last edited by

                              @d-healey @Dalart said in Just want to see where im at..:

                              I was able to compile the plugin version just now after changing the paths to what @d-healey suggested above. Plugin version opens without a problem.

                              Edit*
                              A bit more specific, I loaded the plugin version into Fl Studio and it loads without problems, also will load up any of the projects I have previously created with standalone version.

                              I can do that as well but the plugins im compiling wont open... my standalone compiled plugin wont either so, I must have messed something up somewhere.

                              DalartD 2 Replies Last reply Reply Quote 0
                              • DalartD
                                Dalart @BWSounds
                                last edited by Dalart

                                @BWSounds Yeah it has to be something on your end Im thinking because I was able to export the basic synth vst tutorial from the HISE plugin version and load it up in FL Studio without issue.

                                I followed @d-healey 's video to compile HISE to avoid any errors.
                                https://youtu.be/YYUZ4K4J3Os

                                1 Reply Last reply Reply Quote 0
                                • DalartD
                                  Dalart @BWSounds
                                  last edited by

                                  @BWSounds said in Just want to see where im at..:

                                  @d-healey @Dalart said in Just want to see where im at..:

                                  I was able to compile the plugin version just now after changing the paths to what @d-healey suggested above. Plugin version opens without a problem.

                                  Edit*
                                  A bit more specific, I loaded the plugin version into Fl Studio and it loads without problems, also will load up any of the projects I have previously created with standalone version.

                                  I can do that as well but the plugins im compiling wont open... my standalone compiled plugin wont either so, I must have messed something up somewhere.

                                  How did things turn out for you @BWSounds ?

                                  B 1 Reply Last reply Reply Quote 1
                                  • B
                                    BWSounds @Dalart
                                    last edited by

                                    @Dalart
                                    Same issue, ive compiled plugins probably 50 times over the last 2 yrs trying and testing different things...

                                    I honestly don't understand what's happening, unless I deleted something important when I uninstalled visual studio 19 :man_shrugging: .
                                    But your text was red as well so... im going to try on a mac today and see what happens.

                                    DalartD 1 Reply Last reply Reply Quote 0
                                    • DalartD
                                      Dalart @BWSounds
                                      last edited by

                                      @BWSounds I used VS2017 to compile, and I changed the red text for the paths to: ../../
                                      I also have the iPP installed and integrated with VS2017. I haven't done anything else different I don't think.

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        BWSounds @Dalart
                                        last edited by

                                        @Dalart
                                        I remember once having issues with the ipp, might look into that a bit more..
                                        I had to have changed something, just need to figure out what it was.

                                        Maybe its my project, I'll try to compile one from the HISE tutorial folder.

                                        DalartD 1 Reply Last reply Reply Quote 0
                                        • DalartD
                                          Dalart @BWSounds
                                          last edited by

                                          @BWSounds said in Just want to see where im at..:

                                          @Dalart
                                          I remember once having issues with the ipp, might look into that a bit more..
                                          I had to have changed something, just need to figure out what it was.

                                          Maybe its my project, I'll try to compile one from the HISE tutorial folder.

                                          Compiling a tutorial to test is a good way to start, it at least lets you see if you can actually compile a working plugin. If successful in that, then you can narrow down what's causing it in your custom project(s).

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

                                            There‘s also a minimal project in extras/demo_project directly in the repo.

                                            But the red folder is indeed a mistake, it requires my folder structure to work, I‘ll change it (I almost never compile the plugin version)

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

                                            32

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.5k

                                            Posts