Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Errors with VST3 SDK and VS2015 (Pro or Community)
No permission to create posts
September 16, 2015
10:07 pm
W Pirkle
Forum Posts: 273
Member Since:
January 29, 2017
sp_UserOfflineSmall Offline

The older version of the VST3 SDK (pre 3.5.6) is not compatible with VS2015. You get errors like this:

#error: Macro definition of snprintf conflicts with Standard Library function declaration

The solutions are:

1) get the new VST3 SDK

2) if you want to keep the old SDK, then you need to modify two of the base class files


Change the #defines of snprintf to include the #if _MSC_VER < 1900 like this:

#if _MSC_VER < 1900
#define snprintf _snprintf

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 55

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 41

clau_ste: 39

Gwen: 32

JimmyM: 30

TheSmile: 28

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 541

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 563

Posts: 2206

Newest Members:

mikkyboy, Jon, Keesh, nightenlight, Ben, Third Audio, LRT, TomJ, Giscard, Alejandro Florez

Moderators: W Pirkle: 273

Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 273