2

which versions of Solana SDK and Anchor are compatible with the stable toolchain.? It appears that the current nightly toolchain you are using (nightly-x86_64-unknown-linux-gnu) does not support the bpfel-unknown-unknown target, which is necessary for building Solana programs!! missing the required target for building Solana programs, which is bpfel-unknown-unknown. Thank you

1 Answer 1

1

You'll need to install the Solana toolsuite, which contains the compiler which can target bpfel-unknown-unknown.

After you follow the instructions at https://solana.com/docs/intro/installation#install-the-solana-cli, you should be able to run cargo build-bpf or cargo build-sbf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.