glutin icon indicating copy to clipboard operation
glutin copied to clipboard

build failed: digitalocean debian 10: cargo run --example window

Open markfirmware opened this issue 4 years ago • 1 comments

cc @girba Created debian 10 digitalocean droplet.

sudo apt install cargo
cargo run --example window

Compiling smithay-client-toolkit v0.12.2 Compiling winit v0.24.0 Compiling glutin v0.26.0 (/home/user/github.com/rust-windowing/glutin/glutin) error: attributes are not yet allowed on if expressions --> glutin/src/platform_impl/unix/mod.rs:105:9 | 105 | #[cfg(feature = "wayland")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: could not compile glutin. warning: build failed, waiting for other jobs to finish... error: build failed

markfirmware avatar Feb 11 '21 19:02 markfirmware

This attempt was taken directly from the readme.

markfirmware avatar Feb 13 '21 00:02 markfirmware

Fixed in #1435.

kchibisov avatar Sep 03 '22 06:09 kchibisov