Help with setup HTTP request. #583

Open
opened 2026-12-05 11:40:13 +00:00 by github-bot · 2 comments
Owner

@⁠NextGenRyo on GitHub · 2026-12-05 11:39 UTC · original

Why do I keep getting this error?

"Error: HTTP GET request for https://download.visualstudio.microsoft.com/download/pr/8d9439fc-b60d-44e9-88b6-bae33b111f88/Win11Sdk/Sept2026Servicing26100/WindowsSDK261009457/Installers/766c0ffd568bbb31bf7fb6793383e24a.cab failed"

I just can't setup this thing, and downloads keep getting "splattered" i'm guessing that's not a good thing. Since only one gets downloaded.

When running again it seems to skip and try to build but fails since it cant find the downloads to help build.

I've tried for days. I know the download exists since if I copy and paste the URL it will download.

When you run again, it gets to this point and just fails every time.

=========================================================================================================

Compiling clap_derive v4.6.9
warning: [email protected]: In file included from /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/mimalloc-static.cc:1:
warning: [email protected]: In file included from /home/michael/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libmimalloc-sys-0.1.49/c_src/mimalloc/v3/src/static.c:17:
warning: [email protected]: In file included from c_src/mimalloc/v3/include/mimalloc/internal.h:16:
warning: [email protected]: In file included from c_src/mimalloc/v3/include/mimalloc/types.h:33:
warning: [email protected]: c_src/mimalloc/v3/include/mimalloc/atomic.h(16,10): fatal error: 'windows.h' file not found
warning: [email protected]: 16 | #include <windows.h>
warning: [email protected]: | ^~~~~~~~~~~
warning: [email protected]: 1 error generated.
error: failed to run custom build command for libmimalloc-sys v0.1.49

Caused by:
process didn't exit successfully: /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/release/build/libmimalloc-sys-ed6b85fa98acba59/build-script-build (exit status: 1)
--- stdout
cargo:INCLUDE_DIR=/home/michael/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libmimalloc-sys-0.1.49/c_src/mimalloc/v3/include
cargo:rerun-if-env-changed=CC_PREFER_CLANG_CL_OVER_MSVC
CC_PREFER_CLANG_CL_OVER_MSVC = None
cargo:rerun-if-env-changed=VCINSTALLDIR
VCINSTALLDIR = None
cargo:rerun-if-env-changed=CXX_x86_64-pc-windows-msvc
CXX_x86_64-pc-windows-msvc = None
cargo:rerun-if-env-changed=CXX_x86_64_pc_windows_msvc
CXX_x86_64_pc_windows_msvc = Some(clang-cl)
cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
CC_KNOWN_WRAPPER_CUSTOM = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CPATH
cargo:rerun-if-env-changed=C_INCLUDE_PATH
cargo:rerun-if-env-changed=CPLUS_INCLUDE_PATH
cargo:rerun-if-env-changed=OBJC_INCLUDE_PATH
cargo:rerun-if-env-changed=OBJCPLUS_INCLUDE_PATH
cargo:rerun-if-env-changed=COMPILER_PATH
cargo:rerun-if-env-changed=SOURCE_DATE_EPOCH
cargo:rerun-if-env-changed=CCC_OVERRIDE_OPTIONS
cargo:rerun-if-env-changed=CLANG_NO_DEFAULT_CONFIG
cargo:rerun-if-env-changed=INCLUDE
cargo:rerun-if-env-changed=EXTERNAL_INCLUDE
cargo:rerun-if-env-changed=VCToolsInstallDir
cargo:rerun-if-env-changed=CL
cargo:rerun-if-env-changed=CL
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:rerun-if-env-changed=TARGET_CXXFLAGS
TARGET_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_x86_64_pc_windows_msvc
CXXFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link -winsysroot /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc)
cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
CC_SHELL_ESCAPED_FLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS_x86_64-pc-windows-msvc
CXXFLAGS_x86_64-pc-windows-msvc = None
CRATE_CC_NO_DEFAULTS = None
CXXFLAGS = None
TARGET_CXXFLAGS = None
CXXFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link -winsysroot /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc)
CC_SHELL_ESCAPED_FLAGS = None
CXXFLAGS_x86_64-pc-windows-msvc = None
cargo:rerun-if-env-changed=CC_FORCE_DISABLE
CC_FORCE_DISABLE = None
CC_PREFER_CLANG_CL_OVER_MSVC = None
VCINSTALLDIR = None
CXX_x86_64-pc-windows-msvc = None
CXX_x86_64_pc_windows_msvc = Some(clang-cl)
CC_KNOWN_WRAPPER_CUSTOM = None
CRATE_CC_NO_DEFAULTS = None
CXXFLAGS = None
TARGET_CXXFLAGS = None
CXXFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link -winsysroot /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc)
CC_SHELL_ESCAPED_FLAGS = None
CXXFLAGS_x86_64-pc-windows-msvc = None
cargo:warning=In file included from /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/mimalloc-static.cc:1:
cargo:warning=In file included from /home/michael/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libmimalloc-sys-0.1.49/c_src/mimalloc/v3/src/static.c:17:
cargo:warning=In file included from c_src/mimalloc/v3/include/mimalloc/internal.h:16:
cargo:warning=In file included from c_src/mimalloc/v3/include/mimalloc/types.h:33:
cargo:warning=c_src/mimalloc/v3/include/mimalloc/atomic.h(16,10): fatal error: 'windows.h' file not found
cargo:warning= 16 | #include <windows.h>
cargo:warning= | ^~~~~~~~~~~
cargo:warning=1 error generated.

