Open ScottKirvan opened 4 years ago
Hi, thanks for the bug report, I actually never considered running DJV via WSL. Are you running WSL 1 or 2?
WSL 1! I thought I was on 2, I'll update that and retry - didn't realize I had to upgrade that by hand. Thanks :-)
PS C:\Users\sqeva> wsl -l -v NAME STATE VERSION
OS Name: Microsoft Windows 10 Home OS Version: 10.0.19041 N/A Build 19041
On Mon, Aug 31, 2020 at 9:24 AM Darby Johnston notifications@github.com wrote:
Hi, thanks for the bug report, I actually never considered running DJV via WSL. Are you running WSL 1 or 2?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darbyjohnston/DJV/issues/350#issuecomment-683884387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOUGKQUABO4IOEKTNAFHDQ3SDPFEFANCNFSM4QQC6FXQ .
Oh, sorry, I'm not sure WSL 2 will fix the issue, I just wanted to check which one you are using.
Doing a quick search, it looks like this issue might have some leads? https://github.com/alecjacobson/computer-graphics-bounding-volume-hierarchy/issues/43
Yeah, I'm not confident it's even do'able :-)
I'll dig into that github thread and see if I can get anything from it. "Bounding Volume Hierarchy" - haha!
BTW, I'm just hacking around, really. I haven't really done much development for years, so I'm a bit rusty. I did notice, after I submitted the bug, that that error is coming from within DJV, so, at some point, I'll just drop into the debugger and see if I can tell what's choking :-)
sk....
On Mon, Aug 31, 2020 at 1:07 PM Darby Johnston notifications@github.com wrote:
Oh, sorry, I'm not sure WSL 2 will fix the issue, I just wanted to check which one you are using.
Doing a quick search, it looks like this issue might have some leads? alecjacobson/computer-graphics-bounding-volume-hierarchy#43 https://github.com/alecjacobson/computer-graphics-bounding-volume-hierarchy/issues/43
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darbyjohnston/DJV/issues/350#issuecomment-684009612, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOUGKQSSIDORHHW7LFX7OWDSDP7IBANCNFSM4QQC6FXQ .
No problem, I'm happy to answer any questions or help with troubleshooting. Also if there are parts of the documentation that aren't clear let me know and I'll try and fix them up.
Graphics support was recently added to WSL (in the beta version?), this might actually work now...
Sorry - i've been offline for a bit. Yes - I just got the WSLg stuff working so I was going to be taking a look at this again soon.
This could be an OHS problem. I'm on windows 10 with Ubuntu 18.04 installed in WSL. I made it through the build instructions and have (eventually, I believe) installed everything I need to get OpenGL working.
When I try to run djv, I get: "ERROR: Cannot create GLFW window."
I did: sudo apt install ubuntu-desktop mesa-utils and prior to doing that I had X-windows apps working with VcXsrv.
I tested glxgears and it works, so I believe that, in addetion X-windows, the OpenGL stuff is all in order.
I also tried installing djv directly from the .deb file, and I'm seeing the same error, so this is probably some complexity in using djv with WSL.