I'm unable to build substrate-node-template using my Macbook pro M1 Pro laptop.
I updated cmake and followed the official guide
I also tried with the flag --locked
Here is the error log:
error: failed to run custom build command for `libp2p-kad v0.41.0
error: failed to run custom build command for `libp2p-identify v0.40.0`
error: failed to run custom build command for `sc-network-light v0.10.0-dev (https://github.com/paritytech/substrate?branch=polkadot-v0.9.32#5ea6d953)`
Update:
After following the the MacOs installation steps
- Updated BREW
- Installed CMAKE
- Installed openSSL
rustup default stable
andrustup update
rustup update nightly
andrustup target add wasm32-unknown-unknown --toolchain nightly
git clone https://github.com/substrate-developer-hub/substrate-node-template
cd substrate-node-template
cargo build --release
and triedcargo build --locked
And now I'm getting the following error:
error: failed to run custom build command for `libp2p-core v0.37.0