shadow3aaa / dobby-api

以rust风格导出DobbyHook的api
2 stars 2 forks source link

cargo build error #1

Closed yujack008 closed 7 months ago

yujack008 commented 7 months ago

error: failed to run custom build command for dobby-api v0.2.0

Caused by: process didn't exit successfully: D:\Projects\Rust\hook\target\debug\build\dobby-api-4addb8a27617b2ab\build-script-build (exit code: 101) --- stdout cargo:rerun-if-changed=prebuilt cargo:rustc-link-search=native=prebuilt/android/arm64-v8a cargo:rustc-link-lib=static=dobby cargo:rustc-link-lib=dylib=c++

--- stderr thread 'main' panicked at E:\Rust.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen-0.66.1\lib.rs:604:31: 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: [])" note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

shadow3aaa commented 7 months ago

Did you installed libllvm?