Support Board
Date/Time: Sat, 11 Jan 2025 04:50:36 +0000
[Programming Help] - Debug Build Issue
View Count: 820
[2016-11-07 10:53:11] |
kas64h - Posts: 87 |
Hello I'm trying to get individual values from a comma delimited input in ACSIL using a vector, but am having problems getting it to build in Debug. To try and narrow down the issue, I created a brand new project in VS2015, with everything setup exactly as outlined here: https://www.sierrachart.com/index.php?page=doc/VCExpress.php#Build I then copied your source code for the scsf_SumChartsFromList study directly from the Studies6.cpp file provided with Sierra, which utilizes vectors to get chart numbers from a user text input. I have all the correct headers in place: #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows header file #include <windows.h> #include "sierrachart.h" #include "scstudyfunctions.h" (I've also tried putting in #include <vector> but it makes no difference) When I try to build the code in Debug, I get the following error which seems to be related to the usage of the vector: Error LNK2019 unresolved external symbol __CrtDbgReportW referenced in function "public: float & __thiscall std::vector<float,class std::allocator<float> >::operator[](unsigned int)" (??A?$vector@MV?$allocator@M@std@@@std@@QAEAAMI@Z) I do not understand why I'm getting the error, obviously as it's a Sierra code example, and as far as I can see I have everything set up correctly. Interestingly though, if I build the code in Release, it does build successfully. Are you able to help? Many thanks. |
[2016-11-07 16:54:51] |
Sierra Chart Engineering - Posts: 104368 |
This is not within the scope of our support.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: