Closed IntelMin closed 2 years ago
You have to have bindgen installed on your system, or enable the build-bindgen feature for wasm3-sys
I have installed the bindgen already using cargo install bindgen
, but still having another issue:
error: failed to run custom build command for `wasm3-sys v0.3.0`
Caused by:
process didn't exit successfully: `C:\Users\Intel\AppData\Local\Temp\cargo-installhezvrd\release\build\wasm3-sys-403977a41458bc68\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\Intel\.cargo\registry\src\github.com-1ecc6299db9ec823\bindgen-0.59.2\src/lib.rs:2144:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'Failed to run bindgen: ExitStatus(ExitStatus(101))', C:\Users\Intel\.cargo\registry\src\github.com-1ecc6299db9ec823\wasm3-sys-0.3.0\build.rs:80:9
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 `hotg-rune-cli v0.11.3`, intermediate artifacts can be found at `C:\Users\Intel\AppData\Local\Temp\cargo-installhezvrd`
Caused by:
build failed
It seems clang has not installed yet.
I fixed this issue by installing LLVM according to this doc: https://rust-lang.github.io/rust-bindgen/requirements.html
Having the following issue while cargo install:
Environment:
Windows 10 Pro
All other cargo install works well...
wasm3-sys
doesn't work on Windows?