error: failed to run custom build command for `hidapi v0.4.1`
While trying to run Emerald Wallet on Ubuntu 18 I need to install dependencies so I run:
./dependencies.sh
but I got following error:
Compiling arrayvec v0.3.25
error: failed to run custom build command for hidapi v0.4.1
process didn't exit successfully: /tmp/cargo-install.wRBC84LTpTWq/release/build/hidapi-580f037a23a0889a/build-script-build (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find libusb-1.0: "Failed to run \"pkg-config\" \"--libs\" \"--cflags\" \"libusb-1.0\": No such file or directory (os error 2)"', libcore/result.rs:945:5
note: Run with RUST_BACKTRACE=1 for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to compile emerald-cli v0.22.0, intermediate artifacts can be found at /tmp/cargo-install.wRBC84LTpTWq
Caused by: build failed
Thanks for any hint how to cope with that.
EDIT: I also copied emerald to:
Should be ~/.cargo/bin/emerald, hopefully.
But still does not work.
Hi @TomaszWaszczyk you can run npm run getemerald for it to download the binary instead of installing cargo
@shanejonas should we update the docs to advise this instead?