Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 00:28:29 +0000



Post From: Error wth remote build

[2019-07-29 21:46:59]
User148625 - Posts: 2
Hi I am a new trail user and I am trying to customize and existing study. "scsf_HighLowForTimePeriodExtendedLines(SCStudyInterfaceRef sc)"


I have all the relevant code and I belive the appropriate header(s). When attempting to build without any of my code I get this:



In file included from sierrachart.h:15:0,
from Test2.cpp:3:
Test2.cpp: In function 'void scsf_OR(SCStudyInterfaceRef)':
scstructures.h:121:28: error: expected unqualified-id before string constant
#define SCDLLEXPORT extern "C" __declspec(dllexport)

^
scstructures.h:124:20: note: in expansion of macro 'SCDLLEXPORT'
#define SCSFExport SCDLLEXPORT void SCDLLCALL // Use SCSFExport when defining a study function

^
Test2.cpp:82:3: note: in expansion of macro 'SCSFExport'
SCSFExport scsf_HighLowForTimePeriodExtendedLines(SCStudyInterfaceRef sc)


Thanks for your help