Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 17:22:04 +0000



Post From: Linux

[2023-07-16 11:29:18]
User921987 - Posts: 236
I am using custom studies which I have compiled by the following script:


!/bin/bash
name=ms
dll=${name}_64.dll
old_dll="headers/../Data/${dll}"

x86_64-w64-mingw32-c++ -D _WINDOWS -D _USRDLL -D _WINDLL -w -m64 -march=native -std=c++17 -static -shared -I ./headers "${name}.cpp" -o "${dll}"

if [[ ! -z $1 ]]; then
./setdll "${old_dll}" 0
sleep 2.0
cp "${dll}" "${old_dll}"
./setdll "${old_dll}" 1
fi

The generated DLL code works fine, except for some reason the two functions scsf_Mid() and scsf_VWC() are not found (see https://imgur.com/nRLaKB2.png).

I purposely didn't publish the code because I think the problem is in the compilation script. The code works fine if I compile it by SierraChart's Remote Compile function OR in native Windows 10.

Any idea what's wrong with my script or should I use another compiler ?
Date Time Of Last Edit: 2023-07-16 13:41:33