Skip to content

Windows平台下编译问题 #474

@Godli369

Description

@Godli369

平台:Windows 10
已安装tquic所需依赖:
rust 1.70+
git 2.0+
gcc 9.3+
cmake 3.22+
Visual Studio 2019
NASM

使用编译命令:
cargo build --release -F ffi

报错信息:

Image

G:\github\Git\tquic\tquic>cargo build --release -F ffi
Compiling tquic v1.6.0 (G:\github\Git\tquic\tquic)
error: failed to run custom build command for tquic v1.6.0 (G:\github\Git\tquic\tquic)

Caused by:
process didn't exit successfully: G:\github\Git\tquic\tquic\target\release\build\tquic-7b4f7ec1c218154d\build-script-build (exit code: 101)
--- stderr

thread 'main' panicked at D:\VSCODE\CompilationEnvironment\Rust.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\cmake-0.1.54\src\lib.rs:1119:5:

command did not execute successfully, got: exit code: 1

build script failed, must exit now
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

这个问题该如何处理?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions