Hello,
Can you try with the last unstable please ?
http://gprolog.univ-paris1.fr/unstable/gprolog-20100322.tgz
Check that the directory in which pl2wam.exe resides is in your PATH.
Pl_Write_Simple() is a non documented function which displays a Prolog
term on the console.
If nothing works, can you provide some sources I could try (a minimal
example would be fine).
Daniel
josh b a écrit :
Hey,
pl2wam was not in my path, so I added it. Didn't make any difference.
I could not find any function called Pl_Write_Simple(), however, I did
try various things like Pl_Rd_String() and
Pl_Exec_Continuation(Pl_Find_Atom("throw"), 1, &except); (Where
except was the variable returned from Pl_Get_Exception()).
However, doing anything with except produces an access violation error.
In fact, doing anything with any term after trying to consult causes
access violations, even with terms that were available and working
before hand and were unmodified. Additionally, using
Pl_Exec_Continuation anywhere in the code seems to cause a violation.
Initially to get it to work, I had to recompile Prolog, using the
instructions (Followed exactly, save for directory locations) found at
http://lists.gnu.org/archive/html/bug-prolog/2009-11/msg00002.html Just
wondering if that could be causing all these violations.
Cheers,
Josh
Find it on Domain.com.au Need
a new place to live?
--
Ce message a été vérifié par
MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
--
Ce message a été vérifié par
MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
|