我试图从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”? 我想要的是一个的ressource文件,我可以从我的嵌入式C / C ++应用程序加载。
任何人都可以帮助吗?