8/23/2021

Vcvarsall Bat Download

19
  1. Python Vcvarsall
  2. Where Is Vcvarsall
  • Support Board
  • Search Board
  • Control Panel
  • View My Posts / Threads

Date/Time: Fri, 22 Jan 2021 05:12:37 +0000

If you don’t find any, then you should install the SDK. I managed to do a work around by hardcoding the path to vcvars32.bat or vcvarsall.bat in the findvcvarsall function of C: Python34 Lib distutils msvc9compiler.py, but there is a missing library (ISL – Integer Set Library). I think it’s because I am using VC11. Cd debug64 ' Program Files (x86) Microsoft Visual Studio 14.0 VC vcvarsall.bat' amd64 When building for 32-bit, use x86 instead of amd64. Morgan makes a differencealamo world geography. Depending on the Visual Studio version and where it was installed to, the path to vcvarsall.bat may vary. From the Visual Studio Command Prompt, you can change the targeted CPU architecture, build type, and target OS by using the vcvarsall.bat command, e.g., vcvarsall.bat x64 10.0.10240.0 to target Windows 10 with a 64-bit release build. See -help for the other options of vcvarsall.bat.

[Programming Help] - VisualCCompile.Bat calls vcvarsall.bat not installed

[2019-12-26 16:30:31]
HinckleyBob - Posts: 45 Ending Date: 2020-07-17 [Expired]
Using the detailed instructions provided, the Visual C Compiler was installed. Attempting to run the script called by the Build Menu Item '..Build with Debug', the following output was presented in the Build Output:
-- Starting build of Custom Studies Source files: SetupHVAs(v2).cpp. -- 10:50:46
The Visual C++ compiler is not installed. Select 'Build >> Install Visual C++ Compiler' to download and install the compiler.
C:WINDOWSsystem32cmd.exe /C 'C:SierraChartSierraChartInstance_2ACS_SourceVisualCCompile.Bat'
C:SierraChartSierraChartInstance_2ACS_Source>call 'C:Program FilesMicrosoft Visual Studio 14.0VCvcvarsall.bat' amd64
The system cannot find the path specified.
------- snip snip -----------
The vcvarsall.bat is not on the C: drive in any directory.
But the Windows install log says MS VC++ Build Tools was installed running the file downloaded by your page http://go.microsoft.com/fwlink/?LinkId=691126, visualcppbuildtools_full.exe on 12/23/19.
How can the appropriate version of the compiler be installed, or how can the installation be used to debug?
Thank you, and Happy New Year.
Bob
[2019-12-26 17:16:54]
Sierra Chart Engineering - Posts: 93079 Ending Date: 2021-04-05
If you do not have this file :
'vcvarsall.bat'
anywhere on your drive where Visual C++ was installed we do not know how to help because Visual C++ is not a program we can support.
Sierra Chart Support - Engineering Level
Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation
If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Vcvarsall.bat
[2019-12-27 03:48:09]
bradh - Posts: 471 Ending Date: 2021-02-09
The installation sequence is important, and it may not be clear in the documentation.
If you installed Visual Studio before doing Analysis>>Build>>Install Visual C++ Compiler then it will not work. You have to install Visual Studio second. If this happened to you, then uninstall Visual Studio. Run the Install Visual C++ Compiler command from the Analysis Menu, then reinstall Visual Studio.
If on the other hand you have not installed Visual Studio, but you installed the compiler, then go to visualstudio.microsoft.com and install the free Community Edition.
[2019-12-29 07:46:04]
User701453 - Posts: 171 Ending Date: 2018-02-13 [Expired]
If you do not have this file :
'vcvarsall.bat'
anywhere on your drive where Visual C++ was installed we do not know how to help because Visual C++ is not a program we can support.
Yet we have to use Visual Studio C++ for professional development/debugging because SC after all these years have not been able to develop their own development/debugging environment.
Even IDE optimizations of input variables is still impossible.
HinckleyBob - Posts: 45 Ending Date: 2020-07-17 [Expired]
The learning curve is substantial for an amateur programmer, despite familiarity with C. But in my, possibly naive view, there is little value in attempting to provide a different IDE. It is well supported, very popular, and an excellent tool.
Bob
Bat
bradh - Posts: 471 Ending Date: 2021-02-09
because SC after all these years have not been able to develop their own development/debugging environment.

