Closed munitioner closed 1 year ago
Could you access https://raw.githubusercontent.com/boostorg/boost/boost-1.80.0/LICENSE_1_0.txt directly and download successfully? boost_LICENSE_1_0.txt
This issue hasn’t been updated for a long time; if it is still an issue, please reopen this issue.
./vcpkg.exe install cgal error info:
Computing installation plan... The following packages will be built and installed:
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(766): [DEBUG] Time in subprocesses: 0 us [DEBUG] Time in parsing JSON: 4 us [DEBUG] Time in JSON reader: 0 us [DEBUG] Time in filesystem: 1311 us [DEBUG] Time in loading ports: 0 us [DEBUG] Exiting after 7.103 s (7091516 us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
Failed to download file with error: 1
If you use a proxy, please check your proxy setting. Possible causes are:
1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
to `https://address:port`. This is not correct, because `https://` prefix
claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
, etc..) is an HTTP proxy. Try setting `http://address:port` to both
HTTP_PROXY and HTTPS_PROXY instead.
2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
Change `http=address:port;https=address:port` to `address`, and fill the port number.
3. Your proxy's remote server is out of service.
In future vcpkg releases, if you are using Windows, you no longer need to set
HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
and (https://github.com/microsoft/vcpkg-tool/pull/77)
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
Call Stack (most recent call first): scripts/cmake/vcpkg_download_distfile.cmake:273 (z_vcpkg_download_distfile_show_proxy_and_fail) ports/boost-vcpkg-helpers/portfile.cmake:11 (vcpkg_download_distfile) scripts/ports.cmake:147 (include)
error: building boost-vcpkg-helpers:x86-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files 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+boost-vcpkg-helpers
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[boost-vcpkg-helpers]+Build+error
Include '[boost-vcpkg-helpers] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-10-17-3247920fbdd47d08f36cbd480addd9890d3c2435
vcpkg-scripts version: fcfda3c78 2022-10-31 (15 hours ago)
Please use the prefilled template from E:\ProjectFile\1_SourceCode\7_Downloads\vcpkg\installed\vcpkg\issue_body.md when reporting your issue.
@huangxn987 Have you tried this suggestion https://github.com/microsoft/vcpkg/issues/27292#issuecomment-1281874932 ? And please turn off the firewall and try again.
https://raw.githubusercontent.com/boostorg/boost/boost-1.80.0/LICENSE_1_0.txt
No, I can't access and download this file.
@SamuelXue This link is valid. Please confirm whether your network is good and turn off the firewall. :)
@SamuelXue Maybe rerun the script bootstrap-vcpkg.bat
and try again.
@huangxn987您是否尝试过这个建议#27292(评论)?请关闭防火墙并重试。
I don't know if it has anything to do with win11. Win10 is normal.
Sorry, I can't reproduce your problem. May be due to proxy issues with windows11
. Please make sure your network and proxy, if there are still problems, please report to windows11
. :)
D:\Program Files (x86)\vcpkg\vcpkg>.\vcpkg install pcl[qt,vtk]:x64-windows