I’m trying to set up Sweep, but getting an error whenever I put a Prolog in sweeprolog-mode
. When I run M-x sweeprolog-mode
, I get this error over and over while the sweeprolog-mode
buffer is focused. It stops when the buffer loses focus and resumes again when it regains focus:
Loading c:/Program Files/swipl/bin/sweep-module.dll (module)...
Error during redisplay: (eval (when (sweeprolog-buffer-loaded-since-last-modification-p) "/Loaded")) signaled (module-open-failed "c:/Program Files/swipl/bin/sweep-module.dll" "The specified module could not be found.")
I’ve set the sweeprolog-swipl-path
variable with this code:
(setq sweeprolog-swipl-path "C:/Program Files/swipl/bin/swipl.exe")
The confusing part, is that I’ve confirmed that the file c:/Program Files/swipl/bin/sweep-module.dll
exists, so I am at a complete lost.
How do I fix this?