Support Board
Date/Time: Fri, 29 Nov 2024 02:33:35 +0000
Remote build error
View Count: 831
[2023-03-08 15:52:39] |
dnrich - Posts: 18 |
Hi, I created an acsil study file that works well (test.cpp). Since today when I compile this file (Remote build) I have no error message, the DLL file is well created in the Data directory of sierrachart as usual. But this DLL file is not recognized by sierrachart as a valid file. Here are the messages resulting from the compilation. HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (3) | Creating socket. Using TLS 1.2. | 2023-03-08 16:44:39.596 HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (3) | New receive buffer size: 32768 | 2023-03-08 16:44:39.597 HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (3) | Connecting to IP: 162.251.232.242. | 2023-03-08 16:44:39.597 Setting study DLL module function objects to indicate DLL is not loaded: C:\SierraChart\Data\test.dll | 2023-03-08 16:46:39.614 test_64.dll loading error. Windows error code 193: %1 n’est pas une application Win32 valide. | 2023-03-08 16:46:39.872 VersionNumber is 0 for test_64.dll | 2023-03-08 16:46:39.872 InternalVersionNumberToFileNameMap is empty for test | 2023-03-08 16:46:39.872 * Error loading: C:\SierraChart\Data\test.dll. File not found or may be missing SCDLLName line. | 2023-03-08 16:46:39.872 Thank you for your help. |
[2023-03-08 19:48:11] |
ondafringe - Posts: 286 |
As a first step, did you check the top of your study to see if the SCDLLName is there and is syntactically correct, as this error suggests? Error loading: C:\SierraChart\Data\test.dll. File not found or may be missing SCDLLName line. | 2023-03-08 16:46:39.872 Date Time Of Last Edit: 2023-03-09 01:45:18
|
[2023-03-09 09:58:12] |
Sierra_Chart Engineering - Posts: 17218 |
Provide us the source code you are building.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-03-10 00:13:05] |
SavantTrader - Posts: 110 |
Some of us are getting a remote build failure, with no error code or reason given. The source compiled fine just days ago. -- Starting remote build of Custom Studies Source files: SavantTradingFlowStudies.cpp. 64-bit -- 19:08:11 Allow time for the server to compile the files and build the DLL. The remote build did not succeed. Result: No result text was given. -- End of Build -- 19:08:12 |
[2023-03-10 00:24:26] |
User275839 - Posts: 61 |
Same for me too. Build was working fine earlier today. Maybe the build machine is offline? Message log sez: HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (2) | Creating socket. Using TLS 1.2. | 2023-03-09 16:21:46.974 HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (2) | New receive buffer size: 32768 | 2023-03-09 16:21:46.974 HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (2) | Connecting to IP: 162.251.232.242. | 2023-03-09 16:21:46.974 HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (2) | CloseSocket call. | 2023-03-09 16:21:47.607 HTTPS connection ID:1 to build.sierrachart.com:443 for request ID:1 (2) | Shutdown started. Waiting for graceful close. | 2023-03-09 16:21:47.607 Build window sez: -- Starting remote build of Custom Studies Source files: [REDACTED].cpp. 64-bit -- 16:21:46 Allow time for the server to compile the files and build the DLL. The remote build did not succeed. Result: No result text was given. -- End of Build -- 16:21:47 Date Time Of Last Edit: 2023-03-10 00:25:51
|
[2023-03-10 03:20:50] |
jomo88 - Posts: 47 |
Same here. I have source files that built fine yesterday not working now. The remote build did not succeed. Result: No result text was given. -- End of Build -- 03:17:12 I tried doing a system restart etc no luck |
[2023-03-10 03:28:16] |
Tony - Posts: 522 |
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 |
[2023-03-10 03:53:37] |
jomo88 - Posts: 47 |
Thanks, building locally worked for me.
|
[2023-03-10 03:56:10] |
Sierra Chart - Max - Posts: 5733 |
An update caused an issue with remote building. This has been resolved. Please try again.
Sierra Chart Support |
To post a message in this thread, you need to log in with your Sierra Chart account: