Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 05:16:26 +0000



Compiling Error

View Count: 719

[2016-10-24 22:37:30]
User488039 - Posts: 114
Hi,

I'm trying to compile a .cpp file I obtained on the support board. I'm new at this, but I think I followed the directions properly. I hope I did.

The following is what I'm getting, and the .dll file was not created and put in C:\SierraChart\Data directory.

-- Starting build of Custom Studies Source files: ST3bars2.cpp. -- 18:31:22

None of the selected source files contains the SCDLLName line at the top of the file. Refer to ACSIL documentation.
-- End of Build -- 18:31:22
[2016-10-24 22:48:19]
Sierra Chart Engineering - Posts: 104368
Refer to:
https://www.sierrachart.com/index.php?page=doc/BuildCustomStudiesDLL.html

Make sure that file has the SCDLLName line at the top.
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: 2016-10-24 22:48:32
[2016-10-24 22:55:21]
User488039 - Posts: 114
Thanks for getting back with me. This is the top of the .cpp file, is this correct?

// The top of every source code file must include this line
#include "sierrachart.h"

// This line is required. Although use only one per DLL project.
// Change the text within the quote marks to what you want to name
// your group of custom studies.

SCDLLInit("ST3bars2")
[2016-10-24 23:04:27]
Sierra Chart Engineering - Posts: 104368
Change:
SCDLLInit("ST3bars2")

To:
SCDLLName("ST3bars2")
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
[2016-10-24 23:10:32]
User488039 - Posts: 114
Thank you very much. It compiled.
[2016-10-24 23:16:08]
Sierra Chart Engineering - Posts: 104368
You do not need to say thank you. It creates more work for us.
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