Support Board
Date/Time: Mon, 27 Jan 2025 16:56:03 +0000
Error Compiling ACSIL
View Count: 1163
[2019-02-21 12:49:48] |
User40073 - Posts: 23 |
Hello, I come back after 3-4 years to trade and Sierra Chart, and I like to develop some new indicator. I set all things from this link: https://www.sierrachart.com/index.php?page=doc/UsingVisualCPlusPlus.php All setting are ok, but put these errors from sierrachart.h This is MyCustomStudy.cpp sample code. 1>------ Build started: Project: EndreStudy, Configuration: Debug Win32 ------ 1>Build started 2019.02.21. 13:35:15. 1>InitializeBuildStatus: 1> Touching "Debug\EndreStudy.unsuccessfulbuild". 1>ClCompile: 1> EndreStudy.cpp 1>c:\sierrachart\acs_source\scconstants.h(478): warning C4341: 'LINESTYLE_UNSET' : signed value is out of range for enum constant 1>c:\sierrachart\acs_source\vapcontainer.h(151): error C2253: 'c_VAPContainerBase<t_VolumeAtPrice>' : pure specifier or abstract override specifier only allowed on virtual function 1> c:\sierrachart\acs_source\vapcontainer.h(324) : see reference to class template instantiation 'c_VAPContainerBase<t_VolumeAtPrice>' being compiled 1>c:\sierrachart\acs_source\vapcontainer.h(151): error C2059: syntax error : ';' 1> c:\sierrachart\acs_source\vapcontainer.h(1262) : see reference to class template instantiation 'c_VAPContainerBase<t_VolumeAtPrice>' being compiled 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeAtPriceV2 1> ] 1>c:\sierrachart\acs_source\vapcontainer.h(151): error C2238: unexpected token(s) preceding ';' 1>c:\sierrachart\acs_source\vapcontainer.h(155): error C2059: syntax error : ';' 1>c:\sierrachart\acs_source\vapcontainer.h(155): error C2238: unexpected token(s) preceding ';' 1>c:\sierrachart\acs_source\vapcontainer.h(151): error C2059: syntax error : ';' 1> c:\sierrachart\acs_source\vapcontainer.h(1332) : see reference to class template instantiation 'c_VAPContainerBase<t_VolumeAtPrice>' being compiled 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeLevelAtPrice 1> ] 1>c:\sierrachart\acs_source\vapcontainer.h(151): error C2238: unexpected token(s) preceding ';' 1>c:\sierrachart\acs_source\vapcontainer.h(155): error C2059: syntax error : ';' 1>c:\sierrachart\acs_source\vapcontainer.h(155): error C2238: unexpected token(s) preceding ';' 1>c:\sierrachart\acs_source\scstructures.h(3190): error C2864: 'n_ACSIL::s_ChartSessionTimes::UseEveningSessionTimes' : only static const integral data members can be initialized within a class 1>c:\sierrachart\acs_source\scstructures.h(3191): error C2864: 'n_ACSIL::s_ChartSessionTimes::NewBarAtSessionStart' : only static const integral data members can be initialized within a class 1>c:\sierrachart\acs_source\scstructures.h(3192): error C2864: 'n_ACSIL::s_ChartSessionTimes::LoadWeekendDataSetting' : only static const integral data members can be initialized within a class 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:02.49 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
[2019-02-21 18:30:42] |
Sierra Chart Engineering - Posts: 104368 |
You need to update to a newer release of Visual C++ like Visual C++ 2017.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-02-23 09:39:33] |
User40073 - Posts: 23 |
Thanks, working with Visual Studio 2017.
|
To post a message in this thread, you need to log in with your Sierra Chart account: