saving . . . saved
0
Scilab 5.5.2 - Xcos
Title
Question

Hello, i have installed a version of scilab 5.5.2. i have installed lcc win 32. i am trying to simulate the RLC circuit demo in XCOS. but i get the error as Main Modelica : C:\DOCUME~1\Jalpa\LOCALS~1\Temp\SCI_TMP_3892_\RLC_Modelica_im.mo Flat Modelica : C:\DOCUME~1\Jalpa\LOCALS~1\Temp\SCI_TMP_3892_\RLC_Modelica_imf.mo Simulation C code :C:\DOCUME~1\Jalpa\LOCALS~1\Temp\SCI_TMP_3892_\RLC_Modelica_im.c Generate a loader file Generate a Makefile Running the Makefile !sorry compiling problem ! ! ! !A Fortran or C compiler is required. ! c_pass1: build the modelica meta-block failed xcos_simulate: Error during block parameters update. i have installed c compiler and then when i go to module manager --> windows Tool i am not able to find the lcc option. Earlier it was working fine. i have even re-installed scilab 5.5.2.


Scilab 06-07-16, 12:17 a.m. jalpa

Answers:

0

On Scilab console, please type the following and post the results-

haveacompiler()
findmsvccompiler()

06-07-16, 9:44 a.m. shamika

i have tried it the result is

haveacompiler()
ans =
F
-->findmsvccompiler()
ans =
unknown


06-07-16, 10:25 a.m. jalpa

Login to add comment


0

i have tried it the result is

haveacompiler()
ans =
F
-->findmsvccompiler()
ans =
unknown

06-07-16, 10:27 a.m. jalpa


0

Scilab is unable to find the compiler. Have you installed MS Visual Studio? Please follow the steps given here-
https://help.scilab.org/doc/5.3.3/en_US/supported_compilers.html
https://wiki.scilab.org/How%20can%20I%20set%20up%20Microsoft%20Visual%20Studio%202008/2010%20Express%20Edition%20for%20use%20with%20Scilab%20x64%20on%2064-bit%20Windows%3F

Please post if Xcos works fine after installing MS Visual Studio.

06-07-16, 4:33 p.m. shamika

I have installed MS Visual studio also, but the above same error repeated continuously


11-11-16, 10:51 a.m. Mohamed

Login to add comment


0

I have installed MS Visual studio also, but the above same error repeated continuously

12-11-16, 9:41 a.m. Mohamed


0

Now that you've installed MS Visual Studio, lets see if Scilab finds the compiler. Please post the results for the following-

haveacompiler()
findmsvccompiler()

18-11-16, 3:48 p.m. shamika


Log-in to answer to this question.