I’m still new at JUCE and the C++ ecosystem. I want to get JUCE building from source, preferably with all the examples and extras.
Sorry if this VST2 SDK issue has been done to death, but after searching this forum I still don’t get it. The post I was looking at: Plugininterfaces/vst2.x/vstfxstore.h not found
What I’m doing:
- Clone JUCE source from github, checkout latest release (6.1.2 at the moment)
- Generate a build tree with CMAKE
cmake -B cmake-build-new -DCMAKE_INSTALL_PREFIX=/Users/me/projects/libs/juce -DJUCE_BUILD_EXAMPLES=ON -DJUCE_BUILD_EXTRAS=ON
- Start build
cmake --build ./cmake-build-new --target install
It chugs along for a while and errors out with this
JUCE/examples/Plugins/ReaperEmbeddedViewPluginDemo.h:70:10: fatal error: 'pluginterfaces/vst2.x/aeffect.h' file not found
Looking at that source file it seems that the include is not behind any switch that I can turn off, but maybe I’m missing something.
I know VST2 SDK is no longer included. I do not have it installed, I’m just starting out. I don’t mind not being able to build VST2.
What’s the best way to get JUCE building? Can I turn off examples that depend on VST2? Should I copy the VST2 SDK from an older version of JUCE 5.3.2? Where are they in the source tree?
Thanks for reading this far. I think this would help other newcomers eventually.