-
-
Notifications
You must be signed in to change notification settings - Fork 174
Description
Before reporting an issue please first check the
troubleshooting guide. If
the issue you're encountering is not solved thereby please state the following in your bugreport:
- windows 64
- cargo add opencv, cargo build
- OpenCV version 0.89.0
- rustc version (
rustc --version
) rustc 1.78.0-nightly - Attach the full output of the following command from your project directory:
RUST_BACKTRACE=full cargo build -vv
cargo build
Compiling clang-sys v1.7.0
Compiling num-traits v0.2.18
error: failed to run custom build command for clang-sys v1.7.0
Caused by:
process didn't exit successfully: C:\Users\alexs\Desktop\rust_projects\openve_tests\target\debug\build\clang-sys-8dad49d408f57131\build-script-build
(exit code: 101)
--- stderr
thread 'main' panicked at C:\Users\alexs.cargo\registry\src\index.crates.io-6f17d22bba15001f\clang-sys-1.7.0\build\dynamic.rs:206:45:
called Result::unwrap()
on an Err
value: "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: [])"
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
RUST_BACKTRACE=full cargo build
RUST_BACKTRACE=full : The term 'RUST_BACKTRACE=full' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
- RUST_BACKTRACE=full cargo build -vv
-
+ CategoryInfo : ObjectNotFound: (RUST_BACKTRACE=full:String) [], CommandNotFo undException + FullyQualifiedErrorId : CommandNotFoundException