我刚安装了SICStus Prolog和Eclipse的SPIDER IDE插件。 SPIDER是使用更新站点安装的,我在首选项中设置了SICStus安装路径并对其进行了验证。 然后我创建了一个新的工作区和一个只包含以下文件test.pl的Prolog项目:
test :- write('Hello World!'), nl.当我编译(菜单:SICStus>编译Prolog代码)时,我在“Toplevel”窗口中收到以下消息:
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我的版本号是:
macOS 10.12.5 Java SE 1.8.0_65 Eclipse 4.6.0 SICStus 4.0.8 蜘蛛0.0.64SICStus安装是预先安装的。
我从未与SICStus合作过,所以任何帮助都会受到赞赏。
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 1My version numbers are:
macOS 10.12.5 Java SE 1.8.0_65 Eclipse 4.6.0 SICStus 4.0.8 SPIDER 0.0.64The SICStus installation was a pre-built installation.
I have never worked with SICStus, so any help would be appreciated.
最满意答案
那个版本的SICStus Prolog太旧了,无法与SPIDER合作。
您可以从SICStus Prolog站点下载最新SICStus Prolog的评估版。 您可以在不卸载任何已有版本的情况下安装它。
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.
更多推荐
发布评论