For educational purposes, one of our college subjects requires a project that integrates any instance of Prolog with any other GUI supportive language. I went with C# as I have
The error is not very clear, but is caused by the fact that the program needs to know where to find the DLLs that run SWI-Prolog are located. There are a few ways to do this but the simplest is to add the directory (e.g. C:\Program Files\swipl\bin
) containing the SWI-Prolog executable (swipl-win.exe
) to the Windows system PATH
variable.
After changing the system PATH variable you will need to restart Visual Studio if necessary.