I don’t use pcemacs in my project, but I started getting this error today when calling make/0, after I updated to the latest development version, 8.3.29:
?- make.
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
Warning: c:/program files/swipl/xpce/prolog/lib/pce_manual.qlf: Invalid QLF file: incompatible version (file: 67, Prolog: 68)
ERROR: No permission to load source `'c:/program files/swipl/xpce/prolog/lib/pce_manual.pl'' (Non-module file already loaded into module emacs_fundamental_mode; trying to load into emacs_prolog_mode)
ERROR: In:
ERROR: [11] notrace(make_no_trace)
ERROR: [9] toplevel_call('<garbage_collected>') at c:/program files/swipl/boot/toplevel.pl:1117
ERROR:
ERROR: Note: some frames are missing due to last-call optimization.
ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
This doesn’t happen from a fresh session, only when I load my project (which loads a bunch of module files), but since I’m not using pcemacs I can’t tell what can be causing this.
I got rid of the error by deleting the .qlf file in the error message, but why was it raised in the first place?
On second thoughts, my project startup file opens some of the source files of my project in the Swi-Prolog IDE. Is there any chance this is causing the error?
I’m on a windows 10 machine with 64 bit Swi-Prolog.