Login Page - Create Account

Support Board


Date/Time: Mon, 12 May 2025 05:17:04 +0000



Problem with remote build

View Count: 1291

[2023-04-08 13:27:32]
Flawless Cowboy - Posts: 14
I am trying to build a study using code provided on github which can be found here:
https://github.com/FrozenTundraTrader/sierrachart/blob/main/google_sheets_importer.cpp

It appears that the code works fine as many other people have been able to use it and get it to work, however when I try and remote build I keep getting the message
The remote build did not succeed. Result:

Failed to generate the build environment.

With no further explanation of what the issue is, any help on this matter would be much appreciated.
Date Time Of Last Edit: 2023-04-08 13:28:30
[2023-04-08 13:50:36]
prwhitegsf - Posts: 1
Can confirm also having this problem with builds that previously succeeded:

*************************************************************************************************
-- Starting remote build of Custom Studies Source files: trendFinder.cpp. 64-bit -- 09:48:16

Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

Failed to generate the build environment.
-- End of Build -- 09:48:17
[2023-04-08 15:20:06]
frozentundra - Posts: 95
Can also confirm, having this problem with any and all builds attempted using Remote Compiler. Appears to have started malfunctioning in the last 12 to 18 hours since this post (4/8/2023 ~11:20am ET).

-- Starting remote build of Custom Studies Source files: AnyCustomStudyFile.cpp. 64-bit -- 11:17:30

Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

Failed to generate the build environment.
-- End of Build -- 11:17:31

[2023-04-08 15:34:34]
Tony - Posts: 570
With Windows, it would be so much easier to do local build with Microsoft's free Visual Studio Community Version, once installed, you don't even need to know how to use or run Visual Studio, Sierra will automatically detect its path and process local build.
[2023-04-08 18:00:09]
MarketWrench - Posts: 20
Same remote build issue, failing to generate environment.

Thank you Tony (above), I will try this!

*UPDATE* For anyone who comes across this, who might benefit from local compiling, I managed to make visual studios compile custom studies locally.
Date Time Of Last Edit: 2023-04-08 20:48:38
[2023-04-08 18:33:09]
Sierra_Chart Engineering - Posts: 19550
We are aware of the problem and we will get this resolved as soon as possible.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-04-19 05:21:27
[2023-04-08 20:46:34]
User190501 - Posts: 98
Installed visual c++ but got the following fatal error: any idea what can be the resolution?

:\SierraChart\ACS_Source\scstructures.h(15): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
[2023-04-09 00:25:37]
Sierra_Chart Engineering - Posts: 19550
The Remote Build issue is resolved now.

Regarding post #7. This is the relevant line:
#include <windows.h> //Main Windows SDK header file

This header file should absolutely be available to the Visual C++ compiler. We would not know why there is an issue. Are you using the build commands for Visual C++ from within Sierra Chart?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-09 08:07:59]
User190501 - Posts: 98
Build from within Sierra Chart using menu option : Build with visual C++ release
C:\windows\system32\cmd.exe /C "C:\SierraChart\ACS_Source\VisualCCompile.Bat"


C:\SierraChart\ACS_Source>call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.5.3
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
dc_v15.cpp
C:\SierraChart\ACS_Source\scstructures.h(15): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
[2023-04-09 10:22:52]
Sierra_Chart Engineering - Posts: 19550
We do not know what the problem is.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-09 15:30:38]
MarketWrench - Posts: 20
I followed steps outlined on this thread: Sierra Chart doesn't find Visual C++ Compiler
[2023-04-09 21:02:49]
Sierra_Chart Engineering - Posts: 19550
Do you know what version of Visual C++ was installed?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account