Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 10:40:55 +0000



Compile error

View Count: 536

[2018-09-18 02:55:09]
BrMa - Posts: 77
Dear ladies and gentlemen,

when building a custom studies DLL with the <Remote Build> function, there is an error (since today), which seems to be in SCString.h:

In file included from scstructures.h:84:0,
from sierrachart.h:15,
from BrMaStudies.cpp:6:
SCString.h: In constructor 'SCString::SCString(const char*, int)':
SCString.h:201:41: error: 'min' was not declared in this scope
StringLength = min(Length, MAX_LENGTH);
^
SCString.h:201:41: note: suggested alternative:
In file included from /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/algorithm:62:0,
from scstructures.h:49,
from sierrachart.h:15,
from BrMaStudies.cpp:6:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/stl_algo.h:3451:5: note: 'std::min'
min(initializer_list<_Tp> __l, _Compare __comp)
^
Compiling the same code last sunday worked without any issues... did you change anything on your side?

Regards, Markus
[2018-09-18 03:35:43]
Sierra Chart Engineering - Posts: 104368
This is now resolved in version 1807.
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