Calling Eclipse functions from C++

From: Roman Buil <rbuil_at_engr.uconn.edu>
Date: Thu 07 Jul 2005 04:08:39 PM GMT
Message-ID: <12A10CDD8C8E3449A58AC0EAC99E144708C66194@bilbo.ad.engr.uconn.edu>
Hello,
I am programming in C++ and calling Eclipse 5.8. (Under windows)
I have been trying all options to compile my Eclipse file from C++ but I
get an error: 
"File does not exist in compile(predicate)"

The options I have tried are:

	1.-	post_goal(term(EC_functor("compile",1),"predicate"));
	2.-	post_goal("compile(\"predicate\")");
	3.-	post_goal("compile('predicate')");

The file is predicate.ecl and I have saved it in all possible path where
I thought that Eclipse expect, but it doesn't still work.

Anybody knows which could be my problem?

And another question is: In the section 3.4 of the "Embedding and
Interfacing Manual" says that the ec_xt_double_arr is a predefined
method table for arrays of doubles. How could I use it? Do I have to
compile any other file? I get this error:
 
"error C2065: 'ec_xt_double_arr' : undeclared identifier"

Thank you,

Roman.
Received on Thu Jul 07 18:07:19 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:37 PM GMT GMT