-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi! Maybe I am doing something really wrong since I have never used ffi in Rust...
I wanted to run the README example in my computer and I have the following error when compiling.
Compiling graphviz-ffi v0.1.2
error: failed to run custom build command for `graphviz-ffi v0.1.2`
Caused by:
process didn't exit successfully: `C:\Users\rsaonaur\projects\knowledge\target\debug\build\graphviz-ffi-b606b415f266dceb\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=gvc
cargo:rustc-link-lib=cgraph
--- 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\rsaonaur\.cargo\registry\src\github.com-1ecc6299db9ec823\bindgen-0.59.1\src/lib.rs:2117:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I am not sure what it means :/
Do I have to install libclang before using this crate?
Maybe I have to obtain gvc and cgraph from graphviz to make the link?
Again, sorry if this is a very basic question.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels