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: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

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: W Pirkle
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Derek: 41

Peter: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 478

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 29

Topics: 479

Posts: 1870

Newest Members:

certvalue111, sobhana s, sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 140

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 140