fintelia / terra

A large scale terrain rendering library written in Rust
Apache License 2.0
504 stars 14 forks source link

Won't run on WSL2 (Windows 11) #34

Closed fr-an-k closed 1 year ago

fr-an-k commented 1 year ago

After following the readme (and additionally installing pkg-config as suggested by a message because it did't detect openssl):

   Compiling terra v0.3.0 (/home/frank/repos/terra)
warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead
  --> bin/preview.rs:85:59
   |
85 |                 .signed_duration_since(chrono::NaiveTime::from_hms(12, 0, 0))
   |                                                           ^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: `terra` (bin "preview") generated 1 warning
    Finished release [optimized + debuginfo] target(s) in 8.66s
     Running `target/release/preview`
thread 'main' panicked at 'internal error: entered unreachable code', .cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.26.1/src/platform_impl/linux/wayland/window/mod.rs:229:77
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[wayland-client error] A handler for wl_keyboard panicked.
Aborted

I tried other versions of the winit package but that didn't work.

fr-an-k commented 1 year ago

I thought I read that it was supported, but I guess still no WSL GPU support