Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 17:24:00 +0000



Post From: Cannot find vcvarsall.bat. It does exist in VS140COMNTOOLS path.

[2021-04-18 11:38:00]
jwick - Posts: 142
Hi,

I am getting the following error when trying to compile ACSIL. It began after I did the following two things: Ran windows update and restarted + updated SC.


C:\Windows\system32\cmd.exe /C "C:\SierraChart\SierraChartInstance_4\ACS_Source\VisualCCompile.Bat"


C:\SierraChart\SierraChartInstance_4\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vcvarsall.bat" amd64
'"C:\Program Files (x86)\Microsoft Visual Studio 14.0\vcvarsall.bat"' is not recognized as an internal or external command,
operable program or batch file.

C:\SierraChart\SierraChartInstance_4\ACS_Source>cl /Zc:wchar_t /GS /GL /W3 /O2 /Zc:inline /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Oy /Gd /Gy /Oi /GR- /GF /Ot /fp:precise /MT /std:c++17 /LD /EHa /WX- /nologo "C:\SierraChart\SierraChartInstance_4\ACS_Source\OFTCode.cpp" /link "Gdi32.lib" /DLL /DYNAMICBASE /INCREMENTAL:NO /OPT:REF /OPT:ICF /MACHINE:X64 /OUT:"C:\SierraChart\SierraChartInstance_4\Data\OFTCode_64.dll"
'cl' is not recognized as an internal or external command,
operable program or batch file.
-- End of Build -- 07:25:52

When I ran echo %VS140COMNTOOLS% in the command line I got:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\

EDIT: Updating to the pre-release version fixed this.

EDIT2: Well shucks ... the pre-release version of SC crashes when I load my chartbook (loads fine in regular release)

EDIT3: To summarize:
v2246: No issue (currently downgraded to this version)
v2247: Cannot find vcvarsall.bat issue. No crash when loading chartbook.
v2250 pre-release: Able to find vcvarsall.bat / no compilation issue. Chartbook crashes on load.
Date Time Of Last Edit: 2021-04-18 14:48:19