I try to configure Ubuntu VM for MultiversX developers. I follow the instructions on the site, but when I try to compile a smart contract I get the bellow issue:
Rust is not installed on your machine. Run
mxpy deps install rust --overwrite
and try again.
CRITICAL cli: Dependency missing: rust nightly-2023-12-11
Dependency missing: rust nightly-2023-12-12
But Rust is installed.
The following command:
rustup show
displays:
installed targets for active toolchain
---------------------------------------
wasm32-unknown-unknown
x86_64-unknown-linux-gnu
active toolchain
----------------
nightly-2023-12-11-x86_64-unknwon-linux-gnu (default)
rustc 1.76.0-nightly (d86d65bbc 2023-12-10)
Install
pkg-config
withlibssl-dev
:Then install rust from
mxpy
CLI:After these, the smart contract should compile.
Other possible useful details can be found under SDK and Tools > Troubleshooting > Fix Rust installation.