vcpkg не получается установить jrpc build_failed
Установка:
D:\vcpkg>.\vcpkg install grpc && .\vcpkg install protobuf
Computing installation plan...
The following packages will be built and installed:
* abseil[core]:x64-windows -> 20211102.1
* abseil[core]:x86-windows -> 20211102.1
* c-ares[core]:x64-windows -> 1.18.1
* c-ares[core]:x86-windows -> 1.18.1
* grpc[codegen,core]:x64-windows -> 1.44.0
grpc[core]:x86-windows -> 1.44.0
* openssl[core]:x64-windows -> 3.0.2#3
* openssl[core]:x86-windows -> 3.0.2#3
* protobuf[core]:x64-windows -> 3.19.4
* protobuf[core]:x86-windows -> 3.19.4
* re2[core]:x64-windows -> 2021-11-01
* re2[core]:x86-windows -> 2021-11-01
* upb[core]:x64-windows -> 2021-10-19
* upb[core]:x86-windows -> 2021-10-19
* zlib[core]:x64-windows -> 1.2.12
* zlib[core]:x86-windows -> 1.2.12
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Detecting compiler hash for triplet x86-windows...
Restored 0 packages from C:\Users\dimma\AppData\Local\vcpkg\archives in 683 us. Use --debug to see more details.
Starting package 1/16: abseil:x64-windows
Building package abseil[core]:x64-windows...
-- Using cached abseil-abseil-cpp-215105818dfde3174fe799600bb0f3cae233d0bf.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/abseil/src/cae233d0bf-0b16e4be7c.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/abseil-abseil-cpp-215105818dfde3174fe799600bb0f3cae233d0bf.tar.gz
-- Applying patch fix-cxx-standard.patch
-- Using source at D:/vcpkg/buildtrees/abseil/src/cae233d0bf-0b16e4be7c.clean
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
Command failed: D:/Cmake/bin/cmake.exe D:/vcpkg/buildtrees/abseil/src/cae233d0bf-0b16e4be7c.clean -DABSL_USE_CXX17=OFF -DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -DBUILD_SHARED_LIBS=ON -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=v143 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=D:/vcpkg -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/abseil_x64-windows/debug
Working Directory: D:/vcpkg/buildtrees/abseil/x64-windows-dbg
Error code: 1
See logs for more information:
D:\vcpkg\buildtrees\abseil\config-x64-windows-dbg-out.log
D:\vcpkg\buildtrees\abseil\config-x64-windows-dbg-err.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:357 (vcpkg_execute_required_process)
ports/abseil/portfile.cmake:25 (vcpkg_cmake_configure)
scripts/ports.cmake:145 (include)
error: building abseil:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+abseil
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[abseil]+Build+error
including:
package: abseil[core]:x64-windows -> 20211102.1
vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb
vcpkg-scripts version: c37cc7836 2022-04-19 (66 minutes ago)
Additionally, attach any relevant sections from the log files above.
Лог:
CMake Error at D:/Cmake/share/cmake-3.23/Modules/CMakeTestCXXCompiler.cmake:62 (message):
The C++ compiler
"D:/VS2022/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/vcpkg/buildtrees/abseil/x64-windows-dbg/CMakeFiles/CMakeTmp
Run Build Command(s):D:/VS2022/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_57da6 && [1/2] Building CXX object CMakeFiles\cmTC_57da6.dir\testCXXCompiler.cxx.obj
[2/2] Linking CXX executable cmTC_57da6.exe
FAILED: cmTC_57da6.exe
cmd.exe /C "cd . && D:\Cmake\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_57da6.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- D:\VS2022\VC\Tools\MSVC\14.30.30705\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_57da6.dir\testCXXCompiler.cxx.obj /out:cmTC_57da6.exe /implib:cmTC_57da6.lib /pdb:cmTC_57da6.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
RC Pass 1: command "rc /fo CMakeFiles\cmTC_57da6.dir/manifest.res CMakeFiles\cmTC_57da6.dir/manifest.rc" failed (exit code 0) with the following output:
Не удается найти указанный файл
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:53 (project)
D:\vcpkg>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
D:\vcpkg>g++ --version
g++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.