Compiling epd-waveshare v0.5.0 (https://github.com/caemor/epd-waveshare?rev=f22b6e2c33173#f22b6e2c)
error[E0583]: file not found for module `config`
--> src/main.rs:27:1
|
27 | mod config;
| ^^^^^^^^^^^
|
= help: to create the module `config`, create file "src/config.rs" or "src/config/mod.rs"
error[E0432]: unresolved imports `config::IMAGE_DATA_URL`, `config::WIFI_CONFIG_DATA`
--> src/main.rs:31:14
|
31 | use config::{IMAGE_DATA_URL, WIFI_CONFIG_DATA};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `WIFI_CONFIG_DATA` in `config`
| |
| no `IMAGE_DATA_URL` in `config`
warning: unused import: `wifi::WifiConfig`
--> src/main.rs:30:5
|
30 | use wifi::WifiConfig;
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Some errors have detailed explanations: E0432, E0583.
For more information about an error, try `rustc --explain E0432`.
warning: `halldisplay-esp` (bin "halldisplay-esp") generated 1 warning
error: could not compile `halldisplay-esp` (bin "halldisplay-esp") due to 2 previous errors; 1 warning emitted
can not find: config.rs or mod.rs in the dir: eink-esp-weather-display
Could not run / compile what did I wrong ?
here is what I did:
$ git clone https://github.com/boustrophedon/eink-esp-weather-display/ $ cd eink-esp-weather-display/esp $ . ~/export-esp.sh $ cargo run
can not find: config.rs or mod.rs in the dir: eink-esp-weather-display