fltk-rs/fluid

mac bookpro m1 failed to run custom build command

Closed this issue · 2 comments

cargo install fltk-fluid
Updating crates.io index
Installing fltk-fluid v0.1.9
Compiling libc v0.2.147
Compiling cc v1.0.83
Compiling cmake v0.1.50
Compiling fltk-fluid v0.1.9
error: failed to run custom build command for fltk-fluid v0.1.9

Caused by:
process didn't exit successfully: /var/folders/td/k2dmqky15blg2kx_x8_5bb_m0000gn/T/cargo-installl93O0q/release/build/fltk-fluid-41751a9220ef5666/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: NotPresent', /Users/test/.cargo/registry/src/github.com-1ecc6299db9ec823/fltk-fluid-0.1.9/build.rs:6:59
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: failed to compile fltk-fluid v0.1.9, intermediate artifacts can be found at /var/folders/td/k2dmqky15blg2kx_x8_5bb_m0000gn/T/cargo-installl93O0q

Hi
How did you install Rust?
Was it via rustup. The build script searches for a CARGO_HOME env variable which doesn’t seem to be set.

Hi
The problem has been solved