entscheider / freenect-rs Goto Github PK
View Code? Open in Web Editor NEWFreenect wrapper for rust
License: Apache License 2.0
Freenect wrapper for rust
License: Apache License 2.0
Hi, and thanks for porting libfreenect! Been itching to learn Rust for a while, and porting some openframeworks/kinect stuff seems like a good way to do so :-)
I am trying to build the example project by running
cargo run --release --example kinect_live
and it compiles fine (minus a couple of nags about deprecated item 'try'), but then I get this:
Running `target/release/examples/kinect_live`
Found 1 devices, use first
thread 'main' panicked at 'Tried to get contents of a not-ready EnvHandler.', /home/kf/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-client-0.7.8/src/env.rs:100:9
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::panicking::default_hook::{{closure}}
4: std::panicking::default_hook
5: std::panicking::rust_panic_with_hook
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::option::expect_failed
9: winit::api::wayland::context::WaylandContext::create_window
10: winit::api::wayland::window::Window::new
11: winit::window::<impl winit::WindowBuilder>::build
12: glutin::platform::platform::wayland::Window::new
13: glutin::window::<impl glutin::WindowBuilder>::build
14: glium::backend::glutin_backend::<impl glium::DisplayBuild for glutin::WindowBuilder>::build_glium_debug
15: kinect_live::glwinhelp::imgwin::ImgWindow::new
16: kinect_live::main
17: std::rt::lang_start::{{closure}}
18: std::panicking::try::do_call
19: __rust_maybe_catch_panic
20: std::rt::lang_start_internal
21: main
22: __libc_start_main
23: _start
System: arch linux 5.6.10-rt5-1-rt, swaywm 1.4.
No idea where to start looking for a fix on this, unfortunately...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.