Support Board
Date/Time: Wed, 05 Mar 2025 19:47:18 +0000
[Programming Help] - C++ compiler install
View Count: 1901
[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
|
![]() |
[2022-01-20 15:46:39] |
Tony - Posts: 552 |
No experience on Visual Studio, but in terms of compiling ACSIL DLLs, there is another option: Build > Remote Build |
[2022-01-20 16:02:51] |
User217027 - Posts: 5 |
Thanks for your suggestion Tony. I started using the remote build, but as soon as I stat to have a local dependency, the remote build fails (see attached screenshot) Date Time Of Last Edit: 2022-01-20 16:47:50
|
![]() |
[2022-01-20 16:42:34] |
User217027 - Posts: 5 |
I've tried a workaround using ENV variable (as described here: Incorrect parsing of Env Variable VS140COMNTOOLS), but no success
|
[2022-01-20 18:28:05] |
User365411 - Posts: 192 |
make sure to install this too "MVSC v140 - VS 2015 C++ built tools (v14.0)" Sierra Chart doesn't find Visual C++ Compiler post #5 if don't work, go with post #2 in the same discussion Date Time Of Last Edit: 2022-01-20 18:33:45
|
[2022-01-20 19:06:36] |
User217027 - Posts: 5 |
Thanks so much. I tried again, choosing the exact same packages, and it works now :) |
To post a message in this thread, you need to log in with your Sierra Chart account: