[scilab-Users] Doubt_Scilab

Sylvestre Ledru sylvestre.ledru at scilab.org
Thu Jul 9 23:19:39 CEST 2009


Hello,

Le jeudi 09 juillet 2009 à 15:00 -0500, Dianita a écrit :
> Good afternoon, 
> I'm working with Scilab 3.0
Scilab 3.0 is a very old and outdated version. Could you try with a more
recent version ?
A lot of work has been done on these functions during the last few
years.

Sylvestre


>  and Visual c++ standard edition 4.0 version, I'm trying to do a
> interface program between C and Scilab, I'm following a pdf called
> "Introduction SCILAB" in this I find an example in the section 6.2.2
> but always I get an error, attached the pdf and the .txt file with the
> error....the run example is when they talk about dynamic library , I
> change the directory to ('C:\Archivos de programa\scilab-3.0\examples
> \interface-tutorial-so') where is the example, then exec the
> builder.sce but the nmake is not recognized, however on the directory
> "BIN" in visual c++  appears "nmake", I change the path too, I don't
> know what else to do.
> 
> I thank in advance the help they can give me.
> 
> ============================================================
> -->chdir('C:\Archivos de programa\scilab-3.0\examples
> \interface-tutorial-so');
> 
> -->exec builder.sce
> 
> -->// This is the builder.sce
> 
> -->// must be run from this directory
> 
> 
> -->ilib_name  = 'libtutorial'           // interface library name
>  ilib_name  =
> 
>  libtutorial
> 
> -->files = ['intview.o','intmatmul.o']     // objects files
>  files  =
> 
> !intview.o  intmatmul.o  !
> 
> -->                                     //
> 
> -->libs  = []                           // other libs needed for
> linking
>  libs  =
> 
>      []
> 
> -->table = [ 'view', 'intview';         // table of
> (scilab_name,interface-name)
> -->          'matmul','intmatmul'];     // for fortran coded interface
> use 'C2F(name)'
> 
> 
> -->// do not modify below
> 
> -->// ----------------------------------------------
> 
> -->ilib_build(ilib_name,table,files,libs)
>    generate a gateway file
>    generate a loader file
>    generate a Makefile: Makelib
>    running the makefile
>    compilation of intview
>    Makelib.mak(12) : fatal error U1033: syntax error : 'de programa
> \scilab-3.0\Makefile.incl.mak' unexpected
>    Stop.
>  !--error  9999
> unix_s: error during ``nmake /nologo /f Makelib.mak intview.obj''
> execution
> at line      50 of function unix_s                   called by :
> line    25 of function ilib_compile             called by :
> line    20 of function ilib_build               called by :
> ilib_build(ilib_name,table,files,libs)
> line   -25 of exec file called by :
> exec builder.sce
> 
> --> 
> ============================================================




More information about the users mailing list