I have been using Projucer with Visual Studio 2017 for the past few months building projects. Up to now, I have just been building standalone exes as it was easiest for testing (it would just open the standalone application automatically after building so I could immediately test).
Now I am ready to build some VSTs so I can test them in audio projects. These are for Synthesisers.
I tried selecting VST3 or VST legacy in the Projucer profile and building in Visual Studio, but I get these errors:
Error C1083 Cannot open include file: āpluginterfaces/vst2.x/aeffect.hā: No such file or directory DrumSynth_VST c:\juce\modules\juce_audio_plugin_client\vst\juce_vst_wrapper.cpp 95
OR:
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: āpluginterfaces/vst/vsttypes.hā: No such file or directory DrumSynth_VST3 c:\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h 98
TL;DR: for VST3 you donāt need to add anything, keep all SDK paths empty and for VST Legacy, if you donāt have the old SDK and a countersigned license agreement from Steinberg (no longer available), you cannot build and distribute old VSTs
Thanks Daniel. That seems to address why VST legacy wouldnāt work.
But when I try to do just VST3 Iām getting an error as well as listed:
Error C1083 Cannot open include file: āpluginterfaces/vst/vsttypes.hā: No such file or directory DrumSynth_VST3 c:\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h 98
I looked in my Projucer settings and this is what it displays under VST3:
Projucer has the option āJUCE_VST3_CAN_REPLACE_VST2ā enabled by default for the juce_audio_plugin_client module. That option requires the problematic VST2 header files to be present.
How do I change that? I donāt see it anywhere in the Projucer. I tried opening my jucer file to view the XML and thereās nothing in it to that effect either.
Sorry @daniel, but I donāt understand. You say āget rid of that pathā. But what am I supposed to put there? I donāt have any āSDKā folder anywhere. What is supposed to be there to build a VST3? Do I need to download something extra?
Also thanks @Xenakios, I have never edited things in there before so didnāt realize thatās where it was. Unfortunately though that didnāt fix the problem and it still gives the same error:
Error C1083 Cannot open include file: āpluginterfaces/vst/vsttypes.hā: No such file or directory DrumSynth_VST3 c:\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h 98
Edit: Found the folder:
C:\JUCE\modules\juce_audio_processors\format_types\VST3_SDK
I assume, there you find the C:\SDKs\VST3_SDK, that I suggested to get rid of. The presence of either this one or of the one in the project will disable the built in, thatās when it fails.