Support Board
Date/Time: Sun, 24 Nov 2024 22:56:42 +0000
Error Adding Custom Study on Win 11 ARM
View Count: 348
[2024-03-18 16:40:59] |
cc_lightning - Posts: 3 |
Hi, I encounter and error when I tried to add test custom study that I recently created. Here's the steps that I took. 1) Using Notepad++ Copied the Simple Moving Average function from Studies.cpp 2) Modify function name so it's unique (scsf_SimpMovAvgTest) 3) Set sc.GraphName = "Simple Moving Average TEST" 4) Save 5) In SierraChart Analysis->Build Custom Studies DLL 6) Selected TestStudies.cpp 7) Remote Build (Return Success) 8) Analysis->Studies 9) Select Add Custom Studies button 10) Error Message with the following (this also includes the errors for the sample studies also 2024-03-18 16:25:53.210 | Found DLL: Studies_ARM64.dll
2024-03-18 16:25:53.210 | Found DLL: TestStudies_ARM64.dll 2024-03-18 16:25:53.210 | Found DLL: UserContributedStudies_64.dll 2024-03-18 16:25:53.212 | Studies_ARM64.dll loading error. Windows error code 193: %1 is not a valid Win32 application. 2024-03-18 16:25:53.212 | InternalVersionNumberToFileNameMap is empty for Studies 2024-03-18 16:25:53.212 | Closest match search for: C:\SierraChart\Data\Studies.dll returned empty result. * 2024-03-18 16:25:53.213 | TestStudies_ARM64.dll loading error. Windows error code 193: %1 is not a valid Win32 application. 2024-03-18 16:25:53.213 | InternalVersionNumberToFileNameMap is empty for TestStudies 2024-03-18 16:25:53.213 | Closest match search for: C:\SierraChart\Data\TestStudies.dll returned empty result. * 2024-03-18 16:25:53.215 | UserContributedStudies_64.dll loading error. Windows error code 193: %1 is not a valid Win32 application. 2024-03-18 16:25:53.215 | InternalVersionNumberToFileNameMap is empty for UserContributedStudies 2024-03-18 16:25:53.215 | Closest match search for: C:\SierraChart\Data\UserContributedStudies.dll returned empty result. * Thanks |
[2024-03-18 17:11:56] |
John - SC Support - Posts: 36238 |
Are you running the ARM version of Sierra Chart or the non-ARM version? Also, where did the "Studies_ARM64.dll" come from? This is not something we supply. And note that the Remote Build does not build ARM studies, so if you need an ARM study, you need to build it locally. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-03-18 17:38:57] |
cc_lightning - Posts: 3 |
Thank you for the quick response. I am running the ARM version of Sierra Chart, which is why it's building with ARM64 in the name. As for Studies_ARM64.dll, I reinstalled and it seems that I may have created it when first testing. Another related question, when I tried to use the link to install C++ complier, it's links to VS 2019 which doesn't natively support ARM. I am downloading VS 2022. I am able to build using the build with Visual C++ option. However, it only works when I run the x64 bit version. It does not work with the ARM version? Is there a setting that I need to get it to compile and load in the ARM version? Thanks. Date Time Of Last Edit: 2024-03-18 18:23:45
|
[2024-03-18 22:52:58] |
Sierra_Chart Engineering - Posts: 17162 |
There is no support within Sierra Chart to build custom study DLLs for ARM. Whether remotely or locally. You have to do this completely separately using Microsoft Visual C++. 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 Date Time Of Last Edit: 2024-03-19 03:35:25
|
[2024-04-23 17:03:55] |
gtaranti - Posts: 67 |
I'm hijicking the thread to ask for an updated SierraChart_ARM64.exe binary. The one inlcuded in the latest 2629 release is left behind. (its 2624). I'm building the custom study with VS2022 for x64 and ARM64, because I'm using Windows AND Windows ARM in Parallels for mac. So for some reason, when I try to load my custom ARM64 study in the SierraChart_ARM64.exe application there is the message : "The custom study xxxxxx.dll requires version 2628 or higher...." Can you please update SierraChart_ARM64.exe version in the next release. p.s. my custom study when built for x64 architewcture is working OK with the normal x64 SierraChart.exe |
[2024-04-23 17:24:23] |
gtaranti - Posts: 67 |
As a workaround, I downgraded SC to version 2624 and the custom ARM64 study is working OK also with the SierraChart_ARM64.exe BUT, this is only a workaround. I'd like to have the latest ARM64 SC binary when any release is out, especially if it's a release that adds or changes significant functions. Thanks.. |
To post a message in this thread, you need to log in with your Sierra Chart account: