Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 22:16:14 +0000



using a .cpp file

View Count: 2282

[2014-06-16 12:47:14]
AKR - Posts: 523
I wanted to use a given code in a.cpp file.
I read the instructions ...
what I did:

check there is
#include "sierrachart.h"
SCDLLName("RelVolume")

on top of file and save it to sc/ACS_source

I go to analysis / build custom studd dll
I select the file from acs_source folder

(I pressed install compiler as was not installed)

I press build custom studies dll

the output sais it did it and saved to SC/data.

but I can not find any DLL file in my data folder.

any help?

[2014-06-16 18:28:41]
Sierra Chart Engineering - Posts: 104368
After building the custom studies DLL, copy the text in the Build Output section of the Build Advanced Custom Studies DLL window and paste it here.
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-06-17 06:22:40]
AKR - Posts: 523
-- Starting build of Custom Studies Source files: relVolume.cpp. -- 08:21:35

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

-- End of Build -- 08:21:35

[2014-06-17 07:08:35]
Sierra Chart Engineering - Posts: 104368
So this file is not being generated?:
"C:\SierraChart\Data\relVolume.dll"

Does that folder actually exist on your system?


Are you running any security software which could prevent the DLL from being created?
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-06-17 07:14:16]
AKR - Posts: 523
yes sure it exists. I am running avast antivirus
no, file is not there
Date Time Of Last Edit: 2014-06-17 07:14:39
[2014-06-17 07:17:23]
Sierra Chart Engineering - Posts: 104368
The basic answer at this time is we do not know what the problem is. We did not develop the compiler and it is not giving any indication of an error creating that file.
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-06-17 07:17:35
[2014-06-17 07:19:54]
AKR - Posts: 523
ok. no big deal anyway. at least at the moment.
[2014-06-24 06:09:03]
Sierra Chart Engineering - Posts: 104368
We now know why this problem is happening. Refer to:
Resolved: No DLL File Generated with Built-In Sierra Chart Compiler
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

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

Login

Login Page - Create Account