Support Board
Date/Time: Fri, 13 Mar 2026 09:39:07 +0000
[Programming Help] - Remote Build Failure: "Member not declared" and Enum conversion errors (Version 2867)
View Count: 203
| [2026-01-26 19:41:51] |
| User637582 - Posts: 2 |
|
Hi Support, I am experiencing persistent build failures using the Remote Build server (build2). My local environment is Version 2867, and my sierrachart.h in /ACS_Source is dated Jan 22, 2026. Even with a very basic script, the compiler fails to recognize standard constants and members. For example: ADDMETHOD_REPLACE is reported as "not declared in this scope". sc.ColorBar is reported as "has no member named...". When trying to hardcode values (e.g., Rectangle.DrawingType = 11), I get: error: invalid conversion from 'int' to 'DrawingTypeEnum' [-fpermissive]. It seems like the compiler is not correctly linking the latest sierrachart.h or is using an outdated header version on the build server. SC Version: 2867 (Jan 20 2026) OS: Windows File Location: /SierraChart/ACS_Source/ Any help on why these standard ACSIL members are suddenly "unknown" to the compiler would be appreciated. |
| [2026-01-26 20:21:31] |
| User431178 - Posts: 852 |
|
Or is it GPT generated code with imaginary parameters... Just saying.
|
| [2026-01-26 21:30:58] |
| John - SC Support - Posts: 45081 |
|
Those 2 items you specifically mention (ADDMETHOD_REPLACE and sc.ColorBar) do not exist within ACSIL. So that is why you are getting those errors. This is not an issue with Sierra Chart, but with your code.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2026-01-27 01:32:46] |
| User637582 - Posts: 2 |
|
I have now solved my problem. Reducing the subgraphs results in an unusable study. "The study fails to display 'Settings and Inputs' and Subgraphs when the DLL structure is simplified (e.g., reducing Subgraph count from 7 to 1), even after a clean reinstall and deleting .stdy files. It seems the Chartbook maintains a stale reference to the previous Subgraph array size, causing a linkage failure (Error 127 or empty menus) unless the exact original Subgraph count is maintained in the new C++ code." |
| [2026-01-27 01:44:13] |
| User719512 - Posts: 422 |
|
Try the "Reset Defaults" button in study settings and remove and re-add it when you are making "breaking" changes to your study.
|
| [2026-02-03 15:46:07] |
| Sierra_Chart Engineering - Posts: 23201 |
|
No this is definitely not true at all: It seems the Chartbook maintains a stale reference to the previous Subgraph array size, causing a linkage failure (Error 127 or empty menus) unless the exact original Subgraph count is maintained in the new C++ code."
No such reference exists. And also if you are having issues with elements of a dialog window not displaying, then refer to:High CPU Usage | Inactive User Interface | Poor Performance | Long Time to Load Chart Data | Charts Reloading Often: 30.40 - Dialog Windows Do Not Display This is nothing more than a bunch of demonic Microsoft garbage. Garbage to the maximum . This is why we are getting rid of that dialog garbage. 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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2026-02-03 15:47:25
|
To post a message in this thread, you need to log in with your Sierra Chart account:
