Hoglet / TimeIT

The unobtrusive time tracker
GNU General Public License v3.0
19 stars 7 forks source link

doesn't build on Archlinux /usr/bin/ld: cannot find -lThreads::Threads #54

Closed bits-fritz closed 3 years ago

bits-fritz commented 3 years ago

make throws following errors: Linking CXX executable tests /usr/bin/ld: cannot find -lThreads::Threads collect2: error: ld status 1 (translated) make[2]: *** [tests/CMakeFiles/tests.dir/build.make:468: tests/tests] Fehler 1 make[1]: *** [CMakeFiles/Makefile2:366: tests/CMakeFiles/tests.dir/all] Fehler 2 make: *** [Makefile:156: all] Fehler 2

Sorry, by all means couldn't convince make to spit errors in english.

binutils 2.36.1

ready to answer more questions

Hoglet commented 3 years ago

It can be a missing requirement.

It is not finding the pthread library. Try to install libpthread-dev: https://aur.archlinux.org/packages/libpthread-stubs/