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

BUFFER_AGE_EXT not found in module ffi::egl #1436

Closed
Nazariglez opened this issue Aug 7, 2022 · 4 comments
Closed

BUFFER_AGE_EXT not found in module ffi::egl #1436

Nazariglez opened this issue Aug 7, 2022 · 4 comments

Comments

@Nazariglez
Copy link

Nazariglez commented Aug 7, 2022

Hey everybody,

I am having an issue with the latest version of glutin:

   Compiling glutin v0.29.0
error[E0425]: cannot find value `BUFFER_AGE_EXT` in module `ffi::egl`
   --> /home/naz/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.29.0/src/api/egl/mod.rs:584:27
    |
584 |                 ffi::egl::BUFFER_AGE_EXT as i32,
    |                           ^^^^^^^^^^^^^^ not found in `ffi::egl`

error[E0425]: cannot find value `BACK_BUFFER_AGE_EXT` in module `ffi::glx_extra`
   --> /home/naz/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.29.0/src/api/glx/mod.rs:195:33
    |
195 |                 ffi::glx_extra::BACK_BUFFER_AGE_EXT as i32,
    |                                 ^^^^^^^^^^^^^^^^^^^ not found in `ffi::glx_extra`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `glutin` due to 2 previous errors

Does anybody if this is something that related to my SO or if it's an bug on glutin?

Thanks

--
Edit:

  • Archlinux
  • Nvidia Graphic Card (privative drivers)
@kchibisov
Copy link
Member

Are you building from source or from crates.io? Might need to run cargo update for glutin related crates.

@Nazariglez
Copy link
Author

It was from crates.io. cargo update did the trick, thanks!

@paulotten
Copy link

I'm seeing the same thing trying to update eframe to glutin = { version = "0.29.0" }. emilk/egui#1896 (comment)

I believe glutin_egl_sys = { version = "0.1.5", path = "../glutin_egl_sys" } in https://github.com/rust-windowing/glutin/blob/master/glutin/Cargo.toml should be updated to 0.1.6.

@kchibisov
Copy link
Member

The new glutin version got released fixing this.

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

No branches or pull requests

3 participants