Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error on Windows no variant or associated item named Resized found for enum winit::event::WindowEvent in the current scope #691

Open
wiiznokes opened this issue Nov 7, 2024 · 1 comment

Comments

@wiiznokes
Copy link
Contributor

 error[E0599]: no variant or associated item named `Resized` found for enum `winit::event::WindowEvent` in the current scope
   --> C:\Users\runneradmin\.cargo\git\checkouts\libcosmic-b367e32ffc370f4f\568ff09\iced\winit\src\program.rs:317:44
    |
317 |                 winit::event::WindowEvent::Resized(_)
    |                                            ^^^^^^^ variant or associated item not found in `WindowEvent`

error[E0599]: no variant or associated item named `EventLoopAwakened` found for enum `program::Event` in the current scope
   --> C:\Users\runneradmin\.cargo\git\checkouts\libcosmic-b367e32ffc370f4f\568ff09\iced\winit\src\program.rs:335:32
    |
335 |                         Event::EventLoopAwakened(
    |                                ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Event<_>`
...
645 | pub(crate) enum Event<Message: 'static> {
    | --------------------------------------- variant or associated item `EventLoopAwakened` not found for this enum

@netraptor
Copy link
Contributor

I have a PR that appears to fix this, but I'd feel better if someone verified if those are actually the correct replacements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants