Henauxg / bevy_quinnet

A Client/Server game networking plugin using QUIC, for the Bevy game engine.
Apache License 2.0
251 stars 16 forks source link

need add bevy feature 'x11' to run example on linux #24

Closed alexniver closed 4 months ago

alexniver commented 4 months ago

platform: archlinux

without bevy 'x11' feature, example 'breakout' compile error

cargo run --example breakout
   Compiling toml_edit v0.22.14
   Compiling encase v0.8.0
   Compiling bevy_mikktspace v0.14.0-rc.3
   Compiling hexasphere v12.0.0
   Compiling wgpu-hal v0.21.0
   Compiling naga_oil v0.14.0
   Compiling winit v0.30.3
error: The platform you're compiling for is not supported by winit

https://github.com/rust-windowing/winit/issues/3174

after add 'x11' feature, everything works fine

bevy = { version = "0.14.0-rc.2", default-features = false, features = [
    "bevy_asset",
    "bevy_audio",
    "bevy_state",
    "serialize",
    "vorbis",
    "bevy_winit",
    "bevy_render",
    "bevy_sprite",
    "bevy_ui",
    "bevy_text",
    "bevy_core_pipeline",
"x11",
    # Can be removed later, temporary fixes for a bug in "0.14.0-rc.2"
    "bevy_scene",
    "bevy_pbr",
    "ktx2",
    "zstd",

] }
Henauxg commented 4 months ago

Thanks, fixed in main