HISE Logo Forum
    • Categories
    • Register
    • Login

    Export to Standalone / VST won't execute include() files

    Scheduled Pinned Locked Moved Scripting
    externalincludeexport
    7 Posts 4 Posters 554 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.
    • Casey KolbC
      Casey Kolb
      last edited by

      Hey all,

      I've been struggling with this export issue for a few days. Everything in my plugin works great within the HISE IDE and compiles fine, but when I try to export to standalone or VST, none of the external scripts are executed or compiled and the plugin shows up blank when launched. Here's my onInit script and my "Init.js" file in Sublime. Even the Content.makeFrontInterface function isn't called when exporting.

      Screen Shot 2020-05-27 at 9.15.39 PM.png
      Screen Shot 2020-05-27 at 9.17.29 PM.png

      Has anyone encountered this before? Nested includes should be totally fine according to some other forum posts I saw. I'm out of ideas 😖

      Thanks!

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

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

        Without knowing what's in all off your included files it's hard to know where the problem lies. What happens if you make a new project, add a sinewave generator, and a keyboard to the interface and export? Does that work as expected? If so the problem is somewhere in your project's structure.

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

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

          @Lunacy-Audio I'm using excusively external files with no issues…

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

          1 Reply Last reply Reply Quote 1
          • Casey KolbC
            Casey Kolb
            last edited by

            @d-healey I'm able to export other tutorial projects from here in the same HISE build without any issues. I'm actually using your HISE-develop branch because that's been the most stable version I've found. It must be something in my code structure. However, everything is following HISE's recommended code paradigm and is encapsulated in namespaces. I'll keep toying around, but at least now I know it's something on my end.

            Casey Kolb
            Founder & CEO of Lunacy Audio
            Composer | Producer | Software Developer

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

              Make a backup of your project. Then start removing things one at a time until it builds.

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

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

                @Casey-Kolb did you ever figure this out?

                Casey KolbC 1 Reply Last reply Reply Quote 0
                • Casey KolbC
                  Casey Kolb @BWSounds
                  last edited by

                  @BWSounds I think I had originally set the Global Script Path in the HISE settings the same as the script path of the project, which resulted in some major bugginess.

                  Casey Kolb
                  Founder & CEO of Lunacy Audio
                  Composer | Producer | Software Developer

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

                  57

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.8k

                  Posts