Author Topic: QB64 Linux on Windows using WSL2!  (Read 3399 times)

0 Members and 1 Guest are viewing this topic.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
QB64 Linux on Windows using WSL2!
« on: October 22, 2020, 09:49:37 pm »
Following this tutorial (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and this tutorial (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:
  [ You are not allowed to view this attachment ]  
  [ You are not allowed to view this attachment ]  
« Last Edit: October 22, 2020, 09:54:40 pm by SpriggsySpriggs »
Shuwatch!

Offline Kernelpanic

  • Newbie
  • Posts: 94
    • View Profile
Re: QB64 Linux on Windows using WSL2!
« Reply #1 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 . . .  ;)


« Last Edit: October 23, 2020, 06:33:29 pm by Kernelpanic »
Mark Twain
"Als wir das Ziel endgültig aus den Augen verloren hatten, verdoppelten wir unsere Anstrengungen."
„Having lost sight of our goals, we redoubled our efforts.“

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: QB64 Linux on Windows using WSL2!
« Reply #2 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.
Shuwatch!

Offline Kernelpanic

  • Newbie
  • Posts: 94
    • View Profile
Re: QB64 Linux on Windows using WSL2!
« Reply #3 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!
Mark Twain
"Als wir das Ziel endgültig aus den Augen verloren hatten, verdoppelten wir unsere Anstrengungen."
„Having lost sight of our goals, we redoubled our efforts.“

Offline Kernelpanic

  • Newbie
  • Posts: 94
    • View Profile
Re: QB64 Linux on Windows using WSL2!
« Reply #4 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.
Mark Twain
"Als wir das Ziel endgültig aus den Augen verloren hatten, verdoppelten wir unsere Anstrengungen."
„Having lost sight of our goals, we redoubled our efforts.“

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: QB64 Linux on Windows using WSL2!
« Reply #5 on: November 02, 2020, 04:55:33 pm »
@Kernelpanic I don't really know the compiler, only the language.
Shuwatch!

Offline Kernelpanic

  • Newbie
  • Posts: 94
    • View Profile
Re: QB64 Linux on Windows using WSL2!
« Reply #6 on: November 02, 2020, 05:15:43 pm »
OK thanks! Was well worth a try.
Mark Twain
"Als wir das Ziel endgültig aus den Augen verloren hatten, verdoppelten wir unsere Anstrengungen."
„Having lost sight of our goals, we redoubled our efforts.“

Offline luke

  • Administrator
  • Seasoned Forum Regular
  • Posts: 324
    • View Profile
Re: QB64 Linux on Windows using WSL2!
« Reply #7 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/