Support Board
Date/Time: Sat, 23 Nov 2024 21:55:14 +0000
[Programming Help] - Unable to connect Visual Studio to sierra Chart
View Count: 1066
[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 |
[2021-12-26 13:53:27] |
sushant - Posts: 32 |
I solved it By adding C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64 to the path in environment variable |
[2024-07-18 21:37:04] |
TB7000 - Posts: 5 |
In my case I missed to install the C++ workloads first to begin with. vcvarsall.bat is within the 'Desktop Development with C++' workload of VS. To install it: - Open Visual Studio - Tools --> Get Tools and Features... - In the Workload Tab: add the "Desktop Development with C++" workload pack and install it. Then found the vcvarsall.bat file for VS 2022 Community in: <Install folder>\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build |
To post a message in this thread, you need to log in with your Sierra Chart account: