Skip to content

Failed to install using cargo on windows #460

@JQiue

Description

@JQiue
   Compiling http-body-util v0.1.1
   Compiling humantime v2.1.0
   Compiling strum v0.26.2
   Compiling ratatui v0.26.1
   Compiling clap v4.5.4
   Compiling futures-executor v0.3.30
   Compiling rand_regex v0.17.0
   Compiling futures v0.3.30
   Compiling aws-lc-sys v0.14.1
error: failed to run custom build command for `aws-lc-sys v0.14.1`

Caused by:
  process didn't exit successfully: `C:\Users\ush2a\AppData\Local\Temp\cargo-installH17IT7\release\build\aws-lc-sys-0d38acf102f0cbd1\build-script-main` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=AWS_LC_SYS_INTERNAL_NO_PREFIX
  cargo:rerun-if-env-changed=AWS_LC_RUST_INTERNAL_BINDGEN
  cargo:rerun-if-env-changed=AWS_LC_SYS_STATIC

  --- stderr
  Missing dependency: cmake
  thread 'main' panicked at C:\Users\ush2a\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\aws-lc-sys-0.14.1\builder/main.rs:332:34:
  called `Result::unwrap()` on an `Err` value: "Required build dependency is missing. Halting build."
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `oha v1.4.3`, intermediate artifacts can be found at `C:\Users\ush2a\AppData\Local\Temp\cargo-installH17IT7`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions