https://hutscape.com/tutorials/blinky-rust-esp32s3
In February of this year, and still today (using the directory that was stopped in my ubuntu 20.04-LTS Cmake version=3.16) I made a blink led in esp32s3 using the tutorial above.
Yesterday I tried to redo it and I came across the same errors in the link below, and I tried to use the code proposed in this link(below) there and it didn't compile. In two machines that I have here. Ubuntu 22.04 with cmake 3.22
https://www.reddit.com/r/rust/comments/ ... ssue_with/
It`s my issue:
Code: Select all
error[E0433]: failed to resolve: use of undeclared crate or module `anyhow`
--> src/main.rs:10:14
|
10 | fn main() -> anyhow::Result<()> {
| ^^^^^^ use of undeclared crate or module `anyhow`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `hello` (bin "hello") due to previous error
How to solve?
Pls
!