Re: MySQL Connector 8.0 and Visual Studio 17
Posted by:
Luis Silva
Date: December 20, 2018 06:39AM
Hi Bartosz,
Just tested with VS2015 and VS2017 (Both Community).
Opened Developer Command Prompt and:
cmake -DWITH_SSL=wolf_3.13.0_path connector_path
cmake --build . (Or Open VS solution)
The glitch I got with these was just a missing cast, because of the use of WolfSSL, witch was not caught when we build the connector, because we mainly use OpenSSL.
But the fix is easy:
#if OPENSSL_VERSION_NUMBER > 0x10100000L
cn= ASN1_STRING_get0_data(cn_asn1);
#else
cn= (const unsigned char *)ASN1_STRING_data(cn_asn1);
#endif
Apart form this, all worked normally....
I think the issue could be with the environment from VS. I think you should use the Developer Command Prompt always, since it garantes all VS environment variables are set.
Hope it helps!
Cheers,
Luís Silva
Subject
Views
Written By
Posted
2768
October 24, 2018 01:42PM
1293
October 31, 2018 05:55AM
1448
November 02, 2018 11:37AM
1029
November 06, 2018 04:01PM
1866
December 17, 2018 05:56AM
1243
December 18, 2018 04:42AM
2593
December 18, 2018 08:16PM
1381
December 19, 2018 03:51PM
Re: MySQL Connector 8.0 and Visual Studio 17
1480
December 20, 2018 06:39AM
1553
December 20, 2018 12:44PM
1102
December 21, 2018 05:05AM
1182
December 21, 2018 09:24AM
1415
December 23, 2018 05:34AM
1274
December 22, 2018 04:34PM
1089
December 23, 2018 05:43AM
1358
December 23, 2018 08:57PM
1028
December 27, 2018 09:03AM
1033
December 27, 2018 07:49PM
1077
December 28, 2018 05:55AM
1167
December 29, 2018 02:23AM