Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 06:57:54 +0000



Post From: Unresolved external symbol > example SCSFExport scsf_HurstExponent(SCStudyInterfaceRef sc)

[2017-03-18 21:00:26]
b3cker - Posts: 34
Unable to compile example SCSFExport scsf_HurstExponent(SCStudyInterfaceRef sc) from studies7.cpp What includes am I missing?

added fallowing includes from studies7.cpp to my dll and got an error --> see below
#include <iterator>
#include "sierrachart.h"
#include "scstudyfunctions.h"
#include <vector>




//error
1>wt_gann.obj : 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)
1>libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
1>C:\SierraChart\Data\wt_gann.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========