Support Board
Date/Time: Sat, 10 May 2025 21:48:09 +0000
Post From: ACSIL Compile error
[2015-07-05 20:12:25] |
User15952 - Posts: 132 |
I have a dll that was compiled a while back is currently working no problem. I would like to make a small change. Without even making changes when I try and compile the working version I am getting error messages. It seems there has been structure changes to ACSIL. below is the compile error, help would be appreciated. Thanks -- Starting build of Custom Studies Source files: pvr.cpp. -- 16:11:35 "C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\pvr.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 -o "C:\SierraChart\Data\pvr.dll" C:\SierraChart\ACS_Source\pvr.cpp: In function 'void scsf_BarNumbering(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:172:8: error: 'class s_UseTool' has no member named 'UseRelativeValue' Tool.UseRelativeValue= true; ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void scsf_GetExcelData(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:310:6: error: 'struct s_sc' has no member named 'DeleteLineOrText' sc.DeleteLineOrText(sc.ChartNumber, TOOL_DELETE_CHARTDRAWING, j); ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void ReloadRaysFromFile(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:1562:11: error: 'struct s_sc' has no member named 'GetChartDrawing' if(sc.GetChartDrawing(0, DRAWING_LINE, Tool, i)) ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void SaveRaysInFile(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:1794:9: error: 'struct s_sc' has no member named 'GetChartDrawing' if(sc.GetChartDrawing(0, DRAWING_LINE, Tool, i)) ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void RunEveryBarDeGup(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:2149:5: error: 'struct s_sc' has no member named 'DeleteLineOrText' sg.DeleteLineOrText(sg.ChartNumber, TOOL_DELETE_ALL, 0); ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void RunEveryDayDeGup(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:2356:7: error: 'struct s_sc' has no member named 'DeleteLineOrText' sg.DeleteLineOrText(sg.ChartNumber, TOOL_DELETE_CHARTDRAWING, j); ^ C:\SierraChart\ACS_Source\pvr.cpp:2398:5: error: 'struct s_sc' has no member named 'DeleteLineOrText' sg.DeleteLineOrText(sg.ChartNumber, TOOL_DELETE_ALL, 0); ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void UpdateBarsDataInRealTime(SCStudyInterfaceRef, int)': C:\SierraChart\ACS_Source\pvr.cpp:2568:6: error: 'struct s_sc' has no member named 'DeleteLineOrText' sg.DeleteLineOrText(sg.ChartNumber,TOOL_DELETE_CHARTDRAWING, 4000001); ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void scsf_ShiftedVolume(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:3210:5: error: 'struct s_sc' has no member named 'DeleteLineOrText' sg.DeleteLineOrText(sg.ChartNumber,TOOL_DELETE_CHARTDRAWING, 5000001); ^ C:\SierraChart\ACS_Source\pvr.cpp:3211:5: error: 'struct s_sc' has no member named 'DeleteLineOrText' sg.DeleteLineOrText(sg.ChartNumber,TOOL_DELETE_CHARTDRAWING, 5000002); ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void DrawFormationRT(SCStudyInterfaceRef, bool)': C:\SierraChart\ACS_Source\pvr.cpp:3709:5: error: 'struct s_sc' has no member named 'DeleteLineOrText' sg.DeleteLineOrText(sg.ChartNumber,TOOL_DELETE_CHARTDRAWING, 4000000); ^ C:\SierraChart\ACS_Source\pvr.cpp: In function 'void scsf_CountDownRisk(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\pvr.cpp:3910:9: error: 'class s_UseTool' has no member named 'UseRelativeValue' Tool.UseRelativeValue = false; ^ C:\SierraChart\ACS_Source\pvr.cpp:3915:9: error: 'class s_UseTool' has no member named 'UseRelativeValue' Tool.UseRelativeValue = true; ^ -- End of Build -- 16:11:37 Date Time Of Last Edit: 2015-07-05 20:13:25
|