-
-
Couldn't load subscription status.
- Fork 1
Open
Description
I've tried to build the GUI of shadowmap using
cargo run --features gui --bin shadowmap-guias mentioned in ReadMe file, but it raises the following error:
error[E0308]: mismatched types
--> src/gui.rs:72:24
|
72 | Box::new(|_cc| Box::new(App::default())),
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Box<dyn App>, Box<...>>`, found `Box<App>`
|
= note: expected enum `Result<Box<dyn eframe::App>, Box<(dyn std::error::Error + Send + Sync + 'static)>>`
found struct `Box<App>`
help: try wrapping the expression in `Ok`
|
72 | Box::new(|_cc| Ok(Box::new(App::default()))),
| +++ +
For more information about this error, try `rustc --explain E0308`.
error: could not compile `shadowmap` (bin "shadowmap-gui") due to 1 previous errorArchitecure: x86-64
OS: ArchLinux
Metadata
Metadata
Assignees
Labels
No labels