[Scilab-Dev] [Scilab-users] MinGw toolbox 0.10.0 is not compatible with Scilab 6.0

nikolay n.strelkov at gmail.com
Mon Feb 20 18:31:18 CET 2017


Thank you, Alain!

I found your ticket
<http://forge.scilab.org/index.php/p/MinGW-toolbox/issues/1677/> on Scilab
forge.
It seems to be fixed with latest source version of the toolbox - 0.10.1 (
http://atoms.scilab.org/toolboxes/mingw/0.10.1/files/MinGW-toolbox.zip, MD5=
553c9f4659cbc2f7bbdaba9d24507324).

I reported two new issues about wrong links.dia.ref
<http://forge.scilab.org/index.php/p/MinGW-toolbox/issues/1677/> and
failed unit-tests
('addinter', 'ilib_build', 'ilib_build_2', 'ilib_build_cpp')
<http://forge.scilab.org/index.php/p/MinGW-toolbox/issues/1679/> because of
missed sci_mem_alloc.h header file.

As toolbox maintainer and developer I could say that unit-testing is very
important and I'm very happy when my toolbox passes all unit-tests in
current and fresh versions of Scilab.

--




*With best regards,Ph.D., assistant professor at MPEI
<http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of
Mathieu functions toolbox for Scilab
<http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.*

2017-02-20 12:46 GMT+03:00 Alain LAMY [via Scilab / Xcos - Mailing Lists
Archives] <ml-node+s994242n4035531h46 at n3.nabble.com>:

> Hello !
>
>
>
> I had the same problem.
>
> The work-around is to copy the “scripts” directory (in MinGW home
> directory) in “macros”.
>
> I already opened a ticket about this point.
>
>
>
> Alain
>
>
>
>
>
> *De :* users [mailto:[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4035531&i=0>] *De la part de*
> Nikolay Strelkov
> *Envoyé :* samedi 18 février 2017 18:55
> *À :* International users mailing list for Scilab.; [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4035531&i=1>
> *Objet :* [Scilab-users] MinGw toolbox 0.10.0 is not compatible with
> Scilab 6.0
>
>
>
> Dear Scilab users and developers!
>
>
>
> I have installed Scilab 6.0 x86 and x86_64 on my Windows 8.1 x86_64 laptop.
>
>
>
> Also I have downloaded and installed gcc-6.2.0 for x86
> <http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-32.exe>
> and x86_64
> <http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-64.exe> as
> prerequisites of MingGw toolbox
> <https://atoms.scilab.org/toolboxes/mingw/0.10.0>.
>
> Then I installed MinGw toolbox in Scilabs with atomsInstall('mingw').
> This process was successful.
>
> Then I restarted Scilab and tried to test MinGw toolbox with
> atomsTest('mingw').
>
>
>
> The results are not good - on both x86 and x86_64 - 13 tests of 15 are
> failed. Only *G_make* and *dllinfo* are passed.
>
> I do not attach logs - the error is always the same "failed: Slave Scilab
> exited with error code 1 ".
>
>
>
> If I launch these unit-tests manually (with cd
> SCIHOME\atoms\x64\mingw\0.10.0\tests\unit_tests\ and corresponding exec
> *.tst )
>
> I got messages such as
>
>
>
> WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\
> atoms\x64\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found.
>
>
>
>  make: *** No rule to make target 'all'.  Stop.
>
> at line    25 of function dlwCompile   ( C:\Users\nikolay\AppData\
> Roaming\Scilab\SCILAB~2.0\atoms\x64\mingw\010~1.0\macros\windows\dlwCompile.sci
> line 34 )
>
> at line    70 of function ilib_compile ( C:\Program
> Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_compile.sci line 86 )
>
> at line   129 of function ilib_build   ( C:\Program
> Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_build.sci line 142 )
>
> at line    17 of executed file C:\Users\nikolay\AppData\
> Roaming\Scilab\scilab-6.0.0\atoms\x64\mingw\0.10.0\tests\
> unit_tests\addinter.tst
>
>
>
> ilib_compile: Error while executing Makelib.
>
>
>
>
>
> Also I tried to launch Xcos model with Modelica blocks with
> xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos");
>
> then with Simulation->Start got error in console
>
> --> xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos");
>
> --------------------------------------------\
>
>  Main Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\
> Bridge_Rectifier_im.mo
>
>
>
>  Flat Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\
> Bridge_Rectifier_imf.mo
>
>  Simulation C code :C:\Users\nikolay\AppData\
> Local\Temp\SCI_TMP_6052_26419\Bridge_Rectifier_im.c
>
>    Generate a loader file
>
>    Generate a Makefile
>
> WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\
> atoms\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found.
>
>    Running the Makefile
>
>    Compilation of Bridge_Rectifier_im.obj
>
>    Building shared library (be patient)
>
>
>
>  make: *** No rule to make target 'clean'.  Stop.
>
>
>
> !sorry compiling problem                       !
>
> !                                              !
>
> !ilib_compile: Error while executing Makelib.  !
>
>
>
>  c_pass1: build the modelica meta-block failed
>
>
>
>  xcos_simulate: Error during block parameters update.
>
>
>
>
>
> After manual move of 'scripts/TEMPLATE_MAKEFILE.MINGW' to
> 'macros/scripts/TEMPLATE_MAKEFILE.MINGW' atomsTest('mingw')
>
> reports 10 passed tests (failed are: *addinter, ilib_build, ilib_build_2,
> ilib_build_cpp, links*).
>
> But Xcos models with Modelica blocks can be simulated except 2 crashes (*Ball
> on a Platform* and *Chaos Modelica*)
>
>
>
> Scilab 5.5.2 (x86 and x86_64) works normally on the same machine with
> mingw-0.9.3 (and gcc-4.6.3).
>
>
>
>
>
>
>
> Where is an error - in Scilab or in MinGw toolbox?
>
> Should I report bug?
>
>
>
>
> --
>
>
> *With best regards, *
>
>
> *Ph.D., assistant professor at MPEI
> <http://mpei.ru/lang/en/Pages/default.aspx>, IEEE member, maintainer of
> Mathieu functions toolbox for Scilab
> <http://atoms.scilab.org/toolboxes/Mathieu/>, Nikolay Strelkov.*
>
> _______________________________________________
> dev mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4035531&i=2>
> http://lists.scilab.org/mailman/listinfo/dev
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://mailinglists.scilab.org/MinGw-toolbox-0-10-0-is-
> not-compatible-with-Scilab-6-0-tp4035515p4035531.html
> To start a new topic under Scilab developers - Mailing Lists Archives,
> email ml-node+s994242n2574944h49 at n3.nabble.com
> To unsubscribe from Scilab developers - Mailing Lists Archives, click here
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2574944&code=bi5zdHJlbGtvdkBnbWFpbC5jb218MjU3NDk0NHwtMTM4MTgwMjk1OQ==>
> .
> NAML
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://mailinglists.scilab.org/Re-Scilab-users-MinGw-toolbox-0-10-0-is-not-compatible-with-Scilab-6-0-tp4035538.html
Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20170220/95ab3d4d/attachment.htm>


More information about the dev mailing list