I have just installed SICStus Prolog and the SPIDER IDE plugin for Eclipse.
SPIDER was installed using the Update Site, and I set the SICStus installation path in the preferences and verified it.
Then I created a new workspace and a Prolog Project that contains only the following file test.pl
:
test :- write('Hello World!'), nl.
When I compile (menu: SICStus > Compile Prolog Code), I get the following message in the "Toplevel" window:
Restarting Prolog
Unknown option '--spider'.
Usage: /Users/alexraasch/sicstus/bin/sicstus [options] [-- args ...]
Options:
-f Fast start. Do not read initialization files.
-i Force interactive mode.
-m Use maximally compatible memory manager bottom layer.
-r <file> Restore <file> after booting.
-l <file> Ensure that <file> (containing Prolog code)
is loaded on startup.
--goal <goal> Execute <goal> after loading any files.
-Xrs Reduced use of OS-signals (see release notes)
--help Show this message and exit.
-- ... Pass the rest of the arguments as prolog_flag(argv,X).
-a ... Legacy name for --.
Report bugs using http://www.sics.se/sicstus/bugreport/bugreport.html
Process ended with exit value 1
My version numbers are:
The SICStus installation was a pre-built installation.
I have never worked with SICStus, so any help would be appreciated.
That version of SICStus Prolog is too old to work with SPIDER.
You can download an evaluation version of the latest SICStus Prolog from the SICStus Prolog site. You can install it without uninstalling any version you already have.