Login Page - Create Account

Support Board


Date/Time: Sun, 15 Jun 2025 16:00:35 +0000



Compiler Issue

View Count: 134

[2025-06-09 01:17:35]
User447693 - Posts: 51
I have a C++ file and tried to compile it. I get an error Incorrect path for script file: C:\SierraChart\SierraChartInstance_2\ACS_Source\vcvarsall.bat
i went to file select editor and select notepad.exe it helped the first time and tried to recompile it it gave that error. I istalled the latest visual studios, i checked the istallation by using the developer command prompt by "cl" and it gave me the following
Microsoft (R) C/C++ Optimizing Compiler Version 19.3xxxx

So why am i having an issue?
any help would be appreciated.
Thanks
[2025-06-09 16:36:54]
John - SC Support - Posts: 40422
Take a look at the contents of the file named "VisualCCompile.Bat". It sounds like this may have a reference to the vcvarsall.bat file in the wrong location. The first line should look like the following:
[/quote]
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
[/quote]

You may need to change the path for your computer depending on where you have Visual Study loaded. But it should NOT be trying to find the file in your Sierra Chart installation.
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