Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 05:04:43 +0000



build costum study

View Count: 507

[2020-05-25 17:24:54]
User517464 - Posts: 7
Previously, I programmed mt4 and ninjatrader indicators for my own trader purpose.
I want to program costum studios to make it easier to build my own setups.
I followed the official document:
How to Build an Advanced Custom Study from Source Code,
I got stuck at step 9.
Here is the error message:

Build output:

-- Starting build of Custom Studies Source files: ExampleCustomStudies.cpp. -- 19:20:16

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


C:\SierraChart\ACS_Source>call "D:\Programfájlok (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
A rendszer nem tal lja a megadott el‚r‚si utat.

C:\SierraChart\ACS_Source>cl /JMC /MP /analyze- /Zc:wchar_t /Z7 /Od /GS /W3 /RTC1 /Zc:inline /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Gd /Gy /GR- /GF /fp:precise /MTd /std:c++17 /LD /EHa /WX- /diagnostics:classic /nologo /D "WIN32" "C:\SierraChart\ACS_Source\ExampleCustomStudies.cpp" /link "Gdi32.lib" /DLL /DYNAMICBASE /DEBUG /INCREMENTAL:NO /OPT:REF /OUT:"C:\SierraChart\Data\ExampleCustomStudies.dll"
'cl' is not recognized as an internal or external command,
operable program or batch file.
-- End of Build -- 19:20:17



What did I do wrong?
Thanks for the help!
[2020-05-25 18:38:19]
Sierra Chart - Max - Posts: 5554
If you are building locally you need to install Visual Studio.


You can also use the Build >> Build with Visual C++ - Release command to build the DLL using Visual C++ if the compiler has already been installed with the File >> Install Visual C++ Compiler.

But you can always use the Remote Build option by selecting: Build >> Remote Build
Sierra Chart Support
[2020-05-25 18:42:48]
User517464 - Posts: 7
I realized the path in the VisualCCompile.Bat file is bad. If I fix it and get build again, the bat file will return to the wrong path again. Where does it take the wrong path and where can it be corrected to the right path to stay permanent. Or do I need to reinstall SC?
[2020-05-25 18:57:05]
User517464 - Posts: 7
You're right!
Everything works fine.
Thanks for everything!

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

Login

Login Page - Create Account