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



  • 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!



  • 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.



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



  • @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.



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



15
Online

674
Users

2.7k
Topics

22.8k
Posts