我正在尝试从 Windows 的顶层创建已保存的状态,但我不断收到此错误:
1 ?- qsave_program('U:/boo64.prc').
% library(broadcast) compiled into broadcast 0.00 sec, 7,504 bytes
% library(debug) compiled into prolog_debug 0.00 sec, 21,544 bytes
% library(option) compiled into swi_option 0.00 sec, 14,416 bytes
% library(arithmetic) compiled into arithmetic 0.00 sec, 33,872 bytes
% library(settings) compiled into settings 0.00 sec, 120,152 bytes
% c:/program files/swi-prolog/library/listing compiled into prolog_listing 0.00 sec, 180,936 bytes
% library(occurs) compiled into occurs 0.00 sec, 5,144 bytes
% library(prolog_clause) compiled into prolog_clause 0.00 sec, 61,544 bytes
% c:/program files/swi-prolog/library/prolog_stack compiled into prolog_stack 0.00 sec, 77,320 bytes
ERROR: '$mark_executable'/1: file `U:/boo64.prc' does not exist (No such file or directory)
2 ?-
我认为这应该这样做。为什么它甚至试图调用'mark_executable'?我想要的只是一个可以从嵌入式 C/C++ 应用程序加载的资源文件。
任何人都可以帮忙吗?