Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in spld command on SiCStus

Status
Not open for further replies.

Xvarz

Technical User
Aug 27, 2008
1
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top