building issues using anchor #12
surya-moorthy
started this conversation in
General
Replies: 1 comment
-
Ensure Rust target is installed Run:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i am using Linux OS and built rust , solana and anchor tools with proper steps followed through docs , but after that when i try to build a dapp which was created using using anchor , this error , i knew all the components and features were added properly , but i couldn't find any solution on it.
i tried to uinstall and reinstall properly as many times , but couldn't able to solve.
Can someone provide any advice on this?
` rror[E0463]: can't find crate for std
|
= note: the x86_64-unknown-linux-gnu target may not be installed
= help: consider adding the standard library to the sysroot with x build library --target x86_64-unknown-linux-gnu
= help: consider building the standard library from source with cargo build -Zbuild-std
For more information about this error, try rustc --explain E0463.
error: could not compile syn (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile serde (build script) due to 1 previous error
error[E0463]: can't find crate for core
|
= note: the x86_64-unknown-linux-gnu target may not be installed
= help: consider adding the standard library to the sysroot with x build library --target x86_64-unknown-linux-gnu
= help: consider building the standard library from source with cargo build -Zbuild-std
error: could not compile proc-macro2 (build script) due to 1 previous error
error: could not compile equivalent (lib) due to 1 previous error
error: could not compile unicode-ident (lib) due to 1 previous error
error: could not compile toml_datetime (lib) due to 1 previous error
error: could not compile typenum (build script) due to 1 previous error
error[E0463]: can't find crate for core
|
= note: the sbpf-solana-solana target may not be installed
= help: consider adding the standard library to the sysroot with x build library --target sbpf-solana-solana
= help: consider building the standard library from source with cargo build -Zbuild-std
error: could not compile cfg-if (lib) due to 1 previous error
error: could not compile version_check (lib) due to 1 previous error
error: could not compile autocfg (lib) due to 1 previous error
error: could not compile hashbrown (lib) due to 1 previous error
error: could not compile winnow (lib) due to 1 previous error \ `
Beta Was this translation helpful? Give feedback.
All reactions