Doubt_Scilab

Dianita dianitais at gmail.com
Thu Jul 9 22:00:34 CEST 2009


Good afternoon,
I'm working with Scilab 3.0 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

-->
============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20090709/7a5595ba/attachment.htm>
-------------- next part --------------
-->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


--> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Introducci?n SCILAB.pdf
Type: application/pdf
Size: 605803 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20090709/7a5595ba/attachment.pdf>


More information about the users mailing list