Bug #107041 Filure to build libmysqlclient (formerly ConnectorC)
Submitted: 16 Apr 2022 5:46 Modified: 31 May 2022 9:59
Reporter: Igor Korot Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / C Severity:S1 (Critical)
Version:8.x OS:Windows
Assigned to: CPU Architecture:x86

[16 Apr 2022 5:46] Igor Korot
Description:
Hi,
I'm trying to build the aforementioned product without documentation.

I got the source code, then installed latest CMake. I unpacked the mysql archive inside the "~/OneDrive/mysql-8.0.25". I also have MSVC 2017 installed and that's what I will be using for the build.

Then I started the GUI of CMake and enter following:

For the "Where is the source code" I entered "~/OneDrive/mysqlite-8.0.25"

For the "Where to build binaries" I entered "~/OneDrive/mysqlite-8.0.25/builf"

Then I press "Configure" and got the following error:

[quote]
Running cmake version 3.23.1
NT_RELEASE_VERSION is Version   6.3.9600
CMake Error at CMakeLists.txt:40 (MESSAGE):
  Need at least Windows Server 2016, or Windows 10, to build
[/quote]

Now, I have Windows 8.1 and so the error is correct,  but I don't want to build the whole server - I'm only interested in the libmysqlclient.

Unfortnately with the deprecation of the Connector/C the documentation on how to build its replacement (libmysqlclient) also disappears. So one can only gess where to get the code and how to build it.

Please advise on how to successfully perform the build and if possible - restore the documentation page on how to build the library.

Than you.

How to repeat:
Download latest CMake and the code, then try to configure the build.
[16 Apr 2022 5:48] Igor Korot
Change the severity to "Critical" as its the build failure.

Thank you.
[31 May 2022 9:59] MySQL Verification Team
Thank you for the bug report. Duplicate/related to Bug #107040. Thanks.