Really? Why would Sierra spend time doing that when they can be improving their product? The Visual Studio IDE can be overwhelming at first, but it does the job quite well, and it is free.
Vcvarsall.bat file download
User701453 - Posts: 171 Ending Date: 2018-02-13 [Expired]
Really? Why would Sierra spend time doing that when they can be improving their product? The Visual Studio IDE can be overwhelming at first, but it does the job quite well, and it is free.
Perhaps to step up to the level of Tradestation, Multicharts, NinjaTrader even Metatrader5.
Its not about Visual Studio IDE be overwhelming(I guess you assuming I have never used visual studio before), or because its free.
But I guess you prefer not to be able to have a complete self contained package that don't depend on a third party hand off that you cant get any support for.
Ability to optimize your source code for fastest speed.
Ability to optimize input variables.
Ability to back test and optimize input variables against several symbols in a single pass.
Ability to easily code windows/forms to control SC strategies and indicators.
So in your mind, none of these things are important or having all this available in one solid platform is an improvement on 'their' product.
Just because the coding products you have developed and sold(spreadsheets,S3) may not need any of the aforementioned abilities.
Having these abilities would improve 'their' product and gain more customers who want and need the mention abilities to try and develop more advanced trading capabilities.
User701453 - Posts: 171 Ending Date: 2018-02-13 [Expired]
The learning curve is substantial for an amateur programmer, despite familiarity with C. But in my, possibly naive view,
Bob
HinckleyBob,Did you get visual studio to work for your debugging requirements?
I have a dll project that I coded completely in ACSIL.
Trying to debug or compile that dll project in VS17 and there is a ton of errors relating to scconstants.h,scstructures.h and sierrachart.h (which SC will provide no support for since its visual studio)
However the same .cpp compiles successfully with no errors using SC Remote Build.
It is well supported, very popular, and an excellent tool.
Visual Studio is not an SC product and as stated by SC, it is not supported by SC.
In fact Visual Studio for debugging is so unreliable that SC even took down the webpage they had to configure VS to work with SC.
there is little value in attempting to provide a different IDE.
Tradestation, Multicharts, NinjaTrader along with Metatrader5 don't have that naive view.
Date Time Of Last Edit: 2019-12-29 18:04:13
HinckleyBob - Posts: 45 Ending Date: 2020-07-17 [Expired]
User701453 & bradh, thank you for the discussion:
Please enlighten me on alternatives I could use to compile, make, load, and debug ASCIL.
I spend more time fussing with the compiler and reading the scattered, albeit through documentation, than trying to finish my first project. All I want to do is change the start and end dates on several Volume at price charts - I have to do it daily manually, and I would like to spend the time adding my drawings to start the trading day, rather than using dialog boxes!
I had not noticed they took down the debugging page. I am able to access https://www.sierrachart.com/index.php?page=doc/StepByStepACSILDebugging.php, but maybe it is a cached copy, not sure. Better make a local copy of all the bookmarked pages I have. And I have not encountered the errors you mention, probably because I am too naive to know they are errors - ignorance is bliss :-).
Happy new year you guys,
Bob
bradh - Posts: 471 Ending Date: 2021-02-09
@User70145:
Perhaps to step up to the level of Tradestation, Multicharts, NinjaTrader even Metatrader5.

It sounds like you have more experience with other platforms and their capabilities, and I respect that.
But I guess you prefer not to be able to have a complete self contained package that don't depend on a third party hand off that you cant get any support for.
Ability to optimize your source code for fastest speed.
Ability to optimize input variables.
Ability to back test and optimize input variables against several symbols in a single pass.
Ability to easily code windows/forms to control SC strategies and indicators.

