-- Using cached mysql-mysql-connector-cpp-8.0.32.tar.gz.
-- Cleaning sources at E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/3rdParty/vcpkg/downloads/mysql-mysql-connector-cpp-8.0.32.tar.gz
-- Applying patch fix-static-build8.patch
-- Applying patch export-targets.patch
-- Applying patch dependencies.patch
-- Applying patch protobuf-cmake.patch
-- Applying patch protobuf-source.patch
-- Using source at E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: E:/3rdParty/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /m
Working Directory: E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg
See logs for more information:
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\install-x64-windows-static-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/mysql-connector-cpp/portfile.cmake:53 (vcpkg_cmake_install)
scripts/ports.cmake:196 (include)
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\install-x64-windows-static-dbg-out.log
```
适用于 .NET Framework MSBuild 版本 17.12.6+db5f6012c
1>Checking Build System
Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/foundation/CMakeLists.txt
error.cc
Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/jdbc/driver/CMakeLists.txt
mysql_art_resultset.cpp
stream.cc
connection_tcpip.cc
mysql_art_rset_metadata.cpp
socket.cc
mysql_connection.cpp
diagnostics.cc
socket_detail.cc
mysql_debug.cpp
connection_openssl.cc
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\src\8.0.32-29a666cfd4.clean\cdk\foundation\connection_openssl.cc(366,20): warning C4244: 'initializing': conversion from 'uint64_t' to 'long', possible loss of data [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\foundation\cdk_foundation.vcxproj]
mysql_driver.cpp
Generating Code...
cdk_foundation.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\foundation\Debug\cdk_foundation.lib
Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/parser/CMakeLists.txt
Preparing protobuf files for protobuf-lite
mysql_metadata.cpp
Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/CMakeLists.txt
tokenizer.cc
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_connection.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_crud.proto
mysql_parameter_metadata.cpp
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_cursor.proto
json_parser.cc
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_datatypes.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_expect.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_expr.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_notice.proto
mysql_prepared_statement.cpp
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_prepare.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_resultset.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_session.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_sql.proto
Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx.proto
expr_parser.cc
protocol.cc
mysql_ps_resultset.cpp
protocol_compression.cc
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
(编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/protocol.cc”)
uri_parser.cc
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
(编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/protocol_compression.cc”)
session.cc
mysql_ps_resultset_metadata.cpp
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
(编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/session.cc”)
rset.cc
Generating Code...
mysql_resultbind.cpp
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
(编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/rset.cc”)
stmt.cc
cdk_parser.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\parser\Debug\cdk_parser.lib
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
(编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/stmt.cc”)
crud.cc
mysql_resultset.cpp
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
(编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/crud.cc”)
Generating Code...
mysql_resultset_metadata.cpp
mysql_statement.cpp
mysql_util.cpp
mysql_warning.cpp
mysql_uri.cpp
mysql_client_api.cpp
library_loader.cpp
mysql_native_driver_wrapper.cpp
Generating Code...
Compiling...
mysql_native_connection_wrapper.cpp
mysql_native_statement_wrapper.cpp
mysql_native_resultset_wrapper.cpp
Generating Code...
jdbc.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\driver\Debug\jdbc.lib
Extracting dependency info for target connector-jdbc
Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/jdbc/CMakeLists.txt
empty.cc
connector-jdbc.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\Debug\mysqlcppconn8-static-mt-mt.lib
Merging STATIC library: E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\Debug\mysqlcppconn8-static-mt-mt.lib
- E:\3rdParty\vcpkg\installed\x64-windows-static\debug\lib\mysqlclient.lib
- E:\3rdParty\vcpkg\installed\x64-windows-static\lib\libssl.lib
- E:\3rdParty\vcpkg\installed\x64-windows-static\lib\libcrypto.lib
- driver\Debug\jdbc.lib
Merge options: /SUBSYSTEM:CONSOLE;/MACHINE:X64
- using MSVC tools
```
Package: mysql-connector-cpp[core,jdbc]:x64-windows-static@8.0.32#2
Host Environment
To Reproduce
vcpkg install mysql-connector-cpp[jdbc]:x64-windows-static
Failure logs
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\install-x64-windows-static-dbg-out.log
``` 适用于 .NET Framework MSBuild 版本 17.12.6+db5f6012c 1>Checking Build System Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/foundation/CMakeLists.txt error.cc Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/jdbc/driver/CMakeLists.txt mysql_art_resultset.cpp stream.cc connection_tcpip.cc mysql_art_rset_metadata.cpp socket.cc mysql_connection.cpp diagnostics.cc socket_detail.cc mysql_debug.cpp connection_openssl.cc E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\src\8.0.32-29a666cfd4.clean\cdk\foundation\connection_openssl.cc(366,20): warning C4244: 'initializing': conversion from 'uint64_t' to 'long', possible loss of data [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\foundation\cdk_foundation.vcxproj] mysql_driver.cpp Generating Code... cdk_foundation.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\foundation\Debug\cdk_foundation.lib Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/parser/CMakeLists.txt Preparing protobuf files for protobuf-lite mysql_metadata.cpp Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/CMakeLists.txt tokenizer.cc Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_connection.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_crud.proto mysql_parameter_metadata.cpp Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_cursor.proto json_parser.cc Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_datatypes.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_expect.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_expr.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_notice.proto mysql_prepared_statement.cpp Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_prepare.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_resultset.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_session.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_sql.proto Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx.proto expr_parser.cc protocol.cc mysql_ps_resultset.cpp protocol_compression.cc E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj] (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/protocol.cc”) uri_parser.cc E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj] (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/protocol_compression.cc”) session.cc mysql_ps_resultset_metadata.cpp E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj] (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/session.cc”) rset.cc Generating Code... mysql_resultbind.cpp E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj] (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/rset.cc”) stmt.cc cdk_parser.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\parser\Debug\cdk_parser.lib E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj] (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/stmt.cc”) crud.cc mysql_resultset.cpp E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error: "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj] (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/crud.cc”) Generating Code... mysql_resultset_metadata.cpp mysql_statement.cpp mysql_util.cpp mysql_warning.cpp mysql_uri.cpp mysql_client_api.cpp library_loader.cpp mysql_native_driver_wrapper.cpp Generating Code... Compiling... mysql_native_connection_wrapper.cpp mysql_native_statement_wrapper.cpp mysql_native_resultset_wrapper.cpp Generating Code... jdbc.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\driver\Debug\jdbc.lib Extracting dependency info for target connector-jdbc Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/jdbc/CMakeLists.txt empty.cc connector-jdbc.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\Debug\mysqlcppconn8-static-mt-mt.lib Merging STATIC library: E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\Debug\mysqlcppconn8-static-mt-mt.lib - E:\3rdParty\vcpkg\installed\x64-windows-static\debug\lib\mysqlclient.lib - E:\3rdParty\vcpkg\installed\x64-windows-static\lib\libssl.lib - E:\3rdParty\vcpkg\installed\x64-windows-static\lib\libcrypto.lib - driver\Debug\jdbc.lib Merge options: /SUBSYSTEM:CONSOLE;/MACHINE:X64 - using MSVC tools ```