Avatar

Please consider registering
guest

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 Topic RSS sp_TopicIcon
Errors with VST3 SDK and VS2015 (Pro or Community)
Avatar
W Pirkle
Admin
September 16, 2015 - 10:07 pm
Member Since: January 29, 2017
Forum Posts: 344
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

fstrdefs.h
fstring.cpp

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

#if _MSC_VER < 1900
#define snprintf _snprintf
#endif

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 55

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 41

clau_ste: 39

TheSmile: 37

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 565

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 581

Posts: 2326

Newest Members:

frankthetank, dhodgson, Wanderer, mister1234, Evan Galvanek, Rowan Fraser, patrickbarr1984, Ray C., Jon R., Pat

Moderators: W Pirkle: 344

Administrators: Tom: 69, JD Young: 80, Will Pirkle: 0, W Pirkle: 344