Closed richelbilderbeek closed 2 years ago
I am unsure how to fix this, but it was an unnatural thing to do anyways.
The problem I had: in Cargo.toml
, do not use
[...]
[dependencies]
[...]
rust-sfml = "0.16.0"
But use the sfml
crate:
[...]
[dependencies]
[...]
sfml = "0.16.0"
Sorry for the noise!
You're not supposed to install dependencies with cargo install
. cargo install
is for installing applications.
Also, that error was probably because your cago/rustc are old and don't support Rust 2021 edition.
Thanks @crumblingstatue for clarifying that!
Hi
rust-sfml
maintainers, hi @jeremyletang,rust-sfml
seems very promising to me. However, already installing it gave me -a rustling- an error I do not know how to fix:Install (from The Cargo Book):
results in:
How can I fix this? What did I do wrong?
Thanks for helping out a Rust beginner and cheers, Richel Bilderbeek
I use Ubuntu 20.04 LTS with all packages updated as well as rustc v1.57.0, rustup v1.24.3 and cargo v1.53.0.