microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.01k stars 6.35k forks source link

[fmt] Build error #36058

Closed ARTH1S closed 9 months ago

ARTH1S commented 9 months ago

FIX: had to be reinstalled mvs

============ Failure logs

`Detecting compiler hash for triplet x64-windows... Detecting compiler hash for triplet x64-windows-static... The following packages will be built and installed: commonlibsse-ng:x64-windows-static -> 3.6.0 -- C:\Users\New\AppData\Local\vcpkg\registries\git-trees\3c7564a8339422b4e502188e3c48d19e629eac76

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

  Failed to download file with error: 1
  If you are using 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. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
     set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
     The value set by your proxy might be wrong, or have same `https://` prefix issue.

  3. Your proxy's remote server is out of service.

  If you've tried directly download the link, and believe this is not a temporary
  download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
  to report this upstream download server failure.

Call Stack (most recent call first): scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail) scripts/cmake/vcpkg_acquire_msys.cmake:25 (vcpkg_download_distfile) scripts/cmake/vcpkg_acquire_msys.cmake:124 (z_vcpkg_acquire_msys_download_package) scripts/cmake/vcpkg_acquire_msys.cmake:209 (z_vcpkg_acquire_msys_download_packages) scripts/cmake/vcpkg_find_acquire_program(PKGCONFIG).cmake:22 (vcpkg_acquire_msys) scripts/cmake/vcpkg_find_acquire_program.cmake:118 (include) scripts/cmake/vcpkg_fixup_pkgconfig.cmake:203 (vcpkg_find_acquire_program) C:/Users/New/AppData/Local/vcpkg/registries/git-trees/3f452404270b508daf355b72031ad3ee7d0d5751/portfile.cmake:46 (vcpkg_fixup_pkgconfig) scripts/ports.cmake:147 (include)

error: building fmt:x64-windows-static failed with: BUILD_FAILED Elapsed time to handle fmt:x64-windows-static: 4.3 s 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+fmt You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[fmt]+Build+error&body=Copy+issue+body+from+C%3A%2F_MODDING%2FSKSE_Template_HelloWorld%2Fbuild%2Fdebug%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

`

peterpanning commented 1 month ago

When you say FIX: had to be reinstalled mvs, do you mean you needed to reinstall visual studio?

ARTH1S commented 1 month ago

When you say FIX: had to be reinstalled mvs, do you mean you needed to reinstall visual studio?

yes

peterpanning commented 1 month ago

This also fixed it for me--not even a full install, just uninstalling unused libraries and updating visual studio