Login Page - Create Account

Support Board


Date/Time: Wed, 01 May 2024 06:34:45 +0000



Upgraded Sierra Charts, compiler doesn't work anymore

View Count: 788

[2017-02-02 16:26:43]
User661281 - Posts: 11
I recently upgraded my version of Sierra Charts, and now the compiler no longer works.

Here's what I get when I try to build locally

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"
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
Test.cpp
c1xx: fatal error C1083: Cannot open source file: 'C:\SierraChart\SierraChartTransActMA\ACS_Source\Test.cpp': No such file or directory
-- End of Build -- 11:25:14


I can click the Remote Build button and that works fine, but as the support team who uploads DLLs to the authorization server pointed out today, that generates a much large file (800+kb instead of 80kb). I did try clicking the install compiler button again, but it wants to uninstall VS2015 which seems unnecessary, and not really related to the above errors anyways. Test.cpp obviously exists at that location since remote build works, vcvarsall.bat is in that location. I've checked that the mysql server bin folder is on the path and that MySQL_Home is an environmental variable. I can open a command line and run mysql as well. So everything seems ok to me.

Suggestions?
[2017-02-02 16:39:23]
User661281 - Posts: 11
Update: Just discovered that I can run VisualCCompile.Bat straight from the command line, it'll give me the same MySQL error, but then proceed to compile the cpp file and create the DLL in the data folder. Just won't work from within SC
[2017-02-02 17:41:57]
Sierra Chart Engineering - Posts: 104368
We would not be concerned about the file size when using Remote Build.

However, we will look into that.
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
[2017-02-02 19:02:18]
User661281 - Posts: 11
What about the fact that the compiler won't work inside of SC, but I can run it from command line?
[2017-02-02 19:03:58]
Sierra Chart Engineering - Posts: 104368
We do not know why.

Most likely some sort of file permission access issue. We do not know how to solve that. It is something happening at the operating system level.

Also while some users do experience this, most do not. We do not experience it either. Might help if you run Sierra Chart with administrator level access.
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: 2017-02-02 19:04:48

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

Login

Login Page - Create Account