Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install miniscriptc with provided instructions #188

Open
RooSoft opened this issue Jul 25, 2024 · 0 comments
Open

Can't install miniscriptc with provided instructions #188

RooSoft opened this issue Jul 25, 2024 · 0 comments

Comments

@RooSoft
Copy link

RooSoft commented Jul 25, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant