I’ve been trying to locally package and hopefully eventually submit a build recipe for the fantastic gearmulator set of plugins. Here’s a link to my current version of things.
The problem is, as soon as the UI attempts to load, the plugin crashes and crashes Reaper also. If I select the option in Reaper to “Default VST to generic UI”, it loads fine and plays sound. Without that option or clicking on the UI button inside the generic interface, it crashes everything.
The really aggravating part, is that I actually had a working UI for all of the plugins when I first started messing with this to try to build the initial recipe, but I had been doing that without checking everything in and was using nix build path://${PWD}#gearmulator
to test things initially. At that point, I wasn’t even attempting to use NIX_LDFLAGS
in the recipe, but ended up including that later as a lot of the other JUCE based plugins already packaged for Nix seem to do that (adlplug, chow-tape-model, dexed, odin2, show-midi, surge-XT all do this). I’ve tried it with and without the env
prefix to no avail. I think when I had it working initially, I wasn’t specifying any of this.
But at this point, the best I can achieve for whatever reason is if I set gearmulator_SYNTH_NODALRED2X=ON
to include that plugin, it will actually draw the plugin UI and immediately hang and crash. I’ve been testing with the OsTIrus plugin otherwise simply to reduce the rebuild times as I’ve been trying a lot of different variations and that never even paints the UI, it just crashes upon attempting to enable the UI.
I also tried Carla as another plugin host and it crashes every time no matter what. But it doesn’t have an option that I see to enable only the generic UI like Reaper, so I’m assuming it’s trying to paint the UI every time upon loading and therefore crashes.
I’m hoping someone here can see the obvious thing I’m doing wrong.