Re: MySQL Connector 8.0 and Visual Studio 17
Hi,
I'm having trouble generating vcxproj/sln files using the newest cmake (3.13.2 x64). I am using simply cmake -G "Visual Studio 15 2017". The generation for protobuf goes fine, but then there are errors for the library (see below). I've got VS 2017 Pro installed.
Any suggestions? Thanks! :)
BB
cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_IS_SAME /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_ef839.dir\Debug\\" /Fd"cmTC_ef839.dir\Debug\vc141.pdb" /Gd /TP /wd4702 /analyze- /errorReport:queue /bigobj "C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\src.cxx"
src.cxx
C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\src.cxx(1): error C2065: 'is_same': undeclared identifier [C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\cmTC_ef839.vcxproj]
C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\src.cxx(1): error C2062: type 'bool' unexpected [C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\cmTC_ef839.vcxproj]
C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\src.cxx(1): error C2039: 'value': is not a member of '`global namespace'' [C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\cmTC_ef839.vcxproj]
Done Building Project "C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\cmTC_ef839.vcxproj" (default targets) -- FAILED.
*****
cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_38a7a.dir\Debug\\" /Fd"cmTC_38a7a.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\CheckIncludeFile.c"
CheckIncludeFile.c
C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'sys/endian.h': No such file or directory [C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\cmTC_38a7a.vcxproj]
Done Building Project "C:\Src\Szok\branches\InfraSzok\$\mysql-connector-c++-8.0.13-src\CMakeFiles\CMakeTmp\cmTC_38a7a.vcxproj" (default targets) -- FAILED.
Subject
Views
Written By
Posted
1965
October 24, 2018 01:42PM
959
October 31, 2018 05:55AM
1044
November 02, 2018 11:37AM
689
November 06, 2018 04:01PM
Re: MySQL Connector 8.0 and Visual Studio 17
1430
December 17, 2018 05:56AM
942
December 18, 2018 04:42AM
2007
December 18, 2018 08:16PM
1088
December 19, 2018 03:51PM
1038
December 20, 2018 06:39AM
1119
December 20, 2018 12:44PM
779
December 21, 2018 05:05AM
859
December 21, 2018 09:24AM
1046
December 23, 2018 05:34AM
884
December 22, 2018 04:34PM
698
December 23, 2018 05:43AM
932
December 23, 2018 08:57PM
716
December 27, 2018 09:03AM
695
December 27, 2018 07:49PM
689
December 28, 2018 05:55AM
805
December 29, 2018 02:23AM
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.