bitcoindevkit.org icon indicating copy to clipboard operation
bitcoindevkit.org copied to clipboard

Can't install miniscriptc with provided instructions

Open RooSoft opened this issue 1 year ago • 0 comments

In the compiler section, there is a command for miniscriptc installation using cargo.

On macOS, I get this error, trying to run it:

❯ cargo install --git https://github.com/bitcoindevkit/bdk --features="compiler" --example miniscriptc wallet_esplora_async
    Updating git repository `https://github.com/bitcoindevkit/bdk`
  Installing wallet_esplora_async v0.2.0 (https://github.com/bitcoindevkit/bdk#17a9850c)
error: failed to compile `wallet_esplora_async v0.2.0 (https://github.com/bitcoindevkit/bdk#17a9850c)`, intermediate artifacts can be found at `/var/folders/zt/0tyjmrks7sb6gbz5_zpjzq9c0000gn/T/cargo-installA1Cx6u`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  none of the selected packages contains these features: compiler

RooSoft avatar Jul 25 '24 20:07 RooSoft