Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 07:58:29 +0000



Post From: SCDLLNAME compile issue in SierraCharts

[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????