Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 01:10:24 +0000



Post From: Error compiling Studies6.cpp

[2016-05-02 04:07:13]
rhovega - Posts: 279
Downloaded 1403 and redownloaded compiler and it works now. Yet before I had to delete scsf_SwingHighAndLow from studies6.cpp. Otherwise it fails to compile with the following error:

-- Starting build of Custom Studies Source files: Studies6.cpp. -- 00:04:04

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

C:\Windows\cclGYCRa.o:Studies6.cpp:(.text+0x9dfa): undefined reference to `IsSwingHighAllowEqual_S(s_sc&, int, int, int)'
C:\Windows\cclGYCRa.o:Studies6.cpp:(.text+0xa09a): undefined reference to `IsSwingLowAllowEqual_S(s_sc&, int, int, int)'
collect2.exe: error: ld returned 1 exit status
-- End of Build -- 00:04:08