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 1,549 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

Compile Error

  #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?
Futures True Range Report
The Elite Circle
Are there any eval firms that allow you to sink to your …
Traders Hideout
Deepmoney LLM
Elite Quantitative GenAI/LLM
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Build trailing stop for micro index(s)
Psychology and Money Management
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
GFIs1 1 DAX trade per day journal
22 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
The Program
19 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: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127


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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts