Support Board
Date/Time: Fri, 29 Nov 2024 04:53:54 +0000
Post From: Remote build error
[2023-03-10 03:28:16] |
Tony - Posts: 525 |
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 |