We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When compiling the profiler with LEGACY=1 flag in ubuntu 20.04 I faced above error and solved adding the following line to the CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
ERROR:
[100%] Linking CXX executable tracy-profiler /usr/bin/ld: /tmp/tracy-profiler.UvdhBJ.ltrans0.ltrans.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /usr/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/tracy-profiler.dir/build.make:1162: tracy-profiler] Error 1 make[1]: *** [CMakeFiles/Makefile2:245: CMakeFiles/tracy-profiler.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When compiling the profiler with LEGACY=1 flag in ubuntu 20.04 I faced above error and solved adding the following line to the CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
ERROR:
[100%] Linking CXX executable tracy-profiler /usr/bin/ld: /tmp/tracy-profiler.UvdhBJ.ltrans0.ltrans.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /usr/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/tracy-profiler.dir/build.make:1162: tracy-profiler] Error 1 make[1]: *** [CMakeFiles/Makefile2:245: CMakeFiles/tracy-profiler.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered: