Login Page - Create Account

Support Board


Date/Time: Thu, 06 Mar 2025 04:03:22 +0000



Post From: C++ compiler install

[2022-01-20 15:30:53]
User217027 - Posts: 5
Hello,

Could you please confirm what's the exact package expected to be installed in order to compile ACSIL DLLs from SierraChart ?

I downloaded the install program using your link in "Build > Install Visual C++ Compiler"

Once the program launched, I installed "Visual Studio Build Tools 2019", and checked the "Desktop development with C++" package, but "C:\Program Files\Microsoft Visual Studio\2019\BuildTools\VC\vcvarsall.bat" was not created.

Then I installed "Visual Studio Community 2019", but the problem remains.

I could find vcvarsall.bat script in the "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build" folder, and I tried to edit the path called in the "C:\SierraChart\ACS_Source\VisualCCompile.Bat" script, but the content of this script is automatically overwritten, and the default path is restored (without \Auxiliary\Build), so the compilation fails.

Here's the output I get:

-- Starting build of Custom Studies Source files: COTReport.cpp. -- 15:46:05

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
Le chemin d'accès spécifié est introuvable.

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\COTReport.cpp" /link "Gdi32.lib" /DLL /DYNAMICBASE /INCREMENTAL:NO
/OPT:REF /OPT:ICF /MACHINE:X64 /OUT:"C:\SierraChart\Data\COTReport_64.dll"
'cl' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
-- End of Build -- 15:46:06

(see attached screenshot)

Thanks in advance for your help !
Date Time Of Last Edit: 2022-01-20 16:47:40
imagescreenshot.png / V - Attached On 2022-01-20 16:01:24 UTC - Size: 206.7 KB - 242 views