Cannot Build VST Plugin

It’s the result of VST being no longer available, see this thread:

You can switch to VST3, the necessary headers are included in JUCE. To do so, deactivate the checkbox VST and activate VST3. Make sure, that no path to any VST SDK is provided, neither in the project not in the global paths.