Login Page - Create Account

Support Board


Date/Time: Sat, 11 May 2024 03:33:36 +0000



Getting compile error on v1806.

View Count: 586

[2018-09-17 08:55:18]
bjohnson777 (Brett Johnson) - Posts: 284
I tried recompiling my Standard Tool Kit for the newly released 1806, but I'm getting the error below. Can y'all translate this? Thanks.


-- Starting remote build of Custom Studies Source files: BrettJohnsonsStandardToolKit.cpp. 64-bit -- 03:30:44
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

In file included from scstructures.h:84:0,
from sierrachart.h:15,
from BrettJohnsonsStandardToolKit.cpp:2:
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 BrettJohnsonsStandardToolKit.cpp:2:
/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)
^

-- End of Build -- 03:30:49


Date Time Of Last Edit: 2018-09-17 08:56:23
[2018-09-17 08:58:21]
Sierra Chart Engineering - Posts: 104368
Okay we will check on this but it won't be until later on in the day.
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
[2018-09-17 09:02:28]
bjohnson777 (Brett Johnson) - Posts: 284
Quick response, thanks. This kinda looks like a library error.

My source code for the error is in post 1:
Offering To The Community: Brett Johnson's Standard Tool Kit
[2018-09-17 18:50:32]
Jeffrey - Posts: 2100
The next release will include a patch that should fix this compiler error.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account