Login Page - Create Account

Support Board


Date/Time: Thu, 23 Jan 2025 09:29:17 +0000



Post From: Problem with 1837 version

[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?