Skip to content

Compiling glutin fails with missing set_suspend_callback #1886

@M2WZ

Description

@M2WZ

I'm on Windows 10 and tried to compile the egui_template for android, but got a few errors (pastebin). It are problems with glutin, but after asking on glutin's freenode, someone said the first error

error[E0599]: no method named `set_suspend_callback` found for reference `&EventLoopWindowTarget<T>` in the current scope
--> C:\Users\Me\.cargo\registry\src\github.com-1ecc6299db9ec823\glutin-0.26.0\src\api\android\mod.rs:76:12 
     |
76 |         el.set_suspend_callback(Some(Box::new(move |suspended| {
     |            ^^^^^^^^^^^^^^^^^^^^ method not found in `&EventLoopWindowTarget<T>`

is an error from winit, from an older commit and pointed out that the CI from winit doesn't test android since the switch to Github Actions.
Could someone look into this (and does anyone know anything about the other errors)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - androidAffects the Android backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions