Cannot Build VST Plugin

#1

I just updated to the latest version of JUCE. Here is a subset of the 271 errors from my first attempt to build:

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2039	'kSpeakerACN12': is not a member of 'Steinberg::Vst'	ConvolutionFilter_VST3	c:\users\profw\documents\juce\modules\juce_audio_processors\format_types\juce_vst3common.h	192	
Error	C2065	'kSpeakerACN12': undeclared identifier	ConvolutionFilter_VST3	c:\users\profw\documents\juce\modules\juce_audio_processors\format_types\juce_vst3common.h	192	
Error	C2039	'kSpeakerACN13': is not a member of 'Steinberg::Vst'	ConvolutionFilter_VST3	c:\users\profw\documents\juce\modules\juce_audio_processors\format_types\juce_vst3common.h	193	
Error	C2065	'kSpeakerACN13': undeclared identifier	ConvolutionFilter_VST3	c:\users\profw\documents\juce\modules\juce_audio_processors\format_types\juce_vst3common.h	193	

Fortunately, I saved my old version, but I would like to stay up-to-date. I assumed that JUCE comes with all you need for VST. Is there some setting that I am missing?

Thanks.

0 Likes

#2

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.

0 Likes

#3

I checked VST3 and made sure VST Legacy was unchecked. I also cleared the SDK path. Tried a new build and got this

Severity	Code	Description	Project	File	Line	Suppression State
Error	C1083	Cannot open include file: 'pluginterfaces/vst/vsttypes.h': No such file or directory	ConvolutionFilter_VST3	c:\users\profw\documents\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h	98	

I tried disabling JUCE_VST3_CAN_REPLACE_VST2 and setting it to 0 manually, but got the same message.

0 Likes

#4

All clear! I did not clear the global path. Now that I’ve done that, the build goes OK.

Thanks for your help.

1 Like