-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[freeglut] downloaded file hash is incorrect #13193
Comments
Hi@TA-MEI, |
This may be a internal error of sourceforge, please make sure your vcpkg is latest. |
@JackBoosY @JonLiu1993 thank you· I have install it successfully. I modify modify the Expected hash to Actual hash in the porfile.cmake file and then reinstall. But,
then I delet freeglut-3.2.1.tar.gz and install hash errors showed up then I modify the Expected hash to Actual hash in the porfile.cmake file again.
work it ,thanks everyone |
PS D:\Software\vcpkg> vcpkg install freeglut
Computing installation plan...
The following packages will be built and installed:
freeglut[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: freeglut:x64-windows
Building package freeglut[core]:x64-windows...
Could not locate cached archive: C:\Users\MEI\AppData\Local\vcpkg/archives\52\5249350501ab0f81bf3e11e6c38f2756ec4d764b.zip
-- Trying auto-select mirror...
-- Downloading https://sourceforge.net/projects/freeglut/files/freeglut/3.2.1/freeglut-3.2.1.tar.gz/download...
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:99 (message):
File does not have expected hash:
The file may have been corrupted in transit. This can be caused by
proxies. If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY
environment variables to
"https://user:password@your-proxy-ip-address:port/".
Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:194 (test_hash)
scripts/cmake/vcpkg_from_sourceforge.cmake:152 (vcpkg_download_distfile)
ports/freeglut/portfile.cmake:1 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)
Error: Building package freeglut:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: freeglut:x64-windows
Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.
The text was updated successfully, but these errors were encountered: