Getting Greenfield to work on Windows Subsystem for Linux by disabling X11 stuff #160
-
|
Hi all, I've been struggling to get Greenfield up and running on WSL2 on my Windows 10 Pro machine. It just seems as if it is one issue after another. I thought using the docker container would solve most of the dependency issues and stuff and when I run build.sh script it says it completed correctly but then there are just errors after errors. It seems to stem from the fact that there is X11 stuff being compiled/included when WSL2 uses Wayland. My question is, what is the most effective way of bypassing this? I already changed some meson_options.txt and meson.build files to disable X11 and made some progress but alas, no luck. Can one of you guys give me some help on the best way to disable X11 stuff and having it compile/run under WSL2? It would be much appreciated. I can start fresh if you need me to, I just want to test out Greenfield and see what its all about. I'm very much looking forward to seeing the examples/demos running in the browser but first need to get it to build correctly! Thanks for your time! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Anyone? I was fairly surprised the docker approach didn't work (I don't really use docker but thought that it was the de-facto way of running a build environment easily...) so I still haven't gotten anywhere with Greenfield... Can anyone help me out please? @Zubnix Thanks! |
Beta Was this translation helpful? Give feedback.
I got it to work a couple of years ago, but the whole thing was using software encoding and rendering so it wasn’t exactly fast. It is possible to use the GPU in theory as well using DirectX mesa drivers but I haven’t put time into that (yet).
I’ll see if I can get it to work again.