Dear Jan, dear others,
Greetings from MSYS! I think I have a few minor path issues, and maybe you could give me a bit of guidance. After installation, I get errors in test_xpce, saying that use_module(library(pce)) fails. I can work around this by the steps below, basically loading swipl-win.rc. Note that I don’t seem to have swipl.rc.
I guess swipl.rc and swipl-win.rc belong to swipl.exe and swipl-win.exe, respectively, but swipl-win.exe is actually disabled during cmake. So I end up with swipl.exe and swipl-win.rc, which is probably not indended.
Is my conclusion correct?
Best wishes,
Matthias
Matthias@DESKTOP-A2T8IFC MINGW64 ~/swipl-devel/build
$ ~/swipl/bin/swipl
Welcome to SWI-Prolog (threaded, 64 bits, version 9.1.3-40-gc92083831-DIRTY)
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).
1 ?- use_module(swi('swipl-win.rc')).
true.
2 ?- use_module(library(pce)).
true.
3 ?- use_module("c:/msys64/home/matthias/swipl/lib/swipl/test/packages/xpce/test_xpce.pl")
.
XPCE/SWI-Prolog test suite. (XPCE version 6.6.66, July 2009)
To run all tests run ?- test.
true.
4 ?- test_xpce.
Running test set "name" . done.
Running test set "wname" ... done.
Running test set "fmt" ...... done.
Running test set "srcsink" .. done.
Running test set "file" .... done.
Running test set "unicode_file" .. done.
Running test set "dir" ..... done.
Running test set "unicode_dir" ... done.
Running test set "bom" . done.
Running test set "plterm" . done.
Running test set "real" ... done.
Running test set "textbuffer" .... done.
Running test set "asfile" .... done.
Running test set "selection" .. done.
Running test set "image" . done.
Running test set "regex" ...................... done.
Running test set "type" .. done.
All tests passed
true.
10 ?- use_module(swi('swipl.rc')).
ERROR: source_sink `swi('swipl.rc')' does not exist