Swipl-win: no GUI

Hi

I’ve just done a full rebuild which completed successfully but the swipl-win produced does not display the GUI interface:

mike@meepi01:~$ swipl-win
Welcome to SWI-Prolog (threaded, 64 bits, version 10.1.7-41-gbf43410b0)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.

For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).

5 ?- emacs.
ERROR: Unknown procedure: emacs/0 (DWIM could not correct goal)
6 ?- 

Build steps:

rm -rf ~/lib/swipl
cd ~
rm -rf swipl-devel
git clone --recurse-submodules https://github.com/SWI-Prolog/swipl-devel.git
cd swipl-devel
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME -DCMAKE_BUILD_TYPE=PGO -G Ninja ..
ninja
ctest -j $(nproc) --output-on-failure
ninja install

I did recently upgrade to Ubuntu 26.04 LTS:

mike@meepi01:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 26.04 LTS
Release:	26.04
Codename:	resolute

Most likely something is wrong now with the SDL3 dependencies. After the initial cmake, run

cmake .

in the build dir and it will only show the things it is missing,

Thanks Jan. Sorted. For some reason I had lost my SDL3 installation.

– Configuring SWI-Prolog-10.1.7
– Dropped package xpce: Requires library SDL3

sudo apt-get install \
    libcairo2-dev libpango1.0-dev libsdl3-dev libsdl3-image-dev

Probably because Ubuntu 26.04 is the first stable release to officially include SDL3.