tags:

views:

67

answers:

1

hey guys i have a question regarding amzi prolog with eclipse,

Im running a .pro file which executes a breadth first search and if queue gets too long,

the following error message appears:

system_error 1021 Control stack full. Compile code or increase .cfg parameter 'control'

If so, how may i run the compiled code under eclipse? I've tried running the project but the listener just ends without accepting any queries....?

A: 

I don't know amzi prolog (I only used SICStus and SWI), and never used Eclipse for prolog, but as the error message says, try compiling (instead of consulting) your code. Look under project/properties for build configurations (like run/deug, as it works for Java/C++). Hopefully, that ".cfg paramerer" can also be accessed through project/properties.

petersohn