Bug #85693 Problem building MySQL Connector/C 6.1.9 from source with Visual Studio 2017
Submitted: 30 Mar 2017 4:53 Modified: 30 Apr 2017 12:39
Reporter: Leonides Carreon Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / C Severity:S1 (Critical)
Version:6.1.9 OS:Windows
Assigned to: Assigned Account CPU Architecture:Any

[30 Mar 2017 4:53] Leonides Carreon
Description:
I installed CMake 3.7 on my Windows 7 system which has Visual Studio 2017 Community Edition installed.  Note that my VS 2017 has Windows 8.1 SDK and Windows 10 SDK installed.

How to repeat:
I downloaded MySQL Connector/C 6.1.9 source and followed the instructions from MySQL Connector/C Developer Guide on how to build it for Windows.

I ran the command:

  cmake -G "Visual Studio 15 2017 Win64"

which appeared to have completed successfully.

However, when I run the command:

  devenv.com libmysql.sln /build RelWithDebInfo

I get the message:

  Unknown error.

I don't think I've made a mistake in following the instructions so how do I fix this issue.
[30 Mar 2017 12:05] MySQL Verification Team
https://dev.mysql.com/doc/connector-c/en/connector-c-installation-source-windows.html

"To build Connector/C on Microsoft Windows, Visual Studio 8 or 9 is recommended. The Express Edition of Visual Studio and other compilers might work, but are untested."
[1 May 2017 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".