Support Board
Date/Time: Mon, 23 Dec 2024 23:39:58 +0000
Post From: Win 10 Build Custom Studies DLL issue, I think
[2015-10-12 23:26:19] |
jsob - Posts: 39 |
Followed your suggestion twice with same result: -- Starting build of Custom Studies Source files: RSD_19_June_2014.cpp. -- 19:22:35 "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 -- 19:22:35 =============================================================== Following is the script produced by the compilation process: Date Time Of Last Edit: 2015-10-13 17:01:24
|