Hello,

I'm using Scilab 6.0.0 API. What is the difference between pvApiCtx and
scilabEnv? When I compile C++ code on Scilab 6.0.0 using pvApiCtx, I get
the following error-

error: 'pvApiCtx' was not declared in this scope
     int z=nbInputArgument(pvApiCtx);
                           ^
/home/scilab-6.0.0/share/scilab/../../include/scilab/api_stack_common.h:64:53:
note: in definition of macro 'nbInputArgument'
 #define nbInputArgument(PVCTX) (*getNbInputArgument(PVCTX))

If I replace pvApiCtx with scilabEnv, I get the following error-

/home/scilab-6.0.0/share/scilab/../../include/scilab/api_stack_common.h:64:58:
error: expected primary-expression before ')' token
 #define nbInputArgument(PVCTX) (*getNbInputArgument(PVCTX))

How do I resolve this error for Scilab 6.0.0?

Regards,
Shamika
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to