Skip to content
New issue

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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant