saving . . . saved xcos has been deleted. xcos has been hidden .
xcos
Title
Question
Hi There
When I try to simulate electrical circuits using Xcos, following message apperas, although it runs mathematical modules:

Main Modelica : C:\\Users\\nrahate\\AppData\\Local\\Temp\\SCI_TMP_14588_18094\\Switched_capacitor_integrator_im.mo

 Flat Modelica : C:\\Users\\nrahate\\AppData\\Local\\Temp\\SCI_TMP_14588_18094\\Switched_capacitor_integrator_imf.mo
 Simulation C code :C:\\Users\\nrahate\\AppData\\Local\\Temp\\SCI_TMP_14588_18094\\Switched_capacitor_integrator_im.c
   Generate a loader file
   Generate a Makefile
   Running the Makefile
   Compilation of Switched_capacitor_integrator_im.c
   Building shared library (be patient)
   '"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"' is not recognized as an internal or external command,
   operable program or batch file.

!'"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"' is not recogni!
!zed as an internal or external command,                                                !
!                                                                                       !
!operable program or batch file.                                                        !
!                                                                                       !
!'nmake' is not recognized as an internal or external command,                          !
!                                                                                       !
!operable program or batch file.                                                        !

!sorry compiling problem                           !
!                                                  !
!ilib_compile: Error while executing Makelib.mak.  !

 c_pass1: build the modelica meta-block failed

 xcos_simulate: Error during block parameters update.


Scilab Xcos-Introduction 00-01 min 0-10 sec 17-02-20, 9 p.m. NitaPanhale

Answers:

The error:

"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat" is not recognized as an internal or external command

means that Visual Studio Native Tools Command Prompt (compatible with your version of Visual Studio) is not installed.

Please install the same. Rerunning the Visual Studio installer will give you this option.
07-05-20, 10:18 a.m. sunilshetye


Log-in to answer to this question.