Login Page - Create Account

Support Board


Date/Time: Sun, 23 Feb 2025 14:48:53 +0000



Post From: Build Advanced Custom Studies-

[2021-02-11 13:43:35]
User667570 - Posts: 5
Hello, I have followed the instructions in installing C++ build tools, and have visual studio code 2019 on my computer. I am trying to compile an advanced custom study dll, however when I try to Build With Visual C++ -Release, the following error message comes up in Build Ouput:

"-- Starting build of Custom Studies Source files: EIAIntegratedIndicator.cpp. -- 08:31:24

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\ACS_Source\VisualCCompile.Bat"


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

C:\SierraChart\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\ACS_Source\EIAIntegratedIndicator.cpp" /link "Gdi32.lib" /DLL /DYNAMICBASE /INCREMENTAL:NO /OPT:REF /OPT:ICF /MACHINE:X64 /OUT:"C:\SierraChart\Data\EIAIntegratedIndicator_64.dll"
'cl' is not recognized as an internal or external command,
operable program or batch file.
-- End of Build -- 08:31:25"

After checking the file path I can confirm my version of Visual Studio and and Microsoft Visual C++ Buildtools are saved under 'Program Files(x86)', and the .bat file the file path looks to be trying to reference should be "C:\Program Files (x86)\Microsoft Visual Studio\VC\vcvarsall.bat".

Please can you advise on how to correct this, I don't seem to be able to alter these file paths? I've tried copying the Microsoft Visual Studio folder into 'Program Files' and renaming it 'Microsoft Visual Studio 14.0', though have been met with further errors.