--> atomsInstall("mingw")
MinGW Compiler support for Scilab 6.0.0 and more on Windows You need to install MinGW package distributed by Equation Solution first and then you must install this interface module between MinGw and Scilab. with Scilab 32 bits: (* x86) http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-32.exe with Scilab 64 bits: (* x64) http://atoms.scilab.org/toolboxes/mingw/0.10.0/files/gcc-6.2.0-64.exe
Upload date : 2017-03-02 15:00:51 MD5 : 37b8a87c70a781fc8b13a30ec9279014 SHA1 : bc6a13b646976544d07db6d4db4cec69cf05b4d0 Downloads : 2161
Binary version (all platforms) Automatically generated by the ATOMS compilation chain
Upload date : 2017-03-02 17:36:47 MD5 : 9ad643888ef69a5676a54748eb260397 SHA1 : a8adcefd05d21f84081c13a1589ac5a6934c368a Downloads : 30323
Hello there! Maybe unfortunate place, but someone might find it helpful. In order to make this package run I needed to make two changes: ############################################################# 1. %AppData%\Roaming\Scilab\scilab-6.0.0\atoms\x64\mingw\0.10.5\loader.sce 10,11c10,12 < < exec(get_absolute_file_path("loader.sce")+"etc\"+"D:\atomscc\work\compil\mingw_0.10.5\.start"); --- > //TODO sk: > //exec(get_absolute_file_path("loader.sce")+"etc\"+"D:\atomscc\work\compil\mingw_0.10.5\.start"); > exec( get_absolute_file_path("loader.sce")+"etc\"+"mingw.start"); ############################################################# 2. %AppData%\Roaming\Scilab\scilab-6.0.0\atoms\x64\mingw\0.10.5\scripts\TEMPLATE_MAKEFILE.MINGW: 31c31 < LINKER_FLAGS = --shared $(OBJS) -std=c++11 -L$(GCCLIBDIR) -L$(SCIMINGWLIBDIR) -lgfortran $(SCILAB_LIBS) $(XCOS_LIBS) --- > LINKER_FLAGS = --shared $(OBJS) -std=c++11 -L$(GCCLIBDIR) -L"$(SCIMINGWLIBDIR)" -lgfortran $(SCILAB_LIBS) $(XCOS_LIBS) 83a84,98 > #clean: > # del *.bak > # del *.$(OBJ) > # del *.dll > # del *.lib > # del *.def > ##============================================================= > #distclean: > # del *.bak > # del *.$(OBJ) > # del *.dll > # del *.lib > # del *.def > ##============================================================= > # TODO sk: 85,89c100,104 < del *.bak < del *.$(OBJ) < del *.dll < del *.lib < del *.def --- > rm -f *.bak > rm -f *.$(OBJ) > rm -f *.dll > rm -f *.lib > rm -f *.def 92,97c107,112 < del *.bak < del *.$(OBJ) < del *.dll < del *.lib < del *.def < #============================================================= \ No newline at end of file --- > rm -f *.bak > rm -f *.$(OBJ) > rm -f *.dll > rm -f *.lib > rm -f *.def > #============================================================= ############################################################# Cheeers, you do a great job developers, thank you!
Hello everyone, I have a Problem of my machines running Windows 10 and Scilab 6.0.0 - 64 Bits. When I install the MinGw toolbox and restart Scilab I get the following: Mingw Compiler support for Scilab Load macros Converting Libraries. Build libblasplus.a atomsLoad : Une erreur est survenue au cours du chargement de 'mingw-0.10.5': exec: error on line #32: "Indice invalide." Would anyone of you be able to help me? Thanks a lot in advance! YM
This problem seems to have something to do with how win10 handles the paths. Description and patch-proposal in this issue may help you. http://forge.scilab.org/index.php/p/MinGW-toolbox/issues/1682/ BR, Jyrki
Congratulations on the toolbox! I have a doubt. What was the method for generating the binary macros? Like this one here: "macros\mgw_SetEnv.bin". The macros I create, by the save() function, causes Scilab to lock / close. For example: function r = f() r = 3; endfunction save('r.bin', 'r');
> The macros I create, by the save() function, causes Scilab to lock / close. > For example: > function r = f() > r = 3; > endfunction > save('r.bin', 'r'); a) I guess you meant save('r.bin', 'f') Trying to save a not existing r variable likely caused the issue b) genlib() must be used instead
Hi, I have an issue with compiling in xcos and the error message is as follows: Modelica blocks are reduced to a block with: Number of differential states: 0 Number of algebraic states: 2 Number of discrete time states : 0 Number of zero-crossing surfaces: 0 Number of modes : 0 Number of inputs : 0 Number of outputs: 1 Input/output dependency:[T] Analytical Jacobian: enabled (%Jacobian=%t) Parameter embedding mode: enabled (%Modelica_ParEmb=%t)... I found that a Compiler Needs to be installed and can anyone help me how to proceed and solve this issue. Best Regards, Ananth
This comment has been deleted.
Makelib:137: *** missing separator. Stop. at line 25 of function dlwCompile ( C:\Users\THERU_~1\AppData\Roaming\Scilab\SCILAB~1.1\atoms\x64\mingw\010~1.5\macros\windo ws\dlwCompile.sci line 34 ) at line 70 of function ilib_compile ( C:\Program Files\scilab- 6.0.1\modules\dynamic_link\macros\ilib_compile.sci line 86 ) at line 104 of function ilib_for_link ( C:\Program Files\scilab- 6.0.1\modules\dynamic_link\macros\ilib_for_link.sci line 118 ) at line 17 of function npend_build_and_load at line 112 of function demo_pendulum ( C:\Program Files\scilab- 6.0.1\modules\differential_equations\demos\n_pendulum\n_pendulum.sci line 120 ) at line 11 of executed file C:\Program Files\scilab- 6.0.1\modules\differential_equations\demos\n_pendulum\n_pendulum.dem.sce ilib_compile: Error while executing Makelib. How do I resolve this?
Hello everybody, After installing mingw via ATOMOS installer followed by the installations of gcc-6.2.0-64.exe and restarting of scilab the following Messages occur: Mingw Compiler support for Scilab Load macros Converting Libraries. Build libblasplus.a Conversion failed libblasplus.a Build liblibf2c.a Conversion failed liblibf2c.a Build libcore.a Conversion failed libcore.a Build libcore_f.a Conversion failed libcore_f.a Build liblapack.a Conversion failed liblapack.a Build liboutput_stream.a Conversion failed liboutput_stream.a ... Maybe I similar Problem but I have no idea how to handle it. Can anybody help? Thanks in advanced Holger
Hello everyone, I install Scilab 64 bits and gcc files but whenever I run the Scilab I am getting the conversion error below. I saw many people had this issue before but there is no answer. Could you tell me how to solve this issue? Mingw Compiler support for Scilab Load macros Converting Libraries. Build libblasplus.a Conversion failed libblasplus.a Build liblibf2c.a Conversion failed liblibf2c.a Build libcore.a Conversion failed libcore.a Build libcore_f.a Conversion failed libcore_f.a Regards
Hi, When building a toolbox that interfaces FORTRAN code using gcc 6.2.0 under Windows 10 (64 bits) the following error message appears: !c:/users/montage/gcc/bin/../lib/gcc/x86_64-w64-mingw32/6.2.0/..! !/../../../lib/libgfortran.a(write.o): In function `write_float'! !: ! ! ! !/home/gfortran/gcc-home/workshop/gcc/objdir/x86_64-w64-mingw32/! !libgfortran/../../../gcc-6.2.0-mingw/libgfortran/io/write_float! !.def:1291: undefined reference to `quadmath_snprintf' ! To solve the problem, we had to add "-lquadmath" to LINKER_FLAGS in file "TEMPLATE_MAKEFILE.MINGW" (in "scripts" directory). The line: LINKER_FLAGS = --shared $(OBJS) -std=c++11 -L$(GCCLIBDIR) -L$(SCIMINGWLIBDIR) -lgfortran $(SCILAB_LIBS) $(XCOS_LIBS) has to be replaced by: LINKER_FLAGS = --shared $(OBJS) -std=c++11 -L$(GCCLIBDIR) -L$(SCIMINGWLIBDIR) -lgfortran -lquadmath $(SCILAB_LIBS) $(XCOS_LIBS) Note: It worked with the previous version of gcc (4.6.3).