This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 579
undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' #3
Comments
Hi @jasjuang, can you try replacing line 31 in https://github.com/facebook/Surround360/blob/master/surround360_render/CMakeLists.txt with SET(PLATFORM_SPECIFIC_LIBS "-lpthread") and see if that solves the problem? Thanks :) |
It doesn't. However I figured out if I edit line 21 to be
It compiles fine for me. |
ghost
pushed a commit
that referenced
this issue
Jul 27, 2016
Summary: Ref: #3 `undefined reference to symbol 'pthread_create@GLIBC_2.2.5'` when compiling rendering software. We explicitly add `pthread` to make sure it's used. clang doesn't use this argument, so we only apply it if not `APPLE` No need to use `PLATFORM_SPECIFIC_LIBS`. Differential Revision: D3625661 fbshipit-source-id: c95df0c41cfdb1482fd4ec30e0e0327158f4923a
Closed
Tanks, it is a perfect idea for my question. |
also works for me. |
Adding -pthread to C++ compiler flags worked for me |
this solved the problem!!! |
it works for me too!thank you! |
It works for me too, thank you! |
jbalberge
added a commit
to jbalberge/pairoscope
that referenced
this issue
May 26, 2021
try to debug docker install facebookarchive/Surround360#3 genome#3
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am on Ubuntu 14.04 LTS. I followed the exact same steps listed in the Readme file in surround360_render. When compiling the below error shows
This is tested in both release mode and debug mode
The text was updated successfully, but these errors were encountered: