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 sp_TopicIcon
Errors with VST3 SDK and VS2015 (Pro or Community)
No permission to create posts
September 16, 2015
10:07 pm
Avatar
W Pirkle
Admin
Forum Posts: 206
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

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: 36

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 44

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

JimmyM: 29

EZB: 24

lppier: 23

Msaldaña: 18

Member Stats:

Guest Posters: 1

Members: 506

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 524

Posts: 2022

Newest Members:

semihyavuzz, alfredLue, danioc, midnightskate3, Alia5, Shamal Sundar, Walker, Brad, soli, Malcolm rest

Moderators: W Pirkle: 206

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