QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: SpriggsySpriggs on October 22, 2020, 09:49:37 pm

Title: QB64 Linux on Windows using WSL2!
Post by: SpriggsySpriggs on October 22, 2020, 09:49:37 pm
Following this tutorial (https://docs.microsoft.com/en-us/windows/wsl/install-win10 (https://docs.microsoft.com/en-us/windows/wsl/install-win10)) and this tutorial (https://medium.com/@japheth.yates/the-complete-wsl2-gui-setup-2582828f4577 (https://medium.com/@japheth.yates/the-complete-wsl2-gui-setup-2582828f4577)) I was able to get Linux Ubuntu installed on my home Windows 10 PC and successfully build QB64! Not only that, but I was also able to build Fellippe's Among Us clone AND successfully join the server to play! Note, WSL2 will have GUI capability added in the future BUT this is a workaround right now and it works great!

Screenshots:
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
Title: Re: QB64 Linux on Windows using WSL2!
Post by: Kernelpanic on October 23, 2020, 06:32:03 pm
I have a problem - you mean you could also use QB64 in WSL 2 (Windows Subsystem for Linux)? Really?

I have installed WSL 2 too and an openSuSE Leap 15.2 is running now - but only the command line for exercises in C. I like Vim . . .  ;)


Title: Re: QB64 Linux on Windows using WSL2!
Post by: SpriggsySpriggs on October 23, 2020, 07:03:15 pm
@Kernelpanic Yes, I can run QB64 on WSL2. You need to follow the tutorials in those websites in my post to use GUI applications.
Title: Re: QB64 Linux on Windows using WSL2!
Post by: Kernelpanic on October 24, 2020, 04:01:58 pm
I have to take a lookin watch in peace at it again before I test something. But interesting is it!
Title: Re: QB64 Linux on Windows using WSL2!
Post by: Kernelpanic on November 02, 2020, 04:48:50 pm
@SpriggsySpriggs, you know your way around C ++, do you also know the GCC for Windows (MingW)?
I would have there a question.
Title: Re: QB64 Linux on Windows using WSL2!
Post by: SpriggsySpriggs on November 02, 2020, 04:55:33 pm
@Kernelpanic I don't really know the compiler, only the language.
Title: Re: QB64 Linux on Windows using WSL2!
Post by: Kernelpanic on November 02, 2020, 05:15:43 pm
OK thanks! Was well worth a try.
Title: Re: QB64 Linux on Windows using WSL2!
Post by: luke on November 02, 2020, 05:24:26 pm
Side note, QB64 also runs okay in wine.

So we can have the Windows version run on Linux, and the Linux version run on Windows \o/