Extremely frustrated. Simple FX Plugin, constant failure
-
Im afraid I have to again ask for someone to explain to me how to build a simple FX plugin, using a faust reverb demo and put it's controls into the UI.
I have tried for 2 days now, all I get is constant crashes or build fails, and if it builds the daw crashes upon loading it.
All I do is create an empty project
Add a Script FX node
add a faust module with a reverb example
connect the parameters
create a knob for size in the empty UI
everything works perfectly inside hise
compile
fail.
make some changes
fail more.vst3 is enabled
the scripnode is enabled to compile
I even tried compiling the dsp network on its own
then using a hardcodedfx node... no luck either, still crashes the daw
make more changes, go over it all again
sudden hash mismatches
sanity fails
throwing beer at monitor
crying because I feel like a total loser...
wife gets annoyed
leaves me
etcI am slowly losing my motivation over this...
is this how this usually goes or am I just unlucky or extremely unskilled?I kicked everything out of the project, it is now an empty UI and an empty secriptnode
still:▸ Compiling include_hi_core_04.cpp ▸ Compiling include_hi_core_02.cpp ▸ Compiling factory.cpp ▸ Compiling include_hi_core.cpp ** BUILD FAILED **
Killed the ScriptFX node, project is now completely empty
cleaned Build directory
cleaned DSP networksstill no chance to build
▸ Compiling include_hi_core_04.cpp ▸ Compiling include_hi_core_02.cpp ▸ Compiling factory.cpp ▸ Compiling include_hi_core.cpp ▸ Compiling RNBO.cpp ** BUILD FAILED ** code_text
my plugin is now an empty grey box, and I can't even get that to work
I'm jumping off a cliff now. -
@Morphoice Referencing my other post. The Fx will continue to build with the project, even if they aren't visibly present on your UI or Module tree. You will need to erase all the files in your DSP network, as well as the Additional Source Code folder. You might want to start a new project and test your FX networks there.
-
@Morphoice which daws did you test in? Have you validated the plugin with pluginval?
-
@HISEnberg I’ll try that
-
@d-healey I'm on Cubase 13, I'm running pluginval now to see if it will get any info. Hadn't heard of it before
-
@d-healey this is what I get in pluginval, crashed
pluginval v0.2.7 - JUCE v5.4.7 Started validating: /Library/Audio/Plug-Ins/VST3/DarkStar.vst3 Random seed: 0x3bf4442 Validation started: 27 Oct 2024 2:00:13pm Strictness level: 5 ----------------------------------------------------------------- Starting test: pluginval / Scan for known types: /Library/Audio/Plug-Ins/VST3/DarkStar.vst3... *** FAILED: VALIDATION CRASHED 0 pluginval 0x00000001023bf610 _ZN4juce11SystemStats17getStackBacktraceEv + 64 1 pluginval 0x000000010233e836 _ZN12_GLOBAL__N_119getCrashLogContentsEv + 38 2 pluginval 0x000000010233e624 _ZN12_GLOBAL__N_111handleCrashEPv + 20 3 pluginval 0x00000001023bf84d _ZN4juceL11handleCrashEi + 13 4 libsystem_platform.dylib 0x00007ff808eb3e9d _sigtramp + 29 5 ??? 0x0000600000320e80 0x0 + 105553119547008 6 DarkStar 0x0000000111e4e456 GetPluginFactory + 6009894 7 DarkStar 0x0000000111f5ef87 GetPluginFactory + 7126871 8 DarkStar 0x00000001119664bc GetPluginFactory + 865420 9 DarkStar 0x00000001119664bc GetPluginFactory + 865420 10 DarkStar 0x000000011199e4cd GetPluginFactory + 1094813 11 DarkStar 0x00000001119d209a GetPluginFactory + 1306730 12 DarkStar 0x0000000111be08a0 GetPluginFactory + 3463280 13 DarkStar 0x000000011189c458 GetPluginFactory + 37928 14 DarkStar 0x00000001118936b2 GetPluginFactory + 1666 15 DarkStar 0x00000001118aa55d GetPluginFactory + 95533 16 pluginval 0x000000010238e9be _ZN4juce18DescriptionFactory26findDescriptionsAndPerformERKNS_4FileE + 1054 17 pluginval 0x000000010236faeb _ZN4juce16VST3ModuleHandle25getAllDescriptionsForFileERNS_10OwnedArrayINS_17PluginDescriptionENS_20DummyCriticalSectionEEERKNS_6StringE + 315 18 pluginval 0x0000000102373501 _ZN4juce15KnownPluginList14scanAndAddFileERKNS_6StringEbRNS_10OwnedArrayINS_17PluginDescriptionENS_20DummyCriticalSectionEEERNS_17AudioPluginFormatE + 849 19 pluginval 0x0000000102373a6d _ZN4juce15KnownPluginList29scanAndAddDragAndDroppedFilesERNS_24AudioPluginFormatManagerERKNS_11StringArrayERNS_10OwnedArrayINS_17PluginDescriptionENS_20DummyCriticalSectionEEE + 765 20 pluginval 0x0000000102349986 _ZNSt3__110__function6__funcIZN11PluginTests7runTestEvE3$_0NS_9allocatorIS3_EEFvvEEclEv + 70 21 pluginval 0x00000001023febc9 _ZN4juce12MessageQueue21runLoopSourceCallbackEPv + 57 22 CoreFoundation 0x00007ff808f65266 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 23 CoreFoundation 0x00007ff808f65208 __CFRunLoopDoSource0 + 157 24 CoreFoundation 0x00007ff808f64fdf __CFRunLoopDoSources0 + 203 25 CoreFoundation 0x00007ff808f63c5a __CFRunLoopRun + 960 26 CoreFoundation 0x00007ff808f632aa CFRunLoopRunSpecific + 536 27 HIToolbox 0x00007ff814a39fe3 RunCurrentEventLoopInMode + 292 28 HIToolbox 0x00007ff814a3f9c4 ReceiveNextEventCommon + 646 29 HIToolbox 0x00007ff814a3fb62 _BlockUntilNextEventMatchingListInModeWithFilter + 66 30 AppKit 0x00007ff80c800d8b _DPSNextEvent + 902 31 AppKit 0x00007ff80d21d4c8 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1290 32 AppKit 0x00007ff80c7f1eb7 -[NSApplication run] + 610 33 pluginval 0x00000001023f93b0 _ZN4juce19JUCEApplicationBase4mainEv + 144 34 pluginval 0x00000001023f9303 _ZN4juce19JUCEApplicationBase4mainEiPPKc + 83 35 dyld 0x00000002029792cd start + 1805 Binary Images: 0x102337000 pluginval 0x7ff808eb0000 libsystem_platform.dylib 0x11188e000 DarkStar 0x7ff808ee8000 CoreFoundation 0x7ff81494b000 HIToolbox 0x7ff80c7c1000 AppKit
-
@Morphoice Which Hise commit are you using?
-
@orange 3e6941ca
-
@Morphoice You can try one of the commits in the late September, works here.