Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 12:50:35 +0000



Compilation/linking error "cannot find -lpthread"

View Count: 1410

[2016-08-31 15:30:14]
User74271 - Posts: 3
Hi,

I am just starting to explore ACSIL by following your "Step-By-Step Instructions to Create an Advanced Custom Study Function" on
Advanced Custom Study Interface and Language (ACSIL): Step-By-Step Instructions to Create an Advanced Custom Study Function

When trying to build a new study (any, including the SC example ones), I always get the following:

-- Starting build of Custom Studies Source files: A_trial.cpp. -- 17:21:09

"C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\A_trial.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 -o "C:\SierraChart\Data\A_trial.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 -- 17:21:11

Just reinstalled SC latest version as well as the compiler. Have no idea, how to fix...

Could you provide ahint, please?

Thanks
F.
imagelpthread_error.png / V - Attached On 2016-08-31 15:29:52 UTC - Size: 35.13 KB - 262 views
[2016-08-31 18:22:12]
Sierra Chart Engineering - Posts: 104368
We are looking into this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2016-08-31 22:47:58]
Sierra Chart Engineering - Posts: 104368
We are going to use a new compiler and abandon this existing one. We will use the Microsoft Visual C++ compiler. Just give us a couple of days to get this set up.

Install it using this link:
http://go.microsoft.com/fwlink/?LinkId=691126

Use the default installation.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2016-09-03 00:46:28]
Sierra Chart Engineering - Posts: 104368
For the solution to this problem, refer to this post here:
NOTICE: New Custom Studies DLL Compiler/Solution to Compile Error Issue
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2016-09-04 14:40:02]
ganz - Posts: 1048
User74271

fyi: How to build ACSIL study on Ubuntu/Linux | Post: 82852

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account