Good afternoon, <br>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.<br>
<br>I thank in advance the help they can give me.<br><br>============================================================<br>-->chdir('C:\Archivos de programa\scilab-3.0\examples\interface-tutorial-so');<br><br>-->exec builder.sce<br>
<br>-->// This is the builder.sce<br><br>-->// must be run from this directory<br><br><br>-->ilib_name = 'libtutorial' // interface library name<br> ilib_name =<br><br> libtutorial<br><br>-->files = ['intview.o','intmatmul.o'] // objects files<br>
files =<br><br>!intview.o intmatmul.o !<br><br>--> //<br><br>-->libs = [] // other libs needed for linking<br> libs =<br><br> []<br><br>-->table = [ 'view', 'intview'; // table of (scilab_name,interface-name)<br>
--> 'matmul','intmatmul']; // for fortran coded interface use 'C2F(name)'<br><br><br>-->// do not modify below<br><br>-->// ----------------------------------------------<br><br>
-->ilib_build(ilib_name,table,files,libs)<br> generate a gateway file<br> generate a loader file<br> generate a Makefile: Makelib<br> running the makefile<br> compilation of intview<br> Makelib.mak(12) : fatal error U1033: syntax error : 'de programa\scilab-3.0\Makefile.incl.mak' unexpected<br>
Stop.<br> !--error 9999<br>unix_s: error during ``nmake /nologo /f Makelib.mak intview.obj'' execution<br>at line 50 of function unix_s called by :<br>line 25 of function ilib_compile called by :<br>
line 20 of function ilib_build called by :<br>ilib_build(ilib_name,table,files,libs)<br>line -25 of exec file called by :<br>exec builder.sce<br><br>--> <br>============================================================<br>