Hi. This is my first time working with Juce, and I’m working on MatKat’s tutorial on FreeCodeCamp and I’m stuck at part 5, when he builds the VST3 of what was already a standalone plugin. He used OSX, but I’m trying to do the same thing on Linux Mint 20.2, and this happens when I call
make on my project’s makefile:
Compiling PluginProcessor.cpp Compiling PluginEditor.cpp Linking SimpleEQ - Shared Code Linking SimpleEQ - VST3 /usr/bin/ld: build/SimpleEQ.a(include_juce_audio_basics_8a4e984a.o): relocation R_X86_64_PC32 against symbol `_ZNK4juce11MidiMessage16isTempoMetaEventEv' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make: *** [Makefile:139: build/SimpleEQ.vst3/Contents/x86_64-linux/SimpleEQ.so] Error 1
The VST3 file doesn’t build as a result. I’ve no idea what’s going on, and I don’t know how to solve this. Does anyone here with more experience than me know?