--- stderr

error occurred in cc-rs: command did not execute successfully (status code exit status: 1): "clang-cl" "-nologo" "-MD" "-O2" "-Z7" "-Brepro" "--target=x86_64-pc-windows-msvc" "-std:c++17" "-I" "c_src/mimalloc/v3/include" "-I" "c_src/mimalloc/v3/src" "/Zc:__cplusplus" "-DMI_DEBUG=0" "--target=x86_64-pc-windows-msvc" "-Wno-unused-command-line-argument" "-fuse-ld=lld-link" "-winsysroot" "/run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc" "-Fo/run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/63026c7b73905176-mimalloc-static.o" "-c" "--" "/run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/mimalloc-static.cc"

warning: build failed, waiting for other jobs to finish...

I think it's because the SDK's don't download and setup properly for me.

**@⁠NextGenRyo** on GitHub · 2026-12-05 11:39 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/583) Why do I keep getting this error? "Error: HTTP GET request for https://download.visualstudio.microsoft.com/download/pr/8d9439fc-b60d-44e9-88b6-bae33b111f88/Win11Sdk/Sept2026Servicing26100/WindowsSDK261009457/Installers/766c0ffd568bbb31bf7fb6793383e24a.cab failed" I just can't setup this thing, and downloads keep getting "splattered" i'm guessing that's not a good thing. Since only one gets downloaded. When running again it seems to skip and try to build but fails since it cant find the downloads to help build. I've tried for days. I know the download exists since if I copy and paste the URL it will download. When you run again, it gets to this point and just fails every time. ========================================================================================================= Compiling clap_derive v4.6.9 warning: [email protected]: In file included from /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/mimalloc-static.cc:1: warning: [email protected]: In file included from /home/michael/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libmimalloc-sys-0.1.49/c_src/mimalloc/v3/src/static.c:17: warning: [email protected]: In file included from c_src/mimalloc/v3/include/mimalloc/internal.h:16: warning: [email protected]: In file included from c_src/mimalloc/v3/include/mimalloc/types.h:33: warning: [email protected]: c_src/mimalloc/v3/include/mimalloc/atomic.h(16,10): fatal error: 'windows.h' file not found warning: [email protected]: 16 | #include <windows.h> warning: [email protected]: | ^~~~~~~~~~~ warning: [email protected]: 1 error generated. error: failed to run custom build command for `libmimalloc-sys v0.1.49` Caused by: process didn't exit successfully: `/run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/release/build/libmimalloc-sys-ed6b85fa98acba59/build-script-build` (exit status: 1) --- stdout cargo:INCLUDE_DIR=/home/michael/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libmimalloc-sys-0.1.49/c_src/mimalloc/v3/include cargo:rerun-if-env-changed=CC_PREFER_CLANG_CL_OVER_MSVC CC_PREFER_CLANG_CL_OVER_MSVC = None cargo:rerun-if-env-changed=VCINSTALLDIR VCINSTALLDIR = None cargo:rerun-if-env-changed=CXX_x86_64-pc-windows-msvc CXX_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CXX_x86_64_pc_windows_msvc CXX_x86_64_pc_windows_msvc = Some(clang-cl) cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM CC_KNOWN_WRAPPER_CUSTOM = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CPATH cargo:rerun-if-env-changed=C_INCLUDE_PATH cargo:rerun-if-env-changed=CPLUS_INCLUDE_PATH cargo:rerun-if-env-changed=OBJC_INCLUDE_PATH cargo:rerun-if-env-changed=OBJCPLUS_INCLUDE_PATH cargo:rerun-if-env-changed=COMPILER_PATH cargo:rerun-if-env-changed=SOURCE_DATE_EPOCH cargo:rerun-if-env-changed=CCC_OVERRIDE_OPTIONS cargo:rerun-if-env-changed=CLANG_NO_DEFAULT_CONFIG cargo:rerun-if-env-changed=INCLUDE cargo:rerun-if-env-changed=EXTERNAL_INCLUDE cargo:rerun-if-env-changed=VCToolsInstallDir cargo:rerun-if-env-changed=CL cargo:rerun-if-env-changed=_CL_ cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None cargo:rerun-if-env-changed=TARGET_CXXFLAGS TARGET_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_pc_windows_msvc CXXFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link -winsysroot /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64-pc-windows-msvc CXXFLAGS_x86_64-pc-windows-msvc = None CRATE_CC_NO_DEFAULTS = None CXXFLAGS = None TARGET_CXXFLAGS = None CXXFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link -winsysroot /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc) CC_SHELL_ESCAPED_FLAGS = None CXXFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CC_FORCE_DISABLE CC_FORCE_DISABLE = None CC_PREFER_CLANG_CL_OVER_MSVC = None VCINSTALLDIR = None CXX_x86_64-pc-windows-msvc = None CXX_x86_64_pc_windows_msvc = Some(clang-cl) CC_KNOWN_WRAPPER_CUSTOM = None CRATE_CC_NO_DEFAULTS = None CXXFLAGS = None TARGET_CXXFLAGS = None CXXFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link -winsysroot /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc) CC_SHELL_ESCAPED_FLAGS = None CXXFLAGS_x86_64-pc-windows-msvc = None cargo:warning=In file included from /run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/mimalloc-static.cc:1: cargo:warning=In file included from /home/michael/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libmimalloc-sys-0.1.49/c_src/mimalloc/v3/src/static.c:17: cargo:warning=In file included from c_src/mimalloc/v3/include/mimalloc/internal.h:16: cargo:warning=In file included from c_src/mimalloc/v3/include/mimalloc/types.h:33: cargo:warning=c_src/mimalloc/v3/include/mimalloc/atomic.h(16,10): fatal error: 'windows.h' file not found cargo:warning= 16 | #include <windows.h> cargo:warning= | ^~~~~~~~~~~ cargo:warning=1 error generated. --- stderr error occurred in cc-rs: command did not execute successfully (status code exit status: 1): "clang-cl" "-nologo" "-MD" "-O2" "-Z7" "-Brepro" "--target=x86_64-pc-windows-msvc" "-std:c++17" "-I" "c_src/mimalloc/v3/include" "-I" "c_src/mimalloc/v3/src" "/Zc:__cplusplus" "-DMI_DEBUG=0" "--target=x86_64-pc-windows-msvc" "-Wno-unused-command-line-argument" "-fuse-ld=lld-link" "-winsysroot" "/run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/deps/msvc" "-Fo/run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/63026c7b73905176-mimalloc-static.o" "-c" "--" "/run/media/michael/WorkMedia/Media/test/victory/VIctory-xmem-main/target/x86_64-pc-windows-msvc/release/build/libmimalloc-sys-4dca335890e0b776/out/mimalloc-static.cc" warning: build failed, waiting for other jobs to finish... I think it's because the SDK's don't download and setup properly for me.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 11:40:13 +00:00
Author
Owner

@⁠tommiehansen on GitHub · 2026-12-05 13:32 UTC · original

Thanks for reporting this! I've put together a fix in #590 and both tests have passed, including a real SDK installation. It's ready for review but hasn't been merged yet. This should prevent failed downloads from being mistaken for a completed installation. :)

**@⁠tommiehansen** on GitHub · 2026-12-05 13:32 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/583#issuecomment-7438822930) Thanks for reporting this! I've put together a fix in #590 and both tests have passed, including a real SDK installation. It's ready for review but hasn't been merged yet. This should prevent failed downloads from being mistaken for a completed installation. :)
Author
Owner

@⁠tommiehansen on GitHub · 2026-12-05 17:39 UTC · original

Quick update: #590 has now been merged into main. Updating and running ./setup.sh sdk should recover an incomplete SDK installation. :)

**@⁠tommiehansen** on GitHub · 2026-12-05 17:39 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/583#issuecomment-7442368282) Quick update: #590 has now been merged into main. Updating and running `./setup.sh sdk` should recover an incomplete SDK installation. :)
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#583
No description provided.