pixels: minimal-sdl2 - Could not retrieve any SDL2 window info on Ubuntu 19.10
$ cargo run --example minimal-sdl2 --features="minimal-sdl2"
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/examples/minimal-sdl2`
thread 'main' panicked at 'Could not retrieve any SDL2 window info, and Osspial wrote the trait to be infallible despite that clearly not always being the case, so now you got this panic. https://github.com/rust-windowing/raw-window-handle/issues/new', /home/roman/.cargo/registry/src/github.com-1ecc6299db9ec823/beryllium-0.1.2/src/window.rs:152:7
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Dep installed with:
sudo apt install libsdl2-dev
Should I install something else? I have found this links:
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 28 (12 by maintainers)
Commits related to this issue
- Bump beryllium version - Closes #53 — committed to parasyte/pixels by parasyte 4 years ago
- Bump beryllium version (#109) - Closes #53 — committed to parasyte/pixels by parasyte 4 years ago
Sorry I missed this. Works great with the new version of beryllium, thank you! @parasyte
@willcrutchley @rofrol If either of you would like to try, please update
beryllium
to the current HEAD of the master branch:Lokathor was kind enough to add the SDL version.