Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 11:59:13 +0000



fatal error c1083

View Count: 1180

[2018-10-25 17:17:50]
Glenn Infinity - Posts: 103
on "building studies" in sierra what is "fatal error c1083" cannot open source file during compiling files means? this was in SIM live mode TransAct version trying to compile CPP file
[2018-10-25 19:50:24]
Sierra Chart Engineering - Posts: 104368
We are working on and something related to this which is going to make resolving this problem easy. Allow us another week.

For now, refer to:
Advanced Custom Study Interface and Language (ACSIL): Modifying Advanced Custom Study Code
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-10-25 19:51:29
[2020-01-21 00:12:03]
User701453 - Posts: 176
We are working on and something related to this which is going to make resolving this problem easy. Allow us another week.

Have a valid solution been produced for solving this error yet?
As it is still occurring on version 2028
[2020-01-21 06:55:40]
Sierra Chart Engineering - Posts: 104368
Yes. This was quite some time ago. Provide the exact error message you are currently encountering.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-01-21 10:48:33]
User701453 - Posts: 176
Exact Error below.
The ATRStopAndColorBackground.cpp file does exist and compiles with no issues if remote build is used.
The same error occurs with other .cpp files.

The files are not set for "Read Only" , I am an administrator on the pc and SierraChart.exe in the C:\SierraChart\SierraChartTransActMA directory is set to run as administrator.


-- Starting build of Custom Studies Source files: ATRStopAndColorBackground.cpp. -- 05:39:17

C:\Windows\system32\cmd.exe /C "C:\SierraChart\SierraChartTransActMA\ACS_Source\VisualCCompile.Bat"


C:\SierraChart\SierraChartTransActMA\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.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'
ATRStopAndColorBackground.cpp
c1xx: fatal error C1083: Cannot open source file: 'C:\SierraChart\SierraChartTransActMA\ACS_Source\ATRStopAndColorBackground.cpp': No such file or directory
-- End of Build -- 05:39:24

[2020-01-21 15:33:32]
Sierra Chart Engineering - Posts: 104368
Does this file actually exist in that folder ?:

C:\SierraChart\SierraChartTransActMA\ACS_Source\ATRStopAndColorBackground.cpp
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-01-21 15:33:40
[2020-01-22 01:35:40]
User701453 - Posts: 176
Yes the file does exist in the folder.
Attached screen shot of directory path.
imageFile exist.png / V - Attached On 2020-01-22 01:34:21 UTC - Size: 9 KB - 207 views
[2020-01-23 03:49:33]
User701453 - Posts: 176
Hello SC, can I get a valid working solution to this issue occurring in your platform.
I need to have this debugging feature in the platform working, so I can add new code to the indicator and be able to debug it.
Date Time Of Last Edit: 2020-01-23 03:51:56
[2020-01-23 22:14:50]
Sierra_Chart Engineering - Posts: 13625
The issue is not occurring within Sierra Chart. The issue is with Visual C++ compiler. So it is a Microsoft bug. Please do not blame this on us. We recommend using the Remote Build option instead but we know that does not support debugging.
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: 2020-01-23 22:15:37
[2020-01-24 02:46:31]
User701453 - Posts: 176
Humm, so you build into your platform a dependence on a third party component for debugging.
Then when users of your platform can't debug, its the third party fault.
So how are the users of your platform supposed to debug?

SC should contact the third party and come up with a working debugging solution for their users.
Not just say its the third party fault and walking away.
Leaving users of their platform stuck with no working debugging capabilities.
[2020-01-24 10:45:28]
Sierra Chart Engineering - Posts: 104368
We think the first thing to try is to install another copy of Sierra Chart in your system and log into it with your own direct Sierra Chart account, not one from Transact, and then try the build process again.

You do not have to pay for this account. The problem could have something to do with the multilayer process creation.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-02-29 07:38:18]
User701453 - Posts: 176
Update on trying to get SC to "Build with visual c++ debug".
Never could get it to work with the 32bit version of SC.

However when I decided to test with the 64 bit of SC, "Build with visual c++ debug" ran and completed with no errors.

I made no changes to the cpp file and switched back to 32 bit and "Build with visual c++ debug" failed the same old error.
Issue is with 32bit of SC.

Now that I can finally debug the .cpp file with VS after "Build with visual c++ debug" is done.
This method is still crappy and sucks as VS "Edit and Continue" does not work.

Any changes made to the .cpp file while debugging requires having to detach from the process and "Build with visual c++ debug" all over again.
Restart the strategy,losing all data stored in variables and arrays.

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

Login

Login Page - Create Account