Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

cannot find -lpthreads #23

Open
P2AK opened this issue Mar 26, 2020 · 0 comments
Open

cannot find -lpthreads #23

P2AK opened this issue Mar 26, 2020 · 0 comments

Comments

@P2AK
Copy link

P2AK commented Mar 26, 2020

Could someone lend me a hand with what I'm missing to compile this please? This is the error I get:

/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8b908.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_8b908.dir/CheckFunctionExists.c.o -o cmTC_8b908 -lpthreads
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_8b908.dir/build.make:87: cmTC_8b908] Error 1
gmake[1]: Leaving directory '/var/work/Install/Vulkan/nVidia Demos/BuildAll/gl_vk_chopper/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_8b908/fast] Error 2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant