microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.29k stars 6.43k forks source link

[mongo-cxx-driver] Build error on x64-windows-static-md #41346

Open ZhanglinlinWeida opened 1 month ago

ZhanglinlinWeida commented 1 month ago

Change Dir: 'C:/vcpkg/buildtrees/mongo-cxx-driver/x64-windows-static-md-dbg'

Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j21 install [1/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\private\itoa.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\private\itoa.cpp [2/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\string\view_or_value.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\string\view_or_value.cpp [3/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\array\element.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\array\element.cpp [4/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\exception\error_code.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\exception\error_code.cpp [5/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\document\value.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\document\value.cpp [6/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\array\value.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\array\value.cpp [7/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\types.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\types.cpp [8/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\validate.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\validate.cpp [9/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\oid.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\oid.cpp [10/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\decimal128.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\decimal128.cpp [11/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\types\bson_value\view.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\types\bson_value\view.cpp [12/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\builder\core.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\builder\core.cpp [13/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\array\view.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\array\view.cpp [14/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\document\view.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\document\view.cpp [15/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\json.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\json.cpp [16/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\document\element.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\document\element.cpp [17/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGO_CXX_DRIVER_COMPILING -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\types\bson_value\value.cpp.obj /Fdsrc\bsoncxx\CMakeFiles\bsoncxx_static.dir\bsoncxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx\types\bson_value\value.cpp [18/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\cursor.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\cursor.cpp [19/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\heartbeat_failed_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\heartbeat_failed_event.cpp FAILED: src/mongocxx/CMakeFiles/mongocxx_static.dir/events/heartbeat_failed_event.cpp.obj "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\heartbeat_failed_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\heartbeat_failed_event.cpp C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx/events/heartbeat_failed_event.hpp(47): error C2039: "string": 不是 "std" 的成员 C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include__msvc_string_view.hpp(22): note: 参见“std”的声明 C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx/events/heartbeat_failed_event.hpp(47): error C3646: “message”: 未知重写说明符 C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx/events/heartbeat_failed_event.hpp(47): error C2059: 语法错误:“(” C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx/events/heartbeat_failed_event.hpp(47): error C2238: 意外的标记位于“;”之前 C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\heartbeat_failed_event.cpp(28): error C2039: "message": 不是 "mongocxx::v_noabi::events::heartbeat_failed_event" 的成员 C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx/events/heartbeat_failed_event.hpp(33): note: 参见“mongocxx::v_noabi::events::heartbeat_failed_event”的声明 C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\heartbeat_failed_event.cpp(28): error C2270: “message”: 非成员函数上不允许修饰符 C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\heartbeat_failed_event.cpp(30): error C2065: “_failed_event”: 未声明的标识符 [20/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\heartbeat_succeeded_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\heartbeat_succeeded_event.cpp [21/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\command_started_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\command_started_event.cpp [22/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\command_succeeded_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\command_succeeded_event.cpp [23/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\command_failed_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\command_failed_event.cpp [24/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\heartbeat_started_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\heartbeat_started_event.cpp [25/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\client_encryption.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\client_encryption.cpp [26/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\change_stream.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\change_stream.cpp [27/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\server_changed_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\server_changed_event.cpp [28/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\server_description.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\server_description.cpp [29/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\server_closed_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\server_closed_event.cpp [30/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\client_session.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\client_session.cpp [31/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\topology_changed_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\topology_changed_event.cpp [32/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\bulk_write.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\bulk_write.cpp [33/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\client.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\client.cpp [34/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\database.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\database.cpp [35/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\server_opening_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\server_opening_event.cpp [36/108] C:\Windows\system32\cmd.exe /C "cd . && "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\lib.exe" /machine:x64 /nologo /out:src\bsoncxx\bsoncxx-static.lib src\bsoncxx\CMakeFiles\bsoncxx_static.dir\array\element.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\array\value.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\array\view.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\builder\core.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\decimal128.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\document\element.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\document\value.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\document\view.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\exception\error_code.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\json.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\oid.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\private\itoa.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\string\view_or_value.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\types.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\types\bson_value\value.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\types\bson_value\view.cpp.obj src\bsoncxx\CMakeFiles\bsoncxx_static.dir\validate.cpp.obj && cd ." [37/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\collection.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\collection.cpp [38/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\topology_closed_event.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\topology_closed_event.cpp [39/108] "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /TP -DBSONCXX_STATIC -DBSON_STATIC -DMONGOCXX_STATIC -DMONGOC_STATIC -DMONGO_CXX_DRIVER_COMPILING -I\include -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\mongocxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\bsoncxx.. -IC:\vcpkg\buildtrees\mongo-cxx-driver\x64-windows-static-md-dbg\src\bsoncxx.. -external:ID:\ez\cpp\out\build\x64-Debug\vcpkg_installed\x64-windows-static-md\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 /showIncludes /Fosrc\mongocxx\CMakeFiles\mongocxx_static.dir\events\topology_description.cpp.obj /Fdsrc\mongocxx\CMakeFiles\mongocxx_static.dir\mongocxx_static.pdb /FS -c C:\vcpkg\buildtrees\mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean\src\mongocxx\events\topology_description.cpp ninja: build stopped: subcommand failed.

ZhanglinlinWeida commented 1 month ago

{ "name": "mongo-cxx-driver", "version": "3.7.0" }

greenozon commented 1 month ago

Please try to use English Language Pack, eg: https://github.com/microsoft/vcpkg/issues/40377#issuecomment-2283490304

ZhanglinlinWeida commented 1 month ago

Please try to use English Language Pack, eg: #40377 (comment) There is a similar error under the English language pack, please help confirm

install-x64-windows-static-md-dbg-out.log

dg0yt commented 1 month ago

mongo-cxx-driver\src\r3.7.0-3713f74bb9.clean

Outdated. The port is at 3.10.2#1.

ZhanglinlinWeida commented 1 month ago

Upgrade to 3.10.2 # 1 has errorconfig-x64-windows-static-md-out.log

dg0yt commented 1 month ago

The error clearly tells you that you need libbson 1.25.0. bson and mongo are tightly coupled, coming from the same source. vcpkg doesn't change that fact.

ZhanglinlinWeida commented 1 month ago

sorry,I did not encounter this error when using the old version. It only occurred after upgrading according to your instructions. Did vcpkg do something

dg0yt commented 1 month ago

The vcpkg repo only merges tested changed. bson and mongo changes are merged at the same time. If you use vcpkg in classic mode, you can use vcpkg upgrade to update all installed packages at the same time.

ZhanglinlinWeida commented 1 month ago

sorry , vcpkg upgrade After the command is executed, the error message appears earlier with the following prompt,nssl-3.0.7-96d825e305.clean Compilation and installation report error prerun-specific-x64-windows-rel-err.log

dg0yt commented 1 month ago

nssl-3.0.7-96d825e305.clean Compilation and installation report error

That's openssl 3.0.7. We are at 3.3.2 today. Let's look at more complete update process:

  1. git pull : Update your vcpkg repo copy, assuming you are on master
  2. bootstrap-vcpkg.bat : Update the vcpkg binary.
  3. vcpkg upgrade : Update the installed packages.
ZhanglinlinWeida commented 1 month ago

Sorry, after following your reply, the problem is still the sameconfig-x64-windows-static-md-out.log config-x64-windows-static-md-dbg-CMakeCache.txt.log config-x64-windows-static-md-rel-CMakeCache.txt.log

dg0yt commented 1 month ago

And you did vcpkg upgrade --no-dry-run? Or do you use manifest mode?

ZhanglinlinWeida commented 1 month ago

sorry ,I am a project developer, and there are other classmates in the project team who can use vcpkg without any problems, but there is a problem with me Imagevcpkg.json CMakeSettings.json