我是 GIS 新手。我正在尝试使用 VCPKG 管理器使用以下命令在 Windows(MS Visual Studio 2017)上构建 PCL:vcpkg install pcl:x64-windows。构建失败并出现以下 OpenSSL 错误:
Building package openssl-windows[core]:x64-windows...
-- Downloading http://strawberryperl.com/download/5.24.1.1/strawberry-perl-
5.24.1.1-32bit-portable.zip...
-- Downloading http://strawberryperl.com/download/5.24.1.1/strawberry-perl-
5.24.1.1-32bit-portable.zip... Failed. Status: 22;"HTTP response code said
error"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:156 (message):
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/".
Otherwise, please submit an issue at
https://github.com/Microsoft/vcpkg/issues
Call Stack (most recent call first):
scripts/cmake/vcpkg_find_acquire_program.cmake:237
(vcpkg_download_distfile)
ports/openssl-windows/portfile.cmake:9 (vcpkg_find_acquire_program)
scripts/ports.cmake:71 (include)
Error: Building package openssl-windows:x64-windows failed with:
BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`,
then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: openssl-windows:x64-windows
Vcpkg version: 2018.10.20-nohash
看起来 URL 不起作用。或者,我尝试使用 conda 包管理器安装 PCL。它安装正确,但我可以将外部应用程序链接到 PCL 库吗?如果是这样怎么做?我在哪里可以找到标题和库?我也无法运行 pclviewer pcl_visualizer 等应用程序,
请建议是否有其他方法可以从源代码构建 PCL?谢谢!