Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:07:01 +0000



Problems Trying to Build an Advanced Custom Study from Source Code

View Count: 1258

[2014-07-08 18:23:41]
kleros - Posts: 21
I have a .cpp file that i am trying to convert into an advanced study. I am getting the following error when I try to install the Compiler. Please help.

Chris
======================

C:\SierraChart\CPPCompiler\bin>mingw-get install libz-dll
mingw-get: *** WARNING *** C:\SierraChart\CPPCompiler\var/lib/mingw-get/data/pro
file.xml: user configuration file missing
mingw-get: *** INFO *** C:\SierraChart\CPPCompiler\var/lib/mingw-get/data/defaul
ts.xml: trying system default configuration
install: libz-1.2.8-1-mingw32-dll-1.tar
mingw-get: *** ERROR *** package libz-1.2.8-1-mingw32-dll-1.tar is already insta
lled

C:\SierraChart\CPPCompiler\bin>pause
Press any key to continue . . .
[2014-07-08 21:24:55]
Sierra Chart Engineering - Posts: 104368
These errors might be OK and not cause a problem. Try building a custom studies DLL.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2014-07-09 15:06:16]
kleros - Posts: 21
I get the following error when I try t build a custome studies DLL.

-- Starting build of Custom Studies Source files: HilbertSineWaveSR.cpp. -- 08:03:30

"C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\HilbertSineWaveSR.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "C:\SierraChart\Data\HilbertSineWaveSR.dll"

C:\SierraChart\ACS_Source\HilbertSineWaveSR.cpp:43:10: error: expected constructor, destructor, or type conversion before '(' token
SCDLLInit("HilbertSineWaveSR")
^
-- End of Build -- 08:03:39

[2014-07-09 16:16:21]
Sierra Chart Engineering - Posts: 104368
Change this:

SCDLLInit("HilbertSineWaveSR")

to:

SCDLLName("HilbertSineWaveSR")
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2014-07-09 16:16:44
[2014-07-09 17:02:15]
kleros - Posts: 21
It works now. Thanks.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account