Skip to content
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

Compilation failed on Windows #301

Open
hanxiaohuivc opened this issue Sep 11, 2024 · 0 comments
Open

Compilation failed on Windows #301

hanxiaohuivc opened this issue Sep 11, 2024 · 0 comments

Comments

@hanxiaohuivc
Copy link

I tried to compile on Windows, but the following problem occurred
cargo build --features bindgen warning: C:\Users\hanxi.cargo\configis deprecated in favor ofconfig.tomlnote: if you need to support cargo 1.38 or earlier, you can symlinkconfigtoconfig.tomlwarning:C:\Users\hanxi.cargo\configis deprecated in favor ofconfig.tomlnote: if you need to support cargo 1.38 or earlier, you can symlinkconfigtoconfig.toml`
Compiling zstd-sys v2.0.13+zstd.1.5.6 (C:\Users\hanxi.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6)
The following warnings were emitted during compilation:

warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_compress_superblock.c:14:10: 致命错误:zstd_compress_superblock.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 14 | #include "zstd_compress_superblock.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress_superblock.o" "-c" "zstd/lib/compress\zstd_compress_superblock.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress_sequences.c:14:10: 致命错误:zstd_compress_sequences.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 14 | #include "zstd_compress_sequences.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress_sequences.o" "-c" "zstd/lib/compress\zstd_compress_sequences.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress.c:17:10: 致命错误:hist.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 17 | #include "hist.h" /* HIST_countFast_wksp /
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress.o" "-c" "zstd/lib/compress\zstd_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\huf_compress.c:29:10: 致命错误:hist.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 29 | #include "hist.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-huf_compress.o" "-c" "zstd/lib/compress\huf_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\hist.c:20:10: 致命错误:hist.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 20 | #include "hist.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-hist.o" "-c" "zstd/lib/compress\hist.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\fse_compress.c:21:10: 致命错误:hist.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 21 | #include "hist.h" /
HIST_count_wksp /
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-fse_compress.o" "-c" "zstd/lib/compress\fse_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress_literals.c:14:10: 致命错误:./zstd_compress_literals.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 14 | #include "./zstd_compress_literals.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress_literals.o" "-c" "zstd/lib/compress\zstd_compress_literals.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_double_fast.c:11:10: 致命错误:zstd_compress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 11 | #include "zstd_compress_internal.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_double_fast.o" "-c" "zstd/lib/compress\zstd_double_fast.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_fast.c:11:10: 致命错误:zstd_compress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 11 | #include "zstd_compress_internal.h" /
ZSTD_hashPtr, ZSTD_count, ZSTD_storeSeq /
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_fast.o" "-c" "zstd/lib/compress\zstd_fast.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_lazy.c:11:10: 致命错误:zstd_compress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 11 | #include "zstd_compress_internal.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_lazy.o" "-c" "zstd/lib/compress\zstd_lazy.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_ldm.c:11:10: 致命错误:zstd_ldm.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 11 | #include "zstd_ldm.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_ldm.o" "-c" "zstd/lib/compress\zstd_ldm.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_opt.c:11:10: 致命错误:zstd_compress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 11 | #include "zstd_compress_internal.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_opt.o" "-c" "zstd/lib/compress\zstd_opt.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\divsufsort.c:43:10: 致命错误:divsufsort.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 43 | #include "divsufsort.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-divsufsort.o" "-c" "zstd/lib/dictBuilder\divsufsort.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_ddict.c:24:10: 致命错误:zstd_decompress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 24 | #include "zstd_decompress_internal.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\690f776bf7b37aeb-zstd_ddict.o" "-c" "zstd/lib/decompress\zstd_ddict.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstdmt_compress.c:24:10: 致命错误:zstd_compress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 24 | #include "zstd_compress_internal.h" /
MIN, ERROR, ZSTD_*, ZSTD_highbit32 /
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstdmt_compress.o" "-c" "zstd/lib/compress\zstdmt_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_decompress_block.c:25:10: 致命错误:zstd_decompress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 25 | #include "zstd_decompress_internal.h" /
ZSTD_DCtx /
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\690f776bf7b37aeb-zstd_decompress_block.o" "-c" "zstd/lib/decompress\zstd_decompress_block.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_decompress.c:68:10: 致命错误:zstd_decompress_internal.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 68 | #include "zstd_decompress_internal.h" /
ZSTD_DCtx */
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\690f776bf7b37aeb-zstd_decompress.o" "-c" "zstd/lib/decompress\zstd_decompress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\cover.c:39:10: 致命错误:cover.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 39 | #include "cover.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-cover.o" "-c" "zstd/lib/dictBuilder\cover.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\fastcover.c:29:10: 致命错误:cover.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 29 | #include "cover.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-fastcover.o" "-c" "zstd/lib/dictBuilder\fastcover.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\zdict.c:55:10: 致命错误:divsufsort.h:No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: 55 | #include "divsufsort.h"
warning: zstd-sys@2.0.13+zstd.1.5.6: | ^~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: 编译中断。
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-zdict.o" "-c" "zstd/lib/dictBuilder\zdict.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).

error: failed to run custom build command for zstd-sys v2.0.13+zstd.1.5.6 (C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6)
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
process didn't exit successfully: C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-40a8c9ab51967667\build-script-build (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=ZSTD_SYS_USE_PKG_CONFIG
TARGET = Some("x86_64-pc-windows-gnu")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-pc-windows-gnu")
cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu
CC_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu
CC_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3")
cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
CFLAGS_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
CFLAGS_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu
CC_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu
CC_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3")
cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
CFLAGS_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
CFLAGS_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu
CC_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu
CC_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3")
cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
CFLAGS_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
CFLAGS_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu
CC_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu
CC_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3")
cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
CFLAGS_x86_64-pc-windows-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
CFLAGS_x86_64_pc_windows_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:warning=zstd/lib/compress\zstd_compress_superblock.c:14:10: 致命错误:zstd_compress_superblock.h:No such file or directory
cargo:warning= 14 | #include "zstd_compress_superblock.h"
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。
exit code: 0
exit code: 0
exit code: 0
exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress_superblock.o" "-c" "zstd/lib/compress\zstd_compress_superblock.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress_sequences.c:14:10: 致命错误:zstd_compress_sequences.h:No such file or directory
cargo:warning= 14 | #include "zstd_compress_sequences.h"
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress_sequences.o" "-c" "zstd/lib/compress\zstd_compress_sequences.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress.c:17:10: 致命错误:hist.h:No such file or directory
cargo:warning= 17 | #include "hist.h" /* HIST_countFast_wksp */
cargo:warning= | ^~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress.o" "-c" "zstd/lib/compress\zstd_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\huf_compress.c:29:10: 致命错误:hist.h:No such file or directory
cargo:warning= 29 | #include "hist.h"
cargo:warning= | ^~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-huf_compress.o" "-c" "zstd/lib/compress\huf_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\hist.c:20:10: 致 命错误:hist.h:No such file or directory
cargo:warning= 20 | #include "hist.h"
cargo:warning= | ^~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-hist.o" "-c" "zstd/lib/compress\hist.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\fse_compress.c:21:10: 致命错误:hist.h:No such file or directory
cargo:warning= 21 | #include "hist.h" /* HIST_count_wksp */
cargo:warning= | ^~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-fse_compress.o" "-c" "zstd/lib/compress\fse_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress_literals.c:14:10: 致命错误:./zstd_compress_literals.h:No such file or directory
cargo:warning= 14 | #include "./zstd_compress_literals.h"
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 0
exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_compress_literals.o" "-c" "zstd/lib/compress\zstd_compress_literals.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_double_fast.c:11:10: 致命错误:zstd_compress_internal.h:No such file or directory
cargo:warning= 11 | #include "zstd_compress_internal.h"
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 0
exit code: 0
exit code: 0
exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_double_fast.o" "-c" "zstd/lib/compress\zstd_double_fast.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_fast.c:11:10: 致命错误:zstd_compress_internal.h:No such file or directory
cargo:warning= 11 | #include "zstd_compress_internal.h" /* ZSTD_hashPtr, ZSTD_count, ZSTD_storeSeq */
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_fast.o" "-c" "zstd/lib/compress\zstd_fast.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_lazy.c:11:10: 致命错误:zstd_compress_internal.h:No such file or directory
cargo:warning= 11 | #include "zstd_compress_internal.h"
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_lazy.o" "-c" "zstd/lib/compress\zstd_lazy.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_ldm.c:11:10: 致命 错误:zstd_ldm.h:No such file or directory
cargo:warning= 11 | #include "zstd_ldm.h"
cargo:warning= | ^~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_ldm.o" "-c" "zstd/lib/compress\zstd_ldm.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_opt.c:11:10: 致命错 误:zstd_compress_internal.h:No such file or directory
cargo:warning= 11 | #include "zstd_compress_internal.h"
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstd_opt.o" "-c" "zstd/lib/compress\zstd_opt.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\divsufsort.c:43:10: 致命错误:divsufsort.h:No such file or directory
cargo:warning= 43 | #include "divsufsort.h"
cargo:warning= | ^~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-divsufsort.o" "-c" "zstd/lib/dictBuilder\divsufsort.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_ddict.c:24:10: 致命错误:zstd_decompress_internal.h:No such file or directory
cargo:warning= 24 | #include "zstd_decompress_internal.h"
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\690f776bf7b37aeb-zstd_ddict.o" "-c" "zstd/lib/decompress\zstd_ddict.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstdmt_compress.c:24:10: 致命错误:zstd_compress_internal.h:No such file or directory
cargo:warning= 24 | #include "zstd_compress_internal.h" /* MIN, ERROR, ZSTD_*, ZSTD_highbit32 */
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\1ddd1489cc625d97-zstdmt_compress.o" "-c" "zstd/lib/compress\zstdmt_compress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_decompress_block.c:25:10: 致命错误:zstd_decompress_internal.h:No such file or directory
cargo:warning= 25 | #include "zstd_decompress_internal.h" /* ZSTD_DCtx */
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\690f776bf7b37aeb-zstd_decompress_block.o" "-c" "zstd/lib/decompress\zstd_decompress_block.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_decompress.c:68:10: 致命错误:zstd_decompress_internal.h:No such file or directory
cargo:warning= 68 | #include "zstd_decompress_internal.h" /* ZSTD_DCtx */
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\690f776bf7b37aeb-zstd_decompress.o" "-c" "zstd/lib/decompress\zstd_decompress.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\cover.c:39:10: 致命错误:cover.h:No such file or directory
cargo:warning= 39 | #include "cover.h"
cargo:warning= | ^~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-cover.o" "-c" "zstd/lib/dictBuilder\cover.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\fastcover.c:29:10: 致命错误:cover.h:No such file or directory
cargo:warning= 29 | #include "cover.h"
cargo:warning= | ^~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-fastcover.o" "-c" "zstd/lib/dictBuilder\fastcover.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).cargo:warning=zstd/lib/dictBuilder\zdict.c:55:10: 致命错误:divsufsort.h:No such file or directory
cargo:warning= 55 | #include "divsufsort.h"
cargo:warning= | ^~~~~~~~~~~~~~
cargo:warning=编译中断。

exit code: 1
cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-zdict.o" "-c" "zstd/lib/dictBuilder\zdict.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).
exit code: 0
exit code: 0
exit code: 0
exit code: 0
exit code: 0
exit code: 0
exit code: 0
exit code: 0

--- stderr

error occurred: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "C:\Users\hanxi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\zstd-sys-2.0.13+zstd.1.5.6\target\debug\build\zstd-sys-a92033d602387e75\out\b0401a448be314bb-zdict.o" "-c" "zstd/lib/dictBuilder\zdict.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).`

rustc 1.80.1 (3f5fd8dd4 2024-08-06)
stable-x86_64-pc-windows-gnu (default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant