Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 04:57:38 +0000



Post From: Remote build error

[2023-03-10 03:28:16]
Tony - Posts: 459
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"