I’m using: SWI-Prolog version (current swipl-devel, linux)
I want the code to: compile and run in a different folder than CMAKE_INSTALL_PREFIX
But what I’m getting is: ERROR: autoload loop
My code looks like this:
cd swipl-devel mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=~/swipl .. make make install cd ~/swipl/bin ./swipl [works fine] halt. cd ~ mkdir xx mv swipl xx cd xx/swipl/bin ./swipl [Error: autoload loop] ls ../lib/swipl [folder with boot.prc, among others] ./swipl --home=../lib/swipl [Error: autoload loop]
The use case is an R package that embeds swipl. When I want to compile an R package, I do not yet know the destination folder.
Your help is much appreciated.