Login Page - Create Account

Support Board


Date/Time: Sun, 29 Dec 2024 10:08:52 +0000



Post From: DRAWING_HORIZONTAL_LEVEL - error

[2016-01-18 21:53:09]
Marek F - Posts: 244
I upgraded SC to current version 1354.
I did not change anything in my cpp code file. If i compile this file, then appears these errors information:


-- Starting build of Custom Studies Source files: VSA-Studies.cpp. -- 22:36:18

"D:\SierraChart\CPPCompiler\bin\g++.exe" "D:\SierraChart\ACS_Source\VSA-Studies.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 -o "D:\SierraChart\Data\VSA-Studies.dll"

In file included from D:\SierraChart\ACS_Source\VSA-Studies.cpp:36:0:
D:\SierraChart\ACS_Source\drawing.h: In function 'void DrawHLevel_(int, COLORREF, int, int, int, float, SCString, s_UseTool&)':
D:\SierraChart\ACS_Source\drawing.h:205:21: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp: In function 'void scsf_VSAImbalanceDOM(SCStudyInterfaceRef)':
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3641:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3694:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3747:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3800:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3853:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:4003:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:4054:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:4105:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;

I noticed that in the scconstants.h file there is not the DRAWING_HORIZONTAL_LEVEL constant.