NexusFi: Find Your Edge


Home Menu

 





Compile Error


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one nodoji with 4 posts (0 thanks)
    2. looks_two ehlaban with 1 posts (0 thanks)
    3. looks_3 crazybears with 1 posts (1 thanks)
    4. looks_4 aslan with 1 posts (1 thanks)
    1. trending_up 2,564 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 nodoji 
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
Posts: 85 since Sep 2014
Thanks Given: 10
Thanks Received: 9

I have a ddl that is currently working and was compiled on a previous version of Sierra. Since then I have updated my Sierra and I would like to make a small change to the code. When I compile what was previously working without the change I am getting the error message below. I am unable to reach the person that did the original dll. Any suggestions?


-- Starting build of Custom Studies Source files: interbardegap.cpp. -- 14:35:27

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

C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void scsf_BarNumbering(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:171:8: error: 'class s_UseTool' has no member named 'UseRelativeValue'
Tool.UseRelativeValue= true;
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void scsf_GetExcelData(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:309:6: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sc.DeleteLineOrText(1, TOOL_DELETE_CHARTDRAWING, j);
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void ReloadRaysFromFile(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:1506:11: error: 'struct s_sc' has no member named 'GetChartDrawing'
if(sc.GetChartDrawing(0, DRAWING_LINE, Tool, i))
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void SaveRaysInFile(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:1654:9: error: 'struct s_sc' has no member named 'GetChartDrawing'
if(sc.GetChartDrawing(0, DRAWING_LINE, Tool, i))
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void RunEveryDayDeGup(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:2229:7: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1, TOOL_DELETE_CHARTDRAWING, j);
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void UpdateBarsDataInRealTime(SCStudyInterfaceRef, int)':
C:\SierraChart\ACS_Source\interbardegap.cpp:2432:6: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1,TOOL_DELETE_CHARTDRAWING, 4000001);
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void scsf_ShiftedVolume(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:3077:5: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1,TOOL_DELETE_CHARTDRAWING, 5000001);
^
C:\SierraChart\ACS_Source\interbardegap.cpp:3078:5: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1,TOOL_DELETE_CHARTDRAWING, 5000002);
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void DrawFormationRT(SCStudyInterfaceRef, bool)':
C:\SierraChart\ACS_Source\interbardegap.cpp:3576:5: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1,TOOL_DELETE_CHARTDRAWING, 4000002);
^
C:\SierraChart\ACS_Source\interbardegap.cpp:3577:5: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1,TOOL_DELETE_CHARTDRAWING, 4000003);
^
C:\SierraChart\ACS_Source\interbardegap.cpp:3578:5: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1, TOOL_DELETE_CHARTDRAWING, 4000004);
^
C:\SierraChart\ACS_Source\interbardegap.cpp:3579:5: error: 'struct s_sc' has no member named 'DeleteLineOrText'
sg.DeleteLineOrText(1, TOOL_DELETE_CHARTDRAWING, 4000005);
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void scsf_CountDownRisk(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:3803:9: error: 'class s_UseTool' has no member named 'UseRelativeValue'
Tool.UseRelativeValue = false;
^
C:\SierraChart\ACS_Source\interbardegap.cpp:3808:9: error: 'class s_UseTool' has no member named 'UseRelativeValue'
Tool.UseRelativeValue = true;
^
-- End of Build -- 14:35:29


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CFTC Requests Tag 50 Trader Identity Data From CME and I …
Traders Hideout
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 ehlaban 
Netherlands
 
Experience: Advanced
Platform: Ensign, Multicharts
Trading: SP500
Posts: 91 since Nov 2009
Thanks Given: 66
Thanks Received: 57

you should post this in the Sierra forum. Probably some functions have been changed recently like:

'class s_UseTool' has no member named 'UseRelativeValue'


Reply With Quote
  #3 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 624 since Jan 2010
Thanks Given: 356
Thanks Received: 1,129


You need to rename

UseRelativeValue -> UseRelativeVerticalValues

and

DeleteLineOrText -> DeleteACSChartDrawing


Reply With Quote
Thanked by:
  #4 (permalink)
 nodoji 
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
Posts: 85 since Sep 2014
Thanks Given: 10
Thanks Received: 9


aslan View Post
You need to rename

UseRelativeValue -> UseRelativeVerticalValues

and

DeleteLineOrText -> DeleteACSChartDrawing



Thanks so much for help. Below are the errors I am currently getting after the above changes


-- Starting build of Custom Studies Source files: interbardegap.cpp. -- 15:09:32

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

C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void ReloadRaysFromFile(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:1506:11: error: 'struct s_sc' has no member named 'GetChartDrawing'
if(sc.GetChartDrawing(0, DRAWING_LINE, Tool, i))
^
C:\SierraChart\ACS_Source\interbardegap.cpp: In function 'void SaveRaysInFile(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\interbardegap.cpp:1654:9: error: 'struct s_sc' has no member named 'GetChartDrawing'
if(sc.GetChartDrawing(0, DRAWING_LINE, Tool, i))
^
-- End of Build -- 15:09:35


Started this thread Reply With Quote
  #5 (permalink)
 crazybears 
Alesia E.U.
 
Experience: Intermediate
Platform: Sierra chart
Trading: Futures
Posts: 168 since Feb 2011
Thanks Given: 146
Thanks Received: 115

Hi
try to change

GetChartDrawing -> sc.GetUserDrawnChartDrawing()


Using Drawing Tools from an Advanced Custom Study - Sierra Chart


Reply With Quote
Thanked by:
  #6 (permalink)
 nodoji 
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
Posts: 85 since Sep 2014
Thanks Given: 10
Thanks Received: 9

OMG, it screwed up everything.

Thanks for trying. I am not sure what I am going to do. The worst part is I would like to make minor changes in the code. It is working currently and I am unable to compile it


Started this thread Reply With Quote
  #7 (permalink)
 nodoji 
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
Posts: 85 since Sep 2014
Thanks Given: 10
Thanks Received: 9

Sorry guys I am an idiot. I was working on the wrong file.

Thanks for all the help


Started this thread Reply With Quote




Last Updated on July 6, 2015


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts