如果您正在运行6.24版本,请尝试将setup.h中的标志从generic更改为unix_v或unix_7并重新编译。如果您正在运行6.3版,请尝试将setup.h中的标志从通用变为linux,如果不起作用,请尝试使用unix_v或unix_7。
题
我正在尝试从剪辑环境调用系统功能。我已经使用了编程教程中给出的示例,但是它似乎在Ubuntu上不起作用。我使用了以下代码,但收到了消息:
系统功能未针对此系统完全定义。
我的代码:
(defrule start-program ""
(not (started on))
=>
(assert (print-directory /home/username/Desktop))
(assert (started on))
)
(defrule print-directory
(print-directory ?directory)
=>
(system "ls " ?directory)
)
任何想法?
提前致谢。
解决方案
不隶属于 StackOverflow