[fpc-pascal] FPGUI on Windows

Trev trev at sentry.org
Sun Dec 1 03:22:24 CET 2024


James Richters via fpc-pascal wrote on 1/12/24 8:36 am:
> I decided to try to fix this myself, and I'm happy to say I got it working!

Well done!

> I then went on to figure out that X11 is a Linux thing, but I'm on Windows.

X11 (X Window System) was originally a UNIX thing (macOS, 
FreeBSD/OpenBSD/NetBSD, Linux) but it has also found its way to Windows. 
For example, when I used to use Windows more frequently I used Cygwin to 
run X11 applications from remote servers. From the Cygwin website:

"Cygwin is a distribution of popular GNU and other Open Source tools 
running on Microsoft Windows. The core part is the Cygwin library which 
provides the POSIX system calls and environment these programs expect.

The Cygwin distribution contains thousands of packages from the Open 
Source world including most GNU tools, many BSD tools, an X server and a 
full set of X applications. If you're a developer you will find tools, 
headers and libraries allowing to write Windows console or GUI 
applications that make use of significant parts of the POSIX API. Cygwin 
allows easy porting of many Unix programs without the need for extensive 
changes to the source code. This includes configuring and building most 
of the available GNU or BSD software, including the packages included 
with the Cygwin distribution themselves. They can be used from one of 
the provided Unix shells like bash, tcsh or zsh."

Cheers,
TREV.


More information about the fpc-pascal mailing list