Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 19:07:41 +0000



Compile error in latest SC version

View Count: 2345

[2018-05-18 21:40:56]
ertrader - Posts: 645
Hi SC.. .I'm getting a compile error during remote build that has worked in prior versions. Can you please take a look?

-- Starting remote build of Custom Studies Source files: AutoGrid1.cpp. -- 17:34:48
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

In file included from sierrachart.h:15:0,
from AutoGrid1.cpp:1:
scstructures.h:80:26: fatal error: scsymboldata.h: No such file or directory
#include "scsymboldata.h"
^
compilation terminated.

-- End of Build -- 17:34:50
[2018-05-18 21:41:30]
ertrader - Posts: 645
Updated file below
Date Time Of Last Edit: 2018-05-19 14:20:54
[2018-05-18 23:19:22]
Sierra Chart Engineering - Posts: 104368
We apologize for this. This is now resolved. Try again.
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-05-19 10:21:53]
Sierra Chart Engineering - Posts: 104368
We realize that we may not have solved this problem for the current version 1746. It is now solved.
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
Date Time Of Last Edit: 2018-05-19 10:22:09
[2018-05-19 13:37:10]
ertrader - Posts: 645
What would cause identical code for 64bit version to display the table differently than the 32 bit version? They were both remotely compiled minutes apart with the same code.

64 bit:
http://www.sierrachart.com/image.php?Image=1526736692301.png


32 bit
http://www.sierrachart.com/image.php?Image=1526736918235.png
Date Time Of Last Edit: 2018-05-19 14:20:14
attachmentAutoGrid.cpp - Attached On 2018-05-19 14:20:05 UTC - Size: 4.3 KB - 365 views
[2018-05-21 14:21:26]
ertrader - Posts: 645
I was able to compile after the update but still seeing the differences between 32 and 64 bit with identical code
[2018-05-21 14:22:50]
ertrader - Posts: 645
It appears to be differences in background coloring support for the two remote compilers
Date Time Of Last Edit: 2018-05-21 14:25:57
[2018-05-22 03:34:49]
Sierra Chart Engineering - Posts: 104368
We need to do some testing and get back to you on this.
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-05-24 21:42:23]
ertrader - Posts: 645
Just and FYI and I know you are busy..... I am still seeing this same issue in V1750
[2018-05-25 04:09:09]
Sierra Chart Engineering - Posts: 104368
We are looking this over, and we see a significant inefficiency in your study. The following code must be outside of the for loop:



      sc.GetStudyArrayUsingID(Study.GetStudyID(), Graph1.GetInt(), Line1ref);
      sc.GetStudyArrayUsingID(Study.GetStudyID(), Graph2.GetInt(), Line2ref);
      sc.GetStudyArrayUsingID(Study.GetStudyID(), Graph3.GetInt(), Line3ref);

This is terribly inefficient to keep it within the for loop.
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-05-25 04:24:59]
ertrader - Posts: 645
Thanks for letting me know and I just updated and recompiled! The foreground and background coloring differences between 32 and 64 bit compiles still persist. Attached is an updated version.
Date Time Of Last Edit: 2018-05-25 04:28:12
attachmentAutoGrid.cpp - Attached On 2018-05-25 04:24:48 UTC - Size: 5.07 KB - 394 views
[2018-05-25 04:35:10]
ertrader - Posts: 645
64 bit
http://www.sierrachart.com/image.php?Image=1527222826646.png


32 bit
http://www.sierrachart.com/image.php?Image=1527222896339.png
[2018-05-25 05:45:12]
Sierra Chart Engineering - Posts: 104368
We could not reproduce this, but we are going to put out a new release, and we want you to recompile the study on the corresponding version of Sierra Chart (32/64).

We would not expect a further issue after rebuilding because we cannot reproduce it.
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-05-25 10:23:51]
ertrader - Posts: 645
Thank you, I will test. Just a few notes:

1) Attached is a version that is right from studies8.cpp with an added SMA slope to also demonstrate. This example version does not need to reference another study like my prior example.
2) Note the background issue on lines for close and SMA Slope in the 64 bit version. 32 bit looks good.
3) I have tested this issue on Windows 10 and under Mint Linux Wine. It is identical across OSs and on completely different computers.
4) This has been consistent across all 64 bit versions since you began offering a 64 bit version earlier this year. I just did not have time to follow up till now.

32 bit
http://www.sierrachart.com/image.php?Image=1527243624632.png

64 bit
http://www.sierrachart.com/image.php?Image=1527243747622.png
Date Time Of Last Edit: 2018-05-25 10:33:04
attachmentGrid.cpp - Attached On 2018-05-25 10:23:47 UTC - Size: 4.04 KB - 346 views
[2018-05-27 16:10:32]
ertrader - Posts: 645
Hi Support.. I recompiled in 1752 and it still shows the same issue. Also, this particular display function issue will also very likely prevent the M2M trading forum from updating to 64 bit. The grid is central to their methodology and they have not yet moved to 64 bit.
[2018-05-29 03:16:24]
Sierra Chart Engineering - Posts: 104368
We still do not see any obvious problem. This is what we see from your custom study on the 64-bit build:
http://www.sierrachart.com/image.php?Image=1527563764525.png

It looks the same as compared to the 32 bit build.
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
Date Time Of Last Edit: 2018-05-29 03:17:12
[2018-05-29 04:38:04]
ertrader - Posts: 645
Thank you and appreciate you looking into this. A few additional pieces of information that may help:

1) I've compiled on 3 computers. All with the same result on 64 bit
2) 1 Windows 10 new Lenovo 920 with Intel 620 graphics, 1 Asus Older laptop with Nvidia, 1 Mint Linux 18.3 with AMD graphics and Wine 3.01 (also occurred with 3.0)
3) All three computers are clean installs of SC, NO local compiler had ever been installed
4) All are using remote rebuild
5) Another user has the same background issue
Numeric Information Graph Draw Type 32 vs 64
Date Time Of Last Edit: 2018-05-29 04:47:44
[2018-05-29 04:44:06]
ertrader - Posts: 645
64 bit remote compiled in V1753...here is a picture, grid.cpp and grid_64.dll in case this helps.
http://www.sierrachart.com/image.php?Image=1527568953428.png
Date Time Of Last Edit: 2018-05-29 04:46:53
attachmentGrid.cpp - Attached On 2018-05-29 04:43:14 UTC - Size: 4.04 KB - 364 views
Private File
[2018-05-29 04:46:29]
ertrader - Posts: 645
32 bit remote compile in V1753
http://www.sierrachart.com/image.php?Image=1527569141327.png
Private File
[2018-05-29 19:38:42]
Sierra Chart Engineering - Posts: 104368
What we observe is that we do not see this under debugging but we see it on the release build. It would seem to be related to optimizations.
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-05-31 10:19:06]
ertrader - Posts: 645
V 1754 still has the same issue
[2018-05-31 10:23:50]
Sierra Chart Engineering - Posts: 104368
We have not done any further work on this. Wait before posting again. Allow at least another two weeks.
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
Date Time Of Last Edit: 2018-05-31 10:24:11
[2018-06-06 17:58:56]
ertrader - Posts: 645
Possibly this is not working because the sc.CombinedForegroundBackgroundColorRef() function combines foreground and background color values into a single 32-bit value.

And this is a 64 bit issue. Just a thought.

sc.CombinedForegroundBackgroundColorRef()
[2018-06-18 13:01:10]
@sstfrederik - Posts: 403
Hi SC,

I also have a difference using sc.CombinedForegroundBackgroundColorRef. The background color is not set in the 64 bit version. Any news on this?

Thanks.
[2018-06-22 19:25:43]
ertrader - Posts: 645
This appears to be resolved for me in v1767. I've recompiled and appears correct now.

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

Login

Login Page - Create Account