Compile Error - Sierra Chart | futures io social day trading
futures io futures trading


Compile Error
Updated: Views / Replies:598 / 6
Created: by nodoji Attachments:0

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

Compile Error

  #1 (permalink)
Elite Member
New York
 
Futures Experience: Advanced
Platform: SC, TN
Favorite Futures: ES
 
Posts: 83 since Sep 2014
Thanks: 10 given, 9 received

Compile Error

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
 
  #2 (permalink)
Elite Member
Netherlands
 
Futures Experience: Advanced
Platform: Ensign, Multicharts
Favorite Futures: SP500
 
Posts: 95 since Nov 2009
Thanks: 66 given, 56 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
 
  #3 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received


You need to rename

UseRelativeValue -> UseRelativeVerticalValues

and

DeleteLineOrText -> DeleteACSChartDrawing

Reply With Quote
The following user says Thank You to aslan for this post:
 
  #4 (permalink)
Elite Member
New York
 
Futures Experience: Advanced
Platform: SC, TN
Favorite Futures: ES
 
Posts: 83 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
 
  #5 (permalink)
Elite Member
Alesia E.U.
 
Futures Experience: Intermediate
Platform: Sierra chart
Favorite Futures: Futures
 
Posts: 166 since Feb 2011
Thanks: 139 given, 109 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:
 
  #6 (permalink)
Elite Member
New York
 
Futures Experience: Advanced
Platform: SC, TN
Favorite Futures: ES
 
Posts: 83 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


Last edited by nodoji; July 5th, 2015 at 03:52 PM.
Reply With Quote
 
  #7 (permalink)
Elite Member
New York
 
Futures Experience: Advanced
Platform: SC, TN
Favorite Futures: ES
 
Posts: 83 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

Reply



futures io > > > > Compile Error

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with compile error when importing indicator from NT6.5 to NT7 bergvall63 NinjaTrader 13 September 5th, 2014 10:22 PM
joeHAOindicator fails to compile with error code cs0542 joemiller NinjaTrader Programming 2 May 27th, 2013 04:21 PM
How do you clear a NT script error from bad indi, cannot compile until addressed. dreambig The Elite Circle 6 July 6th, 2010 09:59 AM
@ADL.CS Compile Error Alan NinjaTrader Programming 5 February 17th, 2010 05:30 AM
Error on Compile Maletor NinjaTrader Programming 2 June 13th, 2009 04:30 PM


All times are GMT -4. The time now is 04:54 PM.

Copyright © 2017 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
Page generated 2017-12-11 in 0.13 seconds with 19 queries on phoenix via your IP 54.226.132.197