Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 04:45:56 +0000



SCDLLNAME compile issue in SierraCharts

View Count: 1230

[2016-10-19 16:41:41]
doubletop11 - Posts: 5
I'm building 2 indicators into one file in SierraCharts. The programmer said that it was possible so I've gone through the process on the http://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php.
Everything seems to check out. But the error is the follow:

More than one of the selected source files contains the SCDLLName line at the top of the file. Only one file can contain SCDLLName.
-- End of Build --

All together there are 5 .cpp files that are being built out.

I've tried to just build individual files as well as just a few of the 5 but nothing seems to work.

There is only one .h(library) file that refers to the #include "sierrachart.h" and SCDLLName("Custom Study DLL") but there are 2 or more files that refer to this .h file.
I know the programmer used VS to compile the code but he won't / can't continue to compile the source for the latest build of Sierra.
Thoughts????
[2016-10-19 16:44:22]
Sierra Chart Engineering - Posts: 104368
The problem is just what is explained here:

More than one of the selected source files contains the SCDLLName line at the top of the file. Only one file can contain SCDLLName.

It is as simple as that. Also SCDLLName("Custom Study DLL") must not be in a header file and it sounds like it is.
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-19 20:10:25]
doubletop11 - Posts: 5
Thanks for the information.

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

Login

Login Page - Create Account