All those things sound great. Perhaps Sierra will decide to move in those directions, but I don't see it happening soon. My guess is we may see incremental changes that move towards better developer features, like some of the backtesting functions that were recently added. The limited resources at Sierra appear to be focused on other aspects of the application that benefit a larger user base. Yes, it is DIY as far as support for Visual Studio goes, and for me, it was overwhelming at first. My learning ACSIL was a step up from spreadsheets, and learning how to debug with VS was a step up from writing debug text to the messages log.
Trying to debug or compile that dll project in VS17 and there is a ton of errors relating to scconstants.h,scstructures.h and sierrachart.h (which SC will provide no support for since its visual studio)
I haven't seen errors with those files, just warnings, which I suppress with /W0 as a command-line parameter.
@HinckleyBob: The step-by-step debugging page at https://www.sierrachart.com/index.php?page=doc/StepByStepACSILDebugging.php replaces the old debug page(s). It simplifies the process so you can debug just the cpp files, instead of projects/solutions. I don't know of alternatives, let alone better ones. If you find them I would be interested to hear what you think.
Python vcvarsall
HinckleyBob - Posts: 45 Ending Date: 2020-07-17 [Expired]
I used to code for fun, but my focus now is on trading.
I learned and even taught C to those in a trade school for several years. But I am so stale C++ is challenging to spend the time to learn what I need, since I don't want to spend the time to do a class (yet).
I used tradestation for options and thought it was pretty good. But support for Volume at Profile was too expensive what there were other alternatives available. I love Sierra Charts.
I have not found an alternative to MSVC++, so I hold my nose and use what everyone seems to think is the best IDE.
Bob
User701453 - Posts: 171 Ending Date: 2018-02-13 [Expired]
@HinckleyBob: The step-by-step debugging page at https://www.sierrachart.com/index.php?page=doc/StepByStepACSILDebugging.php replaces the old debug page(s).
Following SC instructions from that page 'Build with Visual C++ -Debug' returns a crap ton of errors. Yet that same cpp file compiles clean with no errors on the 'Remote Build'.
C:SierraChartSierraChartTransActMAACS_Source>call 'C:Program Files (x86)Microsoft Visual Studio 14.0VCvcvarsall.bat'
cl : Command line warning D9002 : ignoring unknown option '/JMC'
cl : Command line warning D9002 : ignoring unknown option '/std:c++17'
cl : Command line warning D9002 : ignoring unknown option '/diagnostics:classic'
Compiler_Tester.cpp
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(109): error C2065: 'HWND': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(109): error C2146: syntax error: missing ')' before identifier 'WindowHandle'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(118): error C3646: 'DateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(154): error C3861: 'memset': identifier not found
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(267): error C3646: 'GetDateTimeOfLastTradeRecord': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(267): error C2059: syntax error: '('
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(268): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(174): error C2065: 'NULL': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(190): error C2065: 'NULL': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(202): error C2065: 'NULL': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(227): error C2065: 'NULL': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(264): error C2065: 'SC_TS_ASK': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(264): error C2065: 'SC_TS_BID': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(316): error C3646: 'Color': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(316): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(322): error C2065: 'ACSIL_DRAWING_MAX_LEVELS': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(323): error C3646: 'BeginDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(323): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(324): error C3646: 'EndDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(324): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(325): error C3646: 'Text': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(325): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(327): error C3646: 'DrawingType': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(327): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(339): error C3646: 'FontFace': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(339): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(345): error C3646: 'SecondaryColor': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(345): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(350): error C3646: 'ThirdDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(350): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(357): error C3646: 'LevelColor': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(357): error C2143: syntax error: missing ',' before '['
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(357): error C2143: syntax error: missing ')' before ';'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(357): error C2238: unexpected token(s) preceding ';'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(358): error C2065: 'ACSIL_DRAWING_MAX_LEVELS': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(359): error C2065: 'ACSIL_DRAWING_MAX_LEVELS': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(422): error C3646: 'TextColor': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(422): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(449): error C2065: 'Text': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(449): error C2228: left of '.Initialize' must have class/struct/union
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(449): note: type is 'unknown-type'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(454): error C2065: 'TOOL_UNDEFINED': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(455): error C2065: 'UTAM_ADD_OR_ADJUST': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(456): error C2065: 'FLT_MIN': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(457): error C2065: 'FLT_MIN': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(458): error C2065: 'FLT_MIN': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(468): error C2065: 'Color': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(472): error C2065: 'FontFace': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(472): error C2228: left of '.Initialize' must have class/struct/union
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(472): note: type is 'unknown-type'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(477): error C2065: 'SecondaryColor': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(478): error C2065: 'TextColor': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(483): error C2065: 'ACSIL_DRAWING_MAX_LEVELS': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(485): error C2065: 'FLT_MAX': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(486): error C2065: 'LevelColor': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(523): error C2065: 'FLT_MAX': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(553): error C2065: 'NULL': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(556): error C2065: 'BeginDateTime': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(556): error C2228: left of '.Clear' must have class/struct/union
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(556): note: type is 'unknown-type'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(557): error C2065: 'EndDateTime': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(557): error C2228: left of '.Clear' must have class/struct/union
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(557): note: type is 'unknown-type'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(559): error C2065: 'DrawingType': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(559): error C2065: 'DRAWING_UNKNOWN': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(563): error C2065: 'ThirdDateTime': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(563): error C2228: left of '.Clear' must have class/struct/union
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(563): note: type is 'unknown-type'
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(643): error C3646: 'LastFillDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(643): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(644): error C3646: 'LastEntryDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(644): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(645): error C3646: 'LastExitDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(645): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(586): error C3861: 'fabs': identifier not found
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(618): error C3861: 'fabs': identifier not found
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(623): error C3861: 'fabs': identifier not found
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(654): error C3861: 'memset': identifier not found
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(664): error C3646: 'OpenDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(664): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(665): error C3646: 'CloseDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(665): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(687): error C2065: 'OpenDateTime': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(688): error C2065: 'CloseDateTime': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(710): error C3646: 'Symbol': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(710): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(711): error C3646: 'TradeAccount': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(711): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(713): error C3646: 'FillDateTime': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(713): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(714): error C3646: 'BuySell': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(714): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(719): error C3646: 'FillExecutionServiceID': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(719): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(732): error C2065: 'Symbol': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(733): error C2065: 'TradeAccount': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(735): error C2065: 'FillDateTime': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(736): error C2065: 'BuySell': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(736): error C2065: 'BSE_UNDEFINED': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(739): error C2065: 'FillExecutionServiceID': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(759): error C3646: 'TextTag': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(759): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(760): error C3646: 'TimeInForce': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(760): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(882): error C3646: 'Symbol': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(882): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(883): error C3646: 'TradeAccount': unknown override specifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(883): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(890): error C2065: 'SCT_ORDERTYPE_MARKET': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(892): error C2065: 'DBL_MAX': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(893): error C2065: 'DBL_MAX': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(897): error C2065: 'SCT_TIF_DAY': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(945): error C2065: 'SCT_ORDERTYPE_LIMIT': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(946): error C2065: 'SCT_ORDERTYPE_LIMIT': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(947): error C2065: 'SCT_ORDERTYPE_LIMIT': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(948): error C2065: 'SCT_ORDERTYPE_LIMIT': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(949): error C2065: 'SCT_ORDERTYPE_LIMIT': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(951): error C2065: 'SCT_ORDERTYPE_STOP': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(952): error C2065: 'SCT_ORDERTYPE_STOP': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(953): error C2065: 'SCT_ORDERTYPE_STOP': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(954): error C2065: 'SCT_ORDERTYPE_STOP': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(955): error C2065: 'SCT_ORDERTYPE_STOP': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(956): error C2065: 'SCT_ORDERTYPE_STOP': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(963): error C2065: 'DBL_MAX': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(1008): error C2065: 'DBL_MAX': undeclared identifier
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(1009): error C2614: 's_SCNewOrder': illegal member initialization: 'TextTag' is not a base or member
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(1009): error C2614: 's_SCNewOrder': illegal member initialization: 'TimeInForce' is not a base or member
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(1009): error C2614: 's_SCNewOrder': illegal member initialization: 'Symbol' is not a base or member
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(1009): error C2614: 's_SCNewOrder': illegal member initialization: 'TradeAccount' is not a base or member
C:Program Files (x86)Windows Kits10include10.0.17763.0sharedwinapifamily.h(1009): fatal error C1003: error count exceeds 100; stopping compilation
-- End of Build -- 18:42:54

Trying to debug that same cpp file with VS17 following the SC instructions results in breakpoints that dont work as VS returns errors that 'The BreakPoint will currently not be hit.No symbols have been loaded for this document.'
Which of course SC customers can expect no help from SC as ' Visual C++ is not a program we can support.'
HinckleyBob - Posts: 45 Ending Date: 2020-07-17 [Expired]
User701453, your experience aroused my curiosity. So I copied the same study from Studies2.cpp, and added
#include 'SCStudyFunctions.h'
SCDLLName('DoubleStochastic')
under the #include 'sierrachart.h.'
Then I added the SC Data directory to the Symbol file (.pdb) location in the IDE Debug>Options>Debugging>Symbols dialog, and loaded the symbols.
I then compiled using the SC Analysis>build>Build with C++ Debug, attached the process in the IDE, and set a breakpoint at the return in set defaults code block. Then added the study to the chart (which required continuing the debug 2x).
There is more going on here that I don't begin to understand, but at least it did seem to compile and run with the debugger as described in the SC instructions. At least I was able to set a watch on the SmoothingLength object.
That is as far as I went but seems to work as I expected. A couple of screenshots are attached.
This is a learning experience for me after reinstalling the compiler. But I hope my experience can help figure out why all those errors are happening. Thank you again for the discussion.
Bob
Debug Options Dialog.pdf - Attached On 2019-12-30 04:48:22 UTC - Size: 90.39 KB - 79 views
IDE.pdf - Attached On 2019-12-30 04:48:33 UTC - Size: 333.81 KB - 95 views
User701453 - Posts: 171 Ending Date: 2018-02-13 [Expired]
I`m glad its working for you Bob.
It does not work for my custom .cpp file.
Which once again goes to why a dedicated development IDE, created and supported by SC should be provided to its customers.
Not handed off to a third party tool which you wont get any support from by SC.
Have you tried compiling using the SC Analysis>build>Build with C++ -Debug on a custom developed .cpp file?
Not a cpp file created by SC.
Date Time Of Last Edit: 2019-12-30 10:07:41
HinckleyBob - Posts: 45 Ending Date: 2020-07-17 [Expired]
Have you tried compiling using the SC Analysis>build>Build with C++ -Debug on a custom developed .cpp file?
Not a cpp file created by SC.

Too soon to tell. The project I am working on to change settings on the Volume at Price with ACSIL. But now that the IDE appears to be working, work can resume.
Happy New Year.
Bob
User907968 - Posts: 407 Ending Date: 2021-07-01
@User701453
In relation to this -
Trying to debug that same cpp file with VS17 following the SC instructions results in breakpoints that dont work as VS returns errors that 'The BreakPoint will currently not be hit.No symbols have been loaded for this document.'

Sorry if I state the obvious, but you can't expect to be able to debug in VS if the debug build of your code failed (as indicated by the statement below) -
fatal error C1003: error count exceeds 100; stopping compilation

If your custom developed code will compile using the 'Remote Build' function, but not locally using the 'Build with C++ -Debug' function, then maybe there is a problem with one or more of the header files in the sierrachartASCSource folder. Did you already try downloading a clean version of sierrachart to check for this?
User701453 - Posts: 171 Ending Date: 2018-02-13 [Expired]
Sorry if I state the obvious, but you can't expect to be able to debug in VS if the debug build of your code failed (as indicated by the statement below) -
Yes, I accept your apology for stating the obvious , which we already know.
If your custom developed code will compile using the 'Remote Build' function, but not locally using the 'Build with C++ -Debug' function, then maybe there is a problem with one or more of the header files in the sierrachartASCSource folder. Did you already try downloading a clean version of sierrachart to check for this?

Yes,that crossed my mind, which I then copied up my complete Sierra folder to my back up server and then upgraded to build 2028. Still the same result.
Vcvarsall Bat Download

Python Vcvarsall

User907968 - Posts: 407 Ending Date: 2021-07-01
Yes, I accept your apology for stating the obvious , which we already know.
Fair enough, but if it is already so obvious to you, why make the statement below implying that you expected VS debug to somehow work if you followed the SC instructions, even though the debug build had failed.
Trying to debug that same cpp file with VS17 following the SC instructions results in breakpoints that dont work as VS returns errors that 'The BreakPoint will currently not be hit.No symbols have been loaded for this document.'

Yes,that crossed my mind, which I then copied up my complete Sierra folder to my back up server and then upgraded to build 2028. Still the same result.
Simply upgrading to a newer version is not necessarily helpful, as unless the header files have been revised since the earlier version they may not be re-downloaded.
Did you actually try a clean install i.e. a new complete download to a new location?

Where Is Vcvarsall

User701453 - Posts: 171 Ending Date: 2018-02-13 [Expired]
Fair enough, but if it is already so obvious to you, why make the statement below implying that you expected VS debug to somehow work if you followed the SC instructions, even though the debug build had failed.
Perhaps you shouldn't offer an apology, then get upset when it is accepted.
Sounds like SJW types of apologies.
Also, I know the cpp file is not going to debug if the'Build with Visual C++ -Debug' doesn't complete correctly.
I'm also trying to debug using the same cpp file within the VS Solution that it was developed in.
This isn't just a simple dll indicator, its an complex autotrading strategy.
I need either of the debugging methods to work correctly, prefer both of them to work correctly
Simply upgrading to a newer version is not necessarily helpful, as unless the header files have been revised since the earlier version they may not be re-downloaded.
Did you actually try a clean install i.e. a new complete download to a new location?
So in other words SC customers have to go back and fix half ass upgrades.
After following the upgrade procedure documentation.
Since I use broker provided AT trading platform and SC is installed in the required brokers folder.
The last thing I need to do is screw up being able to place trades and use my other working dlls, charts and work spaces.
Date Time Of Last Edit: 2020-01-02 04:21:45
User907968 - Posts: 407 Ending Date: 2021-07-01
I'm also trying to debug using the same cpp file within the VS Solution that it was developed in.
So you got your code to compile ok in VS then?
bradh - Posts: 471 Ending Date: 2021-02-09
VS returns errors that 'The BreakPoint will currently not be hit.No symbols have been loaded for this document.'

In my experience, this means the DLL that is attached to the study is not the same as the one being debugged in VS. You may need to remove the study and add it back to avoid getting that error. Also remember to do a recalc, as well as stopping and backtest/replay and then Play.

To post a message in this thread, you need to login with your Sierra Chart account: