Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 20:32:36 +0000



Post From: Visual Studio won't build Study when sc.VolumeAtPriceForBars->GetVAPElementAtIndex is used

[2018-06-10 00:55:49]
Sierra Chart Engineering - Posts: 104368
>libcpmtd.lib(stdthrow.obj) : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z)
This relates to using the release build of the C++ libraries when you need the debug build.

Studies8.cpp is not meant to be compiled on its own. You need to take the particular functions you need from that file, and also any dependent functions and contain them in a single CPP file and make sure you have added the necessary function declarations as well.

Refer to this page:
http://www.sierrachart.com/index.php?page=doc/HowToBuildAnAdvancedCustomStudyFromSourceCode.html
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
Date Time Of Last Edit: 2018-06-10 00:56:12