Login Page - Create Account

Support Board


Date/Time: Tue, 27 Jan 2026 02:12:13 +0000



[Programming Help] - Remote Build Failure: "Member not declared" and Enum conversion errors (Version 2867)

View Count: 44

[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: 838
Or is it GPT generated code with imaginary parameters... Just saying.
[2026-01-26 21:30:58]
John - SC Support - Posts: 44226
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: 404
Try the "Reset Defaults" button in study settings and remove and re-add it when you are making "breaking" changes to your study.

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

Login

Login Page - Create Account