Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 16:39:25 +0000



Post From: The remote build did not succeed

[2023-03-10 01:55:36]
Tony - Posts: 458
I suggested that you guys build locally, which operating systems
are you guys using?

For Windows:

Download free "Visual Studio Community" and install, (select all C++ options in the installer window). In Sierra Chart, go to:
Analysis --> Build Custom Studies DLL and in the "Build Advanced Custom Studies" window: SC will automatically recognize "Visual C++ Path:"

and then go to: Build --> Release All DLLs and Deny Load

then go to: Build --> Build with C++ - Release

That's it, I never had to run Visual Studio once, I don't know how to use it anyway.


For Debian/Ubuntu Linux family:

Install G++-mingw-w64-x86-64 first

And then run a script something like this in a Old Post (#7):

cp ~/.wine/drive_c/SierraChart/ACS_Source/*.h .

x86_64-w64-mingw32-g++ -D _WIN64 -march=x86-64 -mtune=x86-64 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 MyCPPFile.cpp -o MyDLLFile.dll -Wno-deprecated &>Result.txt

cp MyDLLFile.dll ~/.wine/drive_c/SierraChart/Data/

rm MyDLLFile.dll

rm *.h
Any error messages can be found in file "Result.txt"
Date Time Of Last Edit: 2023-03-10 02:27:53