使用SPIDER IDE在SICStus中编译Prolog时出错(Error when compiling Prolog in SICStus using SPIDER IDE)

编程入门 行业动态 更新时间:2024-10-24 08:19:44
使用SPIDER IDE在SICStus中编译Prolog时出错(Error when compiling Prolog in SICStus using SPIDER IDE)

我刚安装了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.64

SICStus安装是预先安装的。

我从未与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 1

My version numbers are:

macOS 10.12.5 Java SE 1.8.0_65 Eclipse 4.6.0 SICStus 4.0.8 SPIDER 0.0.64

The 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.

更多推荐

本文发布于:2023-07-26 00:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1268329.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SICStus   IDE   SPIDER   compiling   Error

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!