Re: Compiling connector/C++ with Visual Studio 2015
I also tried to get MYSQL C++ Connector working with Visual Studio 2015 and am having no luck. I have tried building 1.1.7 from source, and when I attempt to build I get a bunch of C1189 errors:
Severity Code Description Project File Line Suppression State
Error C1189 #error: Macro definition of snprintf conflicts with Standard Library function declaration mysqlcppconn-static C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h 1927
I am not sure what to do at this point, all of my googling shows that anyone who has seen this error has given up trying to build it and either switched back to an older version of visual studio or has switched away from MySQL entirely. Any help would be appreciated.
Subject
Views
Written By
Posted
6208
December 31, 2015 08:34AM
2545
February 20, 2016 08:26AM
2525
February 26, 2016 06:15AM
2009
February 26, 2016 07:50AM
5239
March 07, 2016 10:27AM
2180
May 02, 2016 08:06AM
2658
May 21, 2016 08:02PM
2216
May 26, 2016 10:54AM
1828
May 26, 2016 03:16PM
1722
May 26, 2016 05:32PM
Re: Compiling connector/C++ with Visual Studio 2015
2391
June 01, 2016 08:45AM
1737
June 03, 2016 12:18PM
2053
June 08, 2016 04:02AM
2639
June 10, 2016 07:15AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.