Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make windows .exe using Linux version?
#1
I'm wondering if QB64 could be given the option of creating a Windows executable using a Linux version of the program? Or vice versa even. It might be totally impracticable. I have no idea.
Reply
#2
This has come up before.    

        Since the Linux version use's whatever installed Linux C Compiler is default (which is not always the same) Implementing cross-compilation is impractical at best !


HOWEVER.    The Windows version of QB64PE can be run under Wine !    You could also install a Windows VM to run it under to create Windows EXE's
Reply
#3
@ahenry3068 great advice.

Also, https://www.winboat.app/ might help.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#4
Oh yeah, Wine.  Rolleyes
Brain fade is strong with this one...
Reply
#5
Righto then... I was coming back here to report that QB64 doesn't work on Wine 11 RC5, but after looking at bit closer I realised that I had installed the ARM version.  Tongue Oops.

So, ignoring the fact that in looking for a problem you should only change one thing at a time, I updated from Mint Mate 22.2 to 22.3, updated to Wine 11 (yay!) and installed both 64 bit and 32 bit Windows QB64Phoenix.

At a glance, 64 bit opens and looks okay (didn't actually try anything). 32 bit though opens and immediately terminates. Running wine from the terminal provides the following error message. Don't know if it's an issue for here or for the wine forum. 

EDIT -> Now that I've actually *read* the error message and see that it is a missing library and actually done something about it, of course it works. :facepalm:

Code: (Select All)
my_name@satellite:~/.wine/drive_c/Program Files (x86)/qb64pe$ wine qb64pe.exe
008c:fixme:ntoskrnl:KeSetPriorityThread (003598E8 24)
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"Crypkey License" failed to start: 2
0024:err:gdi:CreateDCW no driver found for L":0"
0024:err:wgl:egl_init Failed to load libEGL.so.1: libEGL.so.1: cannot open shared object file: No such file or directory
0024:err:wgl:X11DRV_OpenGLInit Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
0024:err:wgl:X11DRV_OpenGLInit OpenGL support is disabled.
my_name@satellite:~/.wine/drive_c/Program Files (x86)/qb64pe$
Reply
#6
Yeah, I've never had any issues running QB64 in Wine. It works quite well, from my experience.
The noticing will continue
Reply
#7
(01-15-2026, 07:18 PM)SpriggsySpriggs Wrote: Yeah, I've never had any issues running QB64 in Wine. It works quite well, from my experience.

Agreed specially if one is new to Linux and old to QB64 and wants to get up and running.

I tell ya every time Windows does an update I think more and more about Linux! I even broke the ice and have an too old machine dedicated to Linux Mint.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#8
(01-15-2026, 07:29 PM)bplus Wrote:
(01-15-2026, 07:18 PM)SpriggsySpriggs Wrote: Yeah, I've never had any issues running QB64 in Wine. It works quite well, from my experience.

Agreed specially if one is new to Linux and old to QB64 and wants to get up and running.

I tell ya every time Windows does an update I think more and more about Linux! I even broke the ice and have an too old machine dedicated to Linux Mint.
    I made my piece Years ago.   Still have to use Windows at work and I have a WFWG 3.11 machine & Windows XP Machine in my Retro collection.   But my Daily driver at home is Linux Mint.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Latest version of QB64PE or QB64 compatible with Windows XP (32-bit)? madscijr 14 1,932 09-30-2025, 08:10 AM
Last Post: hsiangch_ong
  Linux Lubuntu INKEY$ issue TempodiBasic 7 615 09-09-2025, 02:53 PM
Last Post: hsiangch_ong
  Linux - file dialogue boxes... atl068 7 888 08-05-2025, 07:21 PM
Last Post: hsiangch_ong
  System Linux Chris 9 1,173 07-12-2025, 08:51 PM
Last Post: Chris
  Linux: terminal output Parkland 4 819 06-08-2025, 04:00 PM
Last Post: DSMan195276

Forum Jump:


Users browsing this thread: 1 Guest(s)