Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 00:43:26 +0000



Post From: Unable to connect Visual Studio to sierra Chart

[2021-12-26 12:01:32]
sushant - Posts: 32
I installed the compiler from Analysis>>Build>>Install Compiler. It opened Build Tools 2019.
When I do Analysis>>Build>>Build With Visual C++ - Debug I get the following Error:

call "C:\Program Files\Microsoft Visual Studio\2019\BuildTools\VC\vcvarsall.bat" amd64
'"C:\Program Files\Microsoft Visual Studio\2019\BuildTools\VC\vcvarsall.bat"' is not recognized as an internal or external command,
operable program or batch file.

C:\SierraChart\ACS_Source>cl /JMC /MP /analyze- /Zc:wchar_t /Z7 /Od /GS /W3 /RTC1 /Zc:inline /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Gd /Gy /GR- /GF /fp:precise /MTd /std:c++17 /LD /EHa /WX- /diagnostics:classic /nologo "C:\SierraChart\ACS_Source\AutoTrader_V1.3.cpp" /link "Gdi32.lib" /DLL /DYNAMICBASE /DEBUG /INCREMENTAL:NO /OPT:REF /MACHINE:X64 /OUT:"C:\SierraChart\Data\AutoTrader_V1.3_64.dll"
'cl' is not recognized as an internal or external command,
operable program or batch file.

I found the vcvarsall.bat in the path C:\Program Files\Microsoft Visual Studio\2019\BuildTools\VC\Auxilary\Build so I copy pasted it from there to
C:\Program Files\Microsoft Visual Studio\2019\BuildTools\VC\

Then I get the following error:

Using default path for the Visual C++ compiler. If the compiler is not installed, select 'Build >> Install Visual C++ Compiler' to download and install the compiler.
C:\WINDOWS\system32\cmd.exe /C "C:\SierraChart\ACS_Source\VisualCCompile.Bat"


C:\SierraChart\ACS_Source>call "C:\Program Files\Microsoft Visual Studio\2019\BuildTools\VC\vcvarsall.bat" amd64
The specified configuration type is missing. The tools for the
configuration might not be installed.
'cl' is not recognized as an internal or external command,
operable program or batch file.
-- End of Build -- 11:59:53


Links That I am following are :

https://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php#BuildingLocallyToDebug
Step-By-Step ACSIL Debugging