QB64 Phoenix Edition
QB64 in WSL2 - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2)
+--- Thread: QB64 in WSL2 (/showthread.php?tid=502)



QB64 in WSL2 - Kernelpanic - 05-29-2022

How to install QB64 for Linux on WSL2? Installed is openSuSE 15.3

Zypper install qb64-lnx.tar.gz did not work.
Thanks.


RE: QB64 in WSL2 - DSMan195276 - 05-29-2022

That's not something we test, so at the moment there no known way to make it work. That said if be curious to hear what kind of issues you ran into.


RE: QB64 in WSL2 - Kernelpanic - 05-30-2022

The installation script doesn't find a distro, that's the problem - I think. I will try once again with Yast.

[Image: QB64-Linux-Abbruch2022-05-30.jpg]


RE: QB64 in WSL2 - DSMan195276 - 05-31-2022

Yeah I guess that makes sense, we don't have OpenSUSE detection in the script. That said it really doesn't prevent you from using QB64, you just need to install the packages for the dependencies it lists. The error you're seeing indicates that OpenGL is not installed, probably indicating you don't have graphics support (which QB64 does require). How you get that working with WSL2 I'm not sure as I haven't ever done it, but my understanding is that it is possible.

You also don't necessarily need graphics _working_, you just need the libraries installed. You could probably then get away with using the
-x
parameter to compile your programs, which might work even without graphics support.


RE: QB64 in WSL2 - SMcNeill - 05-31-2022

https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps


RE: QB64 in WSL2 - Kernelpanic - 05-31-2022

(05-31-2022, 08:35 AM)SMcNeill Wrote: https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps

Yes, I know the site. . . and this note  Wink  :

You will need to be on Windows 11 Build 22000 or later to access this feature.