Using eframe v0.22.0 raises and error on compilation
The following error is raised when we use the .toml file as is, run cargo update then cargo build --release:
Compiling eframe v0.22.0
error[E0432]: unresolved import `winapi::um::winuser`
--> C:\Users\YbII Cobra\.cargo\registry\src\index.crates.io-6f17d22bba15001f\eframe-0.22.0\src\native\app_icon.rs:74:9
|
74 | use winapi::um::winuser;
| ^^^^^^^^^^^^^^^^^^^ no `winuser` in `um`
|
--> C:\Users\YbII Cobra\.cargo\registry\src\index.crates.io-6f17d22bba15001f\winapi-0.3.9\src\um\mod.rs:290:37
|
290 | #[cfg(feature = "winuser")] pub mod winuser;
| ^^^^^^^
= note: the item is gated behind the `winuser` feature
However, by forcing eframe = "0.28.1" in the .toml dependencies, then cargo update and cargo build --release, we can successfully build.
Edited by whuie2