Login Page - Create Account

Support Board


Date/Time: Thu, 23 Jan 2025 09:35:54 +0000



Problem with 1837 version

View Count: 896

[2018-11-15 14:15:50]
User210074 - Posts: 63
Hello, i just installed the 1837 version.
I have a problem compiling a Test.cpp file


#include "sierrachart.h"
#include "scdatetime.h"
#include "scstudyfunctions.h"

SCDLLName("Test");
SCSFExport scsf_Test(SCStudyGraphRef sc) {
if(sc.SetDefaults){
   sc.GraphName="Test";
   sc.FreeDLL=1;
   sc.AutoLoop=1;
   sc.GraphRegion=0;
   sc.UpdateAlways=1;
  }
  if(sc.Index==0){sc.AddMessageToLog("Test Ok",1);}
  else{}
}

To create the dll I click on Build \ Build With Visual Studio C ++

The dll is not created because I have the error message :

F:\SierraChart\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
'cl' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
-- End of Build -- 14:43:13

The message said :

the "cl" command is not recognized as an internal or external execution command.
I uninstalled and reinstalled "visualcppbuildtools_full". It's the same, it does not work.
What does it take for the compiler to work again to create the dll?
[2018-11-15 17:20:04]
Sierra Chart Engineering - Posts: 104368
We cannot help with this. This is a Microsoft compiler issue of some kind. You need to use the Remote Build command instead.
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
[2018-11-15 19:44:28]
User210074 - Posts: 63
I have a problem when i use the Remote Build for cpp.
I have the same error message on all my cpp.

-- Starting remote build of Custom Studies Source files: Test.cpp. 64-bit -- 20:23:11
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

Test.cpp:3:30: fatal error: scstudyfunctions.h: No such file or directory
#include "scstudyfunctions.h"

^
compilation terminated.

-- End of Build -- 20:23:14

I understand there is a link problem, but I can not fix it.
In all "studies" (of ACS_Source) in it works well.
Before that the update worked well too.
Can we not use this function anymore ?
I noticed that I no longer have error handling as in the old version.
I take it that you removed it.
What needs to be done to restore this error handling.
if it 's a bug i will install the old version.
[2018-11-15 20:19:21]
Sierra Chart Engineering - Posts: 104368

Can we not use this function anymore ?
What function is that? What functions are you using from scstudyfunctions.h?
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

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

Login

Login Page - Create Account