you need to load base library after JInit().

see profile.ijs in bin folder

On Thu, Jan 2, 2020, 7:18 PM Strale <[email protected]> wrote:

> Hello
>
> I am trying to mix J with C++ in Linux
> I have included in my C++ project jfex.h libj.h  and libj.so
> after calling  JInit() I am able to execute simple sentences with JDo and
> get the result with JGetA
> but I am not able to define more sofisticate behaviours ex. define J
> function with verb define
> ex.
>   int JDo(jt,"testverb =: verb define /r a=: 111 /r )");
>   fails with error: domain error
> or loading module ex plot.ijs
>   fails with error: value error
>
> do I am doing something wrong as missing some initialisation?
>
> Cheers
> Paolo
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to