Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 23:42:28 +0000



Post From: cannot find -lpthread collect2.exe: error: ld returned 1 exit status

[2016-08-31 15:36:51]
msmith - Posts: 2
I am new to Sierra Chart. I've installed the compiler twice, and I get this message when I try to compile:

-- Starting build of Custom Studies Source files: TEST.cpp. -- 11:28:25

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

c:/sierrachart/cppcompiler/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lpthread
collect2.exe: error: ld returned 1 exit status
-- End of Build -- 11:28:28

Any ideas?