I am using MacOS Big Sur 11.2.3 and Windows 10 under Parallels Desktop.
I have a program that is compiled correctly by the command
swipl --goal=main -o tester1.exe -c module21.pl
if I use SWI-Prolog 8.2.0 (or e.g. 8.1.26) under Windows (Parallels Desktop).
And the compiled program executes without an error.
However, when I use SWI-Prolog 8.2.1 under Windows (Parallels Desktop),
the compilation shows the messages
% Disabled autoloading (loaded 38 files)
% Disabled autoloading (loaded 0 files)
and then, the compilation hangs .
When I repeat the experiment under MacOS, I get the following:
The same program is also compiled correctly by the command
swipl --goal=main -o tester1 -c module21.pl
if I use SWI-Prolog 8.2.0 (or e.g. 8.1.26) under MacOS.
Again, the compiled program executes without an error.
However, when I use SWI-Prolog 8.2.1 (or some newer versions, e.g. 8.5.8-1) under MacOS,
compilation shows a warning
% Disabled autoloading (loaded 39 files)
% Disabled autoloading (loaded 0 files)
and the execution of the compiled program throws an error
ERROR: -g user:main: '$clause'/4: No permission to access private_procedure `catch/3'
Is there a trick to use newer versions of SWI-Prolog for my program?
Thanks in advance
Stefan
My program consist of the following 5 parts:
module21.pl (1,8 KB)
sol1.pl (26,1 KB)
stud1.pl (1,5 KB)
tester21.pl (9,9 KB)
v21tester.pl (42,9 KB)