So the good news: I took my plugin ported to JUCE6, and I can now run a VST3 of it in Ubuntu 20.04 Reaper 6.09. Thank you. that is amazing
There are two things that, at head of the juce6 branch, aren’t correct for my setup though and I had to fix.
First my binary data required -fPIC so i added
if( UNIX AND NOT APPLE ) message( "FPIC Baby" ) target_compile_options( tuning-workbench-synth-binary PRIVATE -fPIC ) endif()
to my cmakefile to get it to build.
Secondly, the vst3 which resulted (in build/artefacts/tuningworkbenchsynth.vst3) had a misnamed file. Inside the directory structure was “Contents/x86_64-linux/tuningworkbenchsynth.vst3” which means REAPER won’t scan. If I rename that to the correct name “Content/x86_64-linux/tuningworkbenchsynth.so” then it works.
I’ll dig into the cmake stuff a bit later on to see where that name is set if noone else tells me what I’m doing wrong
All my code is GPL3 and on the juce6 branch https://github.com/baconpaul/tuning-workbench-synth
Thanks for any thoughts. I can’t beleive I got this to run as a VST3 in Reaper. Amazing! Thank you again.