VST3 SDK 3.6.13 build errors

#1

Steinberg released 3.6.13 on Monday. I’ve pulled the latest Juce from dev. When trying to build in VS2017 I get the following errors:

4>c:\users\joema\developer\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h(148): error C2374: 'iid': redefinition; multiple initialization
4>c:\users\joema\developer\sdks\vst3_sdk\pluginterfaces\base\coreiids.cpp(24): note: see declaration of 'iid'
4>c:\users\joema\developer\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h(154): error C2374: 'iid': redefinition; multiple initialization
4>c:\users\joema\developer\sdks\vst3_sdk\pluginterfaces\base\coreiids.cpp(25): note: see declaration of 'iid'
4>c:\users\joema\developer\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h(155): error C2374: 'iid': redefinition; multiple initialization
4>c:\users\joema\developer\sdks\vst3_sdk\pluginterfaces\base\coreiids.cpp(26): note: see declaration of 'iid'
4>c:\users\joema\developer\juce\modules\juce_audio_processors\format_types\juce_vst3headers.h(156): error C2374: 'iid': redefinition; multiple initialization
4>c:\users\joema\developer\sdks\vst3_sdk\pluginterfaces\base\coreiids.cpp(27): note: see declaration of 'iid'
2 Likes

#2

Aaaaaand I’m now realizing JUCE has the vst3 sdk already embedded and I didn’t need to add it manually and of course everything builds ok with that version 3.6.12. All is well. :+1:

1 Like

#3

Hmm same problem here, when trying to compile with external SDK. When not specifying an external one (i guess just leave the field empty? There’s no explicit switch), build fails as well because vsttypes.h is not found.

When using the external SDK, commenting out lines 138 and 145-147 in juce_VST3Headers.h makes the build work, but obviously that’s not the way it should be … not sure what’s wrong here ?

1 Like

#4

The external VST3_SDK path can creep in from two sources, in the exporter and in the global paths. They both need to be empty in order to use the JUCE internal headers.

Maybe that’s the culprit?

1 Like

#5

So far i only know the exporter path, where can i find the global one ? On a sidenote, it’s fairly confusing that the path in the exporter menu is never really “empty”, but shows the grayed-out default path …

0 Likes

#6

The global VST3 SDK path is under File > Global Paths...

1 Like

#7

Correction: on macOS, it’s under Projucer->Global Paths. And that does actually point to the external SDK. Thank you so much for that info !

1 Like

#8

Oops, I forgot about that OS :smile:

0 Likes