Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I specify the pathname of the ECLiPSe file when compiling ECLiPSe from C++?

0
Posted

How do I specify the pathname of the ECLiPSe file when compiling ECLiPSe from C++?

0

ECLiPSe expects the file with the predicate called to be in the running process’s “current directory”. When the predicate is invoked from an external program, the current directory is not under ECLiPSe’s control. Specify an absolute pathname to your ecl file by: post_goal(term(EC_functor(“compile”,1),”//C/foo/bar/predicate”)); (but note the generic ECLiPSe pathname syntax, see os_file_name/2).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123