hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
190 stars 56 forks source link

Can not cargo ordhook-install #280

Closed louisdangw3 closed 7 months ago

louisdangw3 commented 7 months ago

Hi , i have a bug when i run cargo ordhook-install in window . my rustc is 1.76.0 .

this is my bug error: failed to run custom build command for librocksdb-sys v0.11.0+8.1.1

Caused by: process didn't exit successfully: C:\Users\Admin\Downloads\ordhook-2.0.1\target\release\build\librocksdb-sys-463c746d9e475926\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\Admin.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen-0.65.1\lib.rs:603:31 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 ordhook-cli v2.0.0 (C:\Users\Admin\Downloads\ordhook-2.0.1\components\ordhook-cli), intermediate artifacts can be found at C:\Users\Admin\Downloads\ordhook-2.0.1\target. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.