vcpkg install apr:x64-windows
Computing installation plan...
The following packages will be built and installed:
apr[core]:x64-windows
Starting package 1/1: apr:x64-windows
Building package apr[core]:x64-windows...
-- Using cached D:/SetupPath/vcpkg/downloads/apr-1.6.5.tar.bz2
-- Using source at D:/SetupPath/vcpkg/buildtrees/apr/src/apr-1-fbc95c0cfd
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v
Working Directory: D:/SetupPath/vcpkg/buildtrees/apr/x64-windows-dbg
See logs for more information:
D:\SetupPath\vcpkg\buildtrees\apr\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execut

尝试使用vcpkg在x64-windows环境下安装apr时遇到构建失败的问题,错误信息显示在特定目录下。解决此问题的方法是安装英文版的Visual Studio 2015,之后便可成功完成apr的安装。
最低0.47元/天 解锁文章





