Hi,
I am new to prolog and I am confuse on how to solve my problem. I am trying to make an executable file for independent platform in prolog. Here are steps that I have done:
1. run SiCStus Prolog program
2. consult a file named "start.pl"
3. when it done, I type |? spy input:init.
4. then |? run.
5. when it done, I abort the system by inputing "a"
6. then |? Compile(start).
7. |? save_program("start.sav").
8. exit SiCStus Prolog program
9. run visual studio command prompt
10. direct the cmd to SiCStus Prolog/bin folder
11. then type: spld --v --s --o=start --main=restore --resources=..\start.sav=..\start.sav
The cmd will try to create the executable file from it. However, it will failed because:
"error RC2142: ellipsis requires three periods"
Does anybody know how to solve this problem?
Or if anybody know how to create this binary file by using other methods because I have deadline on 1 Sept'08.
I also need to link this prolog into a web interface.
Any help would be appreciated.
Thank you
I am new to prolog and I am confuse on how to solve my problem. I am trying to make an executable file for independent platform in prolog. Here are steps that I have done:
1. run SiCStus Prolog program
2. consult a file named "start.pl"
3. when it done, I type |? spy input:init.
4. then |? run.
5. when it done, I abort the system by inputing "a"
6. then |? Compile(start).
7. |? save_program("start.sav").
8. exit SiCStus Prolog program
9. run visual studio command prompt
10. direct the cmd to SiCStus Prolog/bin folder
11. then type: spld --v --s --o=start --main=restore --resources=..\start.sav=..\start.sav
The cmd will try to create the executable file from it. However, it will failed because:
"error RC2142: ellipsis requires three periods"
Does anybody know how to solve this problem?
Or if anybody know how to create this binary file by using other methods because I have deadline on 1 Sept'08.
I also need to link this prolog into a web interface.
Any help would be appreciated.
Thank you