Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 00:18:33 +0000



Post From: Sierra Chart doesn't find Visual C++ Compiler

[2021-08-14 18:39:06]
PS2004 - Posts: 47
Hi!
I want to debug one of my Custom Studies. I read the documentation about it, and installed Visual C++ Compiler through:
Analysis>>Build>>Install Visual C++ Compiler

Now when I click on "Build With Visual C++ - Debug", SC says:

-- Starting build of Custom Studies Source files: PS_Statistics_v2.cpp _ps_sc_functions.h. -- 20:33:20

The Visual C++ compiler is not installed. Select 'Build >> Install Visual C++ Compiler' to download and install the compiler.

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


C:\SierraChart_Dev\ACS_Source>call "C:\Program Files\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
The system cannot find the path specified.

C:\SierraChart_Dev\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_Dev\ACS_Source\PS_Statistics_v2.cpp" "C:\SierraChart_Dev\ACS_Source\_ps_sc_functions.h" /link "Gdi32.lib" /DLL /DYNAMICBASE /DEBUG /INCREMENTAL:NO /OPT:REF /MACHINE:X64 /OUT:"C:\SierraChart_Dev\Data\PS_Statistics_v2_64.dll"
'cl' is not recognized as an internal or external command,
operable program or batch file.
-- End of Build -- 20:33:20


How can I change the path of the folder it is referring to? ("C:\Program Files\Microsoft Visual Studio 14.0\VC\vcvarsall.bat")

I use Visual Studio 2019 Community for developing in ACSIL, and the Visual C++ Compiler's installation path is: (like in the attached picture)
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
Attachment Deleted.
imagevisual_cpp_compiler_location.png / V - Attached On 2021-08-14 18:37:58 UTC - Size: 45.03 KB - 474 views