Compile Error - futures io
futures io futures trading



Compile Error


Discussion in Sierra Chart

Updated by nodoji
      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 914 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 6 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Compile Error

(login for full post details)
  #1 (permalink)
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
 
Posts: 85 since Sep 2014
Thanks: 10 given, 9 received

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

Reply With Quote

Can you help answer these questions
from other members on futures io?
IB Bracker Order
Platforms and Indicators
Using Built In Volume Profile in the Code
NinjaTrader
TraderSync Experience?
Trading Reviews and Vendors
Metastock Xenith Adapter
NinjaTrader
Times and Sales more data to be displayed
TradeStation
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Excited and scared at the same time
13 thanks
CME to launch Nasdaq-100 Volatility Index (VolQ) futures
12 thanks
https://ivytrusts.com/ SCAM ALERT
11 thanks
financial transaction tax
9 thanks
Is Orderflow An Outdated Concept?
9 thanks
 
(login for full post details)
  #2 (permalink)
Netherlands
 
Experience: Advanced
Platform: Ensign, Multicharts
Trading: SP500
 
Posts: 92 since Nov 2009
Thanks: 66 given, 57 received

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
 
(login for full post details)
  #3 (permalink)
Madison, WI
 
Experience: Advanced
Platform: Sierra Charts, ALT
Trading: ES
 
aslan's Avatar
 
Posts: 616 since Jan 2010
Thanks: 351 given, 1,107 received


You need to rename

UseRelativeValue -> UseRelativeVerticalValues

and

DeleteLineOrText -> DeleteACSChartDrawing

Reply With Quote
The following user says Thank You to aslan for this post:
 
(login for full post details)
  #4 (permalink)
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
 
Posts: 85 since Sep 2014
Thanks: 10 given, 9 received


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

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Alesia E.U.
 
Experience: Intermediate
Platform: Sierra chart
Trading: Futures
 
Posts: 168 since Feb 2011
Thanks: 146 given, 111 received

Hi
try to change

GetChartDrawing -> sc.GetUserDrawnChartDrawing()


Using Drawing Tools from an Advanced Custom Study - Sierra Chart

Reply With Quote
The following user says Thank You to crazybears for this post:
 
(login for full post details)
  #6 (permalink)
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
 
Posts: 85 since Sep 2014
Thanks: 10 given, 9 received

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

Reply With Quote
 
(login for full post details)
  #7 (permalink)
New York
 
Experience: Advanced
Platform: SC, TN
Trading: ES
 
Posts: 85 since Sep 2014
Thanks: 10 given, 9 received

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

Thanks for all the help

Reply With Quote


futures io Trading Community Platforms and Indicators Sierra Chart > Compile Error


July 6, 2015


Upcoming Webinars and Events
 

Dealing with burnout w/Linda Bradford Raschke

Elite only
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts