<div dir="ltr"><div><div class="gmail-m_-6942644465418438794gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear Scilab users and developers!</div><div><br></div><div>I have installed Scilab 6.0 x86 and x86_64 on my Windows 8.1 x86_64 laptop.</div><div><br></div><div>Also I have downloaded and installed gcc-6.2.0 for <a href="http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-32.exe" target="_blank">x86</a> and <a href="http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-64.exe" target="_blank">x86_64</a> as prerequisites of <a href="https://atoms.scilab.org/toolboxes/mingw/0.10.0" target="_blank">MingGw toolbox</a>.</div><div>Then I installed MinGw toolbox in Scilabs with <font face="monospace, monospace">atomsInstall('mingw')</font>. This process was successful.</div><div>Then I restarted Scilab and tried to test MinGw toolbox with <font face="monospace, monospace">atomsTest('mingw')</font>.</div><div><br></div><div>The results are not good - on both x86 and x86_64 - 13 tests of 15 are failed. Only <i>G_make</i> and <i>dllinfo</i> are passed.</div><div>I do not attach logs - the error is always the same "failed: Slave Scilab exited with error code 1 ".</div><div><br></div><div>If I launch these unit-tests manually (with <font face="monospace, monospace">cd SCIHOME\atoms\x64\mingw\0.10.<wbr>0\tests\unit_tests\ </font>and corresponding <font face="monospace, monospace">exec</font> *.tst )</div><div>I got messages such as</div><div><br></div><div><div><font face="monospace, monospace">WARNING: C:\Users\nikolay\AppData\<wbr>Roaming\Scilab\SCILAB~2.0\<wbr>atoms\x64\mingw\010~1.0\<wbr>macros\scripts\TEMPLATE_<wbr>MAKEFILE.MINGWnot found.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> make: *** No rule to make target 'all'.  Stop.</font></div><div><font face="monospace, monospace">at line    25 of function dlwCompile   ( C:\Users\nikolay\AppData\<wbr>Roaming\Scilab\SCILAB~2.0\<wbr>atoms\x64\mingw\010~1.0\<wbr>macros\windows\dlwCompile.sci line 34 )</font></div><div><font face="monospace, monospace">at line    70 of function ilib_compile ( C:\Program Files\scilab-6.0.0\modules\<wbr>dynamic_link\macros\ilib_<wbr>compile.sci line 86 )</font></div><div><font face="monospace, monospace">at line   129 of function ilib_build   ( C:\Program Files\scilab-6.0.0\modules\<wbr>dynamic_link\macros\ilib_<wbr>build.sci line 142 )</font></div><div><font face="monospace, monospace">at line    17 of executed file C:\Users\nikolay\AppData\<wbr>Roaming\Scilab\scilab-6.0.0\<wbr>atoms\x64\mingw\0.10.0\tests\<wbr>unit_tests\addinter.tst</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">ilib_compile: Error while executing Makelib.</font></div></div><div><br></div><div><br></div><div>Also I tried to launch Xcos model with Modelica blocks with <font face="monospace, monospace">xcos("SCI/modules/xcos/<wbr>demos/Electrical/Bridge_<wbr>Rectifier.zcos");</font></div><div>then with Simulation->Start got error in console</div><div><div><font face="monospace, monospace">--> xcos("SCI/modules/xcos/demos/<wbr>Electrical/Bridge_Rectifier.<wbr>zcos");</font></div><div><font face="monospace, monospace">------------------------------<wbr>--------------\</font></div><div><font face="monospace, monospace"> Main Modelica : C:\Users\nikolay\AppData\<wbr>Local\Temp\SCI_TMP_6052_26419\<wbr>Bridge_Rectifier_im.mo</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> Flat Modelica : C:\Users\nikolay\AppData\<wbr>Local\Temp\SCI_TMP_6052_26419\<wbr>Bridge_Rectifier_imf.mo</font></div><div><font face="monospace, monospace"> Simulation C code :C:\Users\nikolay\AppData\<wbr>Local\Temp\SCI_TMP_6052_26419\<wbr>Bridge_Rectifier_im.c</font></div><div><font face="monospace, monospace">   Generate a loader file</font></div><div><font face="monospace, monospace">   Generate a Makefile</font></div><div><font face="monospace, monospace">WARNING: C:\Users\nikolay\AppData\<wbr>Roaming\Scilab\SCILAB~2.0\<wbr>atoms\mingw\010~1.0\macros\<wbr>scripts\TEMPLATE_MAKEFILE.<wbr>MINGWnot found.</font></div><div><font face="monospace, monospace">   Running the Makefile</font></div><div><font face="monospace, monospace">   Compilation of Bridge_Rectifier_im.obj</font></div><div><font face="monospace, monospace">   Building shared library (be patient)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> make: *** No rule to make target 'clean'.  Stop.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">!sorry compiling problem                       !</font></div><div><font face="monospace, monospace">!                                              !</font></div><div><font face="monospace, monospace">!ilib_compile: Error while executing Makelib.  !</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> c_pass1: build the modelica meta-block failed</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> xcos_simulate: Error during block parameters update.</font></div></div><div><br></div><div><br></div><div>After manual move of 'scripts/TEMPLATE_MAKEFILE.MINGW' to 'macros/scripts/TEMPLATE_MAKEFILE.MINGW' <span style="font-family:monospace,monospace">atomsTest('mingw') </span></div><div>reports 10 passed tests (failed are: <i>addinter, ilib_build, ilib_build_2, ilib_build_cpp, links</i>).</div><div>But Xcos models with Modelica blocks can be simulated except 2 crashes (<i>Ball on a Platform</i> and <i>Chaos Modelica</i>)</div><div><br></div><div>Scilab 5.5.2 (x86 and x86_64) works normally on the same machine with mingw-0.9.3 (and gcc-4.6.3).</div><div><br></div><div><br></div><div><br></div><div>Where is an error - in Scilab or in MinGw toolbox?</div><div>Should I report bug?</div><div><br></div><div dir="ltr"><br>--<br></div><div><i>With best regards,<br><span lang="en"><span>Ph.D., </span>assistant professor at <a href="http://mpei.ru/lang/en/Pages/default.aspx" target="_blank">MPEI</a>,<br></span><span>IEEE member,</span><br>maintainer of <a href="http://atoms.scilab.org/toolboxes/Mathieu/" target="_blank">Mathieu functions toolbox for Scilab</a>,<br><span>Nikolay</span> Strelkov.</i><br></div></div></div></div></div></div>
</div>