Support Board
Date/Time: Sun, 24 Nov 2024 22:51:09 +0000
[Documentation Revision] ACSIL Build Location
View Count: 364
[2024-05-04 06:20:26] |
MichaelPPTF - Posts: 69 |
In this document (Step-By-Step ACSIL Debugging), SC said the DLLs compiled locally will be placed under /ACS_Source/. However, the VisualCCompile.bat has the output location set as \Data\, which caused a lot of trouble. Is this by design or just an oversight? Here's the code of VisualCCompile.bat
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
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 "D:\SierraChart\ACS_Source\CustomPanel.cpp" /link "Gdi32.lib" "User32.lib" /DLL /DYNAMICBASE /DEBUG /INCREMENTAL:NO /OPT:REF /MACHINE:X64 /OUT:"D:\SierraChart\Data\CustomPanel_64.dll" |
[2024-05-05 15:24:34] |
John - SC Support - Posts: 36238 |
The documentation does not state anything about the location of the DLL. The documentation we assume you are referencing is step 3 which states the following: Open Microsoft Visual Studio, select File >> Open >> File. Select the cpp file of the study from the /ACS_Source folder in the Sierra Chart installation folder. In our example, it is ExampleCustomStudies.cpp
Note that it is referencing the C++ file itself (CPP) and not the DLL. The CPP file is located in the ACS_Source folder as specified, and the DLL is located in the Data folder. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-05-05 17:13:14] |
MichaelPPTF - Posts: 69 |
Wrong Link. This is the one: https://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php#BuildingLocallyToDebug Installing the compiler does take time. That must be completed first before using the Build >> Build with Visual C++ - Debug command. When you build a project in debug mode, two important files are created. A study dll file and a PDB file or Program Debug Database. For example, if you build a source file called ExampleCustomStudies.cpp file, you will see a ExampleCustomStudies.dll and a ExampleCustomStudies.pdb.
If you want to see that project built to the right place and that you are ready to debug, you can check that these two files were created in your ACS_Source folder in the Sierra Chart installation folder. |
[2024-05-06 13:28:19] |
John - SC Support - Posts: 36238 |
Thank you. We have corrected this.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: