使用 vcpkg 安装 OpenAL 但遇到错误

时间:2021-07-31 08:28:43

标签: cmake vcpkg

我正在尝试使用 vcpkg 工具安装 OpenAL,但它给出了我无法解决的错误消息。 错误信息如下。

<块引用>

C:\Dev\vcpkg\vcpkg-2021.05.12>vcpkg install openal-soft:x64-windows 正在计算安装计划... 将构建和安装以下软件包: openal-soft[核心]:x64-windows -> 1.21.1 检测三元组 x64-windows 的编译器哈希... -- 将 HTTP_PROXY 环境变量设置为 http://127.0.0.1:16005 -- 将 HTTPS_PROXY 环境变量设置为 https://127.0.0.1:16005 -- 设置SOCKS_PROXY环境变量为socks://127.0.0.1:16005 错误:检测编译器信息时: C:\Dev\vcpkg\vcpkg-2021.05.12\buildtrees\detect_compiler\stdout-x64-windows.log 的日志内容是: -- 找到 ninja('1.8.2') 但至少需要 1.10.1 版本!如果可能,尝试使用内部版本! -- 正在下载 https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-win.zip -> ninja-win-1.10.1.zip... -- 正在下载 https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-win.zip..。失败的。状态:4;“由于构建时的决定,未在此 libcurl 中找到内置的请求功能、协议或选项。” 脚本/cmake/vcpkg_download_distfile.cmake 中的 CMake 错误:184 (消息):

  Failed to download file.
  If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
  variables to "https://user:password@your-proxy-ip-address:port/".

  If error with status 4 (Issue #15434),
  try setting "http://user:password@your-proxy-ip-address:port/".

  Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

调用堆栈(最近调用优先):
脚本/cmake/vcpkg_find_acquire_program.cmake:544 (vcpkg_download_distfile)
脚本/cmake/vcpkg_configure_cmake.cmake:168 (vcpkg_find_acquire_program)
脚本/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake)
脚本/ports.cmake:142(包括)

错误:vcpkg 无法检测到活动编译器的信息。 有关 CMake 失败输出,请参见上文。

我该怎么办?

0 个答案:

没有答案
相关问题