Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 10:51:39 +0000



Unresolved external symbol > example SCSFExport scsf_HurstExponent(SCStudyInterfaceRef sc)

View Count: 1507

[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 ==========
[2017-03-18 23:29:55]
Sierra Chart Engineering - Posts: 104368
Are you performing the build through Analysis >>Build Custom Studies DLL?
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
[2017-03-18 23:33:59]
b3cker - Posts: 34
I am using MS c++ studio.
[2017-03-19 09:02:28]
Sierra Chart Engineering - Posts: 104368
Refer to step 11 here:
https://www.sierrachart.com/index.php?page=doc/UsingVisualCPlusPlus.php#ConfigureProject


Make sure you use the debug version of the Runtime library.
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
[2017-03-19 15:41:56]
b3cker - Posts: 34
"Make sure you use the debug version of the Runtime library."

Please see the attached

Thank You
imagesc_error_snap.PNG / V - Attached On 2017-03-19 15:41:15 UTC - Size: 52.46 KB - 322 views
[2017-03-19 20:13:50]
Sierra Chart Engineering - Posts: 104368
That is not the setting the documentation makes reference to.

Refer to step 11 here:
https://www.sierrachart.com/index.php?page=doc/UsingVisualCPlusPlus.php#ConfigureProject
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:

Login

Login Page - Create Account