Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Issue - WSL - Cannot create GLFW window. #350

Open
ScottKirvan opened this issue Aug 31, 2020 · 7 comments
Open

Build Issue - WSL - Cannot create GLFW window. #350

ScottKirvan opened this issue Aug 31, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@ScottKirvan
Copy link

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.

@darbyjohnston
Copy link
Owner

Hi, thanks for the bug report, I actually never considered running DJV via WSL. Are you running WSL 1 or 2?

@darbyjohnston darbyjohnston added the bug Something isn't working label Aug 31, 2020
@ScottKirvan
Copy link
Author

ScottKirvan commented Aug 31, 2020 via email

@darbyjohnston
Copy link
Owner

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

@ScottKirvan
Copy link
Author

ScottKirvan commented Aug 31, 2020 via email

@darbyjohnston
Copy link
Owner

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.

@darbyjohnston
Copy link
Owner

Graphics support was recently added to WSL (in the beta version?), this might actually work now...

@ScottKirvan
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants