nicovanbentum / Raekor

3D Renderers using DX12/Vulkan/OpenGL in C++
MIT License
18 stars 1 forks source link

cmake error #7

Closed Yaroslav846 closed 1 month ago

Yaroslav846 commented 6 months ago

I use the cmake . command and here is the output. The link goes to 404 `Detecting compiler hash for triplet x64-windows... Detecting compiler hash for triplet x64-windows-static... The following packages will be built and installed: imgui[core,docking-experimental,dx11-binding,dx12-binding,opengl3-binding,sdl2-binding,sdl2-renderer-binding]:x64-windows-static -> 1.89.4 -- C:\Users\Slim\source\repos\Raekor\dependencies\vcpkg\buildtrees\versioning\versions\imgui\337ea84e098e85d4706ecdd807fe292933d9e6f8 lz4[core]:x64-windows-static -> 1.9.4#1 -- C:\Users\Slim\source\repos\Raekor\dependencies\vcpkg\buildtrees\versioning\versions\lz4\d7704e3869f579ffdf927b5419579473e9d702d4 sdl2[base,core,vulkan]:x64-windows-static -> 2.26.5 -- C:\Users\Slim\source\repos\Raekor\dependencies\vcpkg\buildtrees\versioning\versions\sdl2\778bb1c06d96198619bbd75704bbd4592e5f4f3a Restored 0 package(s) from C:\Users\Slim\AppData\Local\vcpkg\archives in 156 us. Use --debug to see more details. Installing 1/3 sdl2:x64-windows-static... Building sdl2[base,core,vulkan]:x64-windows-static... -- Installing port from location: C:\Users\Slim\source\repos\Raekor\dependencies\vcpkg\buildtrees\versioning\versions\sdl2\778bb1c06d96198619bbd75704bbd4592e5f4f3a -- Using cached libsdl-org-SDL-release-2.26.5.tar.gz. -- Cleaning sources at C:/Users/Slim/source/repos/Raekor/dependencies/vcpkg/buildtrees/sdl2/src/ase-2.26.5-fdc15bb8fb.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/Users/Slim/source/repos/Raekor/dependencies/vcpkg/downloads/libsdl-org-SDL-release-2.26.5.tar.gz -- Applying patch deps.patch -- Using source at C:/Users/Slim/source/repos/Raekor/dependencies/vcpkg/buildtrees/sdl2/src/ase-2.26.5-fdc15bb8fb.clean -- Found external ninja('1.11.0'). -- Configuring x64-windows-static -- Building x64-windows-static-dbg -- Building x64-windows-static-rel -- Fixing pkgconfig file: C:/Users/Slim/source/repos/Raekor/dependencies/vcpkg/packages/sdl2_x64-windows-static/lib/pkgconfig/sdl2.pc -- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst. -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst... [DEBUG] To include the environment variables in debug output, pass --debug-env [DEBUG] Trying to load bundleconfig from C:\Users\Slim\source\repos\Raekor\dependencies\vcpkg\vcpkg-bundle.json [DEBUG] Failed to open: C:\Users\Slim\source\repos\Raekor\dependencies\vcpkg\vcpkg-bundle.json [DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt [DEBUG] Metrics enabled. [DEBUG] Feature flag 'binarycaching' unset [DEBUG] Feature flag 'compilertracking' unset [DEBUG] Feature flag 'registries' unset [DEBUG] Feature flag 'versions' unset Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst Downloading https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst Downloading https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst Downloading https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst Downloading https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst warning: Download failed -- retrying after 1000ms warning: Download failed -- retrying after 2000ms warning: Download failed -- retrying after 4000ms Downloading https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst error: Failed to download from mirror set error: https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404 error: https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404 error: https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404 error: https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404 error: https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404 error: https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007 error: https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404 error: https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404 [DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(961): [DEBUG] Time in subprocesses: 0us [DEBUG] Time in parsing JSON: 9us [DEBUG] Time in JSON reader: 0us [DEBUG] Time in filesystem: 3945us [DEBUG] Time in loading ports: 0us [DEBUG] Exiting after 30 s (30318749us)

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:26 (vcpkg_download_distfile) scripts/cmake/vcpkg_acquire_msys.cmake:124 (z_vcpkg_acquire_msys_download_package) scripts/cmake/vcpkg_find_acquire_program.cmake:533 (vcpkg_acquire_msys) scripts/cmake/vcpkg_fixup_pkgconfig.cmake:203 (vcpkg_find_acquireprogram) buildtrees/versioning/versions/sdl2/778bb1c06d96198619bbd75704bbd4592e5f4f3a/portfile.cmake:127 (vcpkg_fixup_pkgconfig) scripts/ports.cmake:147 (include)

error: building sdl2:x64-windows-static failed with: BUILD_FAILED 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+sdl2 You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[sdl2]+Build+error&body=Copy+issue+body+from+C%3A%2FUsers%2FSlim%2Fsource%2Frepos%2FRaekor%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

`

nicovanbentum commented 6 months ago

Could you try going to \dependencies\vcpkg\ and running git pull there? and then try cmake . again