--> atomsInstall("mingw")
MinGW Compiler support for Scilab 6.1.1 and more on Windows You need to install MinGW package distributed by Equation Solution first (subsequent versions of gcc should work as well): Scilab 32 bits: http://www.equation.com/ftpdir/gcc/gcc-9.2.0-32.exe Scilab 64 bits: http://www.equation.com/ftpdir/gcc/gcc-9.2.0-64.exe Then logout/login your Windows session and finally install this toolbox. The first time you load this toolbox Scilab will rebuild some gcc libraries. The process may take a minute or more so please be patient.
Upload date : 2021-12-06 14:39:38 MD5 : 0b033430907934c4b847c055a8d15528 SHA1 : d5e83b9c513e8ce7005f7a0cc0525df36e3b412f Downloads : 9462
Upload date : 2021-12-06 14:33:56 MD5 : 456558ec11b02d2f5db098ce6af0edcc SHA1 : da5c6b8a110ef0dcccfed9c40f3682b160461c78 Downloads : 816
I have not been able to get MinGW to find the gcc compiler. When I start Scilab, I get the message: Mingw Compiler support for Scilab Load macros WARNING: MinGW Compiler not detected. Load help I've tried all sorts of things, but have now run gcc-9.2.0.exe, and added C:\MinGW\bin to the System Path. I upgraded MinGW 8.3.0 to MinGW 9.2.0. I unistalled Scilab and did a fresh install, loaded MinGW, exited and restarted Scilab but the above message didn't change. How do I help MinGW 9.2.0 find the gcc compiler? There appears to be some assumed step in the above description that I do not know about. Note I also have Microsoft Visual Studio Community 2019 and 2022 installed but MinGW can't find the MS c compilers either. I ran functions haveacompiler() and findmsvccompiler() but both returned negative results ("F" and "unknown" respectively). configure_msvc() returns T??
Hi, > I have not been able to get MinGW to find the gcc compiler. > When I start Scilab, I get the message: > > Mingw Compiler support for Scilab > Load macros > WARNING: MinGW Compiler not detected. > Load help > > I've tried all sorts of things, but have now run gcc-9.2.0.exe, and added C:\MinGW\bin > to > the System Path. I upgraded MinGW 8.3.0 to MinGW 9.2.0. I unistalled Scilab and did a > Did you have the MinGW toolbox running on your computer before ? There have been no other changes in the toolbox than the new download link for gcc, since 8.3.0 is not available any more > fresh install, loaded MinGW, exited and restarted Scilab but the above message didn't > change. > > How do I help MinGW 9.2.0 find the gcc compiler? There appears to be some assumed step > in > the above description that I do not know about. > > Note I also have Microsoft Visual Studio Community 2019 and 2022 installed but MinGW > can't > find the MS c compilers either. MinGW toolbox purpose is not to detect MS compilers. I presume that VS 2022 won't be detected by Scilab either (although VS 2019 will). However you can have both MS Visual Studio and MinGW Toolbox, so the problem is not here. I ran functions haveacompiler() and findmsvccompiler() > but > both returned negative results ("F" and "unknown" respectively). > configure_msvc() returns > T?? > If you want to use MinGW, I suggest that you suppress the mingwlib_x64 folder in your SCIHOME directory (launch Scilab and type "SCIHOME" to see the actual path), then restart Scilab. At restart please don't interrupt the libraries build process (it can be quite long, typically one minute or more). S.
This is my first encounter with Scilab. I have never been able to get MinGW toolbox (neither 8.3.0 nor 9.2.0) to work for me. I found SCIHOME and deleted the subdirctory mingwlib_64, restarted Scilab but no change in response. I removed MinGW toolbox, restarted Scilab, re-installed MinGW Toolbox, restarted Scilab, but no change, again. Question. If the Scilab Mingw start up message includes "WARNING: MinGW Compiler not detected.", how is the toolbox guided to a suitable compiler? I cannot find anything in the Help that could possibly set things up so MinGW Toolbox can find gcc, and findmsvccompiler() returns "unknown" (although I think my Visual Studio mscv version is 140). Note: I am a Windows User, with minimal expertise in the way it works behind the scenes, although I began in the days of Winows93, and did once do an introductory course in Unix (long since forgoten).
Hi, If you already have VS studio you don't need MinGW toolbox. This toolbox is dedicated to users who don't have VS. Moreover VS Community 2022 won't be detected by Scilab and that explains why findmsvccompiler() yields "unknown". The most recent version that can be detected is VS 2019. So please uninstall VS 2022, reboot you machine, and findmsvccompiler() will yield something. Then, all dynamic link examples should run fine, e.g. you should test those in the ilib_build help page. S.
All good. Removed all VS installations, unistalled Scilab and rebooted. Installed VS2019 and Scilab from fresh downloads. findmsvccompiler() returned "msvc142express" Ran simple electrical circuit in xcos, and it worked. Thank you. I think I went off track in the tutorial "Xcos for very beginners" (Scilab 2013) on Page 14, "Install a C compiler", where it advised that a C compiler may be necessary (if not already loaded on the system) and it launched staight into "Install MinGW module ..." in "Under Windows". Maybe the final pargaph on p15 needs to be included in the introductory paragaph (because I freely admit that I didn't reed past the Windows section because it related to OS's of no interest to me. Australians, apparently, have the reputation of not reading all the instructions, thoroughly, before starting the engine!). Thanks again.