Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A question regarding C function in scilab/scicos

1 view
Skip to first unread message

Bilal Ahmed Arain

unread,
Dec 17, 2009, 3:14:54 AM12/17/09
to
I have a quick question regarding C function compilation in scicos.
Let us consider an case with "multiple" functions, which are calling
from the main function. For example:


static int sense(double X)
{
....
}

static double error(double guess, scicos_block *blk)

{
....
}


void vert(scicos_block *blk, int flag)
{
switch (flag)
{
case 0:
error(xxxxx , blk);
}

When compiling I am using the following:

ilib_for_link('vert','vert.o',[],'c','Makelib','loader.sce','','','-
g');

It seems to me that the other functions are not properly compiled
using the above structure. Any help in this regard will be really
appreciated. Thanks.

0 new messages