Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 01:16:06 +0000



Post From: Win 10 Build Custom Studies DLL issue, I think

[2015-10-12 15:21:14]
jsob - Posts: 39
I have been successfully developing/building a custom study in Win 7 for quite some time. I installed Win 10 yesterday and today I cannot recompile my study. I get the same result whether I use version 1307 or the pre-release 1308. I do not know how to interpret this. The report:

-- Starting build of Custom Studies Source files: RSD_19_June_2014.cpp. -- 11:08:50

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

In file included from C:\SierraChart\ACS_Source\sierrachart.h:15:0,
from C:\SierraChart\ACS_Source\RSD_19_June_2014.cpp:1:
C:\SierraChart\ACS_Source\RSD_19_June_2014.cpp: In function 'void scsf_LSMA_WTMA_Lines(SCStudyInterfaceRef)':
C:\SierraChart\ACS_Source\scstructures.h:48:28: error: expected unqualified-id before string constant
#define SCDLLEXPORT extern "C" __declspec(dllexport)
^
C:\SierraChart\ACS_Source\scstructures.h:51:20: note: in expansion of macro 'SCDLLEXPORT'
#define SCSFExport SCDLLEXPORT void SCDLLCALL // Use SCSFExport when defining a study function
^
C:\SierraChart\ACS_Source\RSD_19_June_2014.cpp:3145:1: note: in expansion of macro 'SCSFExport'
SCSFExport scsf_15_LSMA_plot(SCStudyInterfaceRef sc)
^
C:\SierraChart\ACS_Source\RSD_19_June_2014.cpp:3983:1: error: expected '}' at end of input
}
^
-- End of Build -- 11:08:50