-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Missing linked library? #185
Comments
Thanks for the bug report. Could you please post the full output of CMake run on a clean repository and output of |
CMake
make VERBOSE=1
|
Thanks for the build logs. Looks like CMake cannot find pthreads:
Do you have pthreads installed? |
I think so: if I compile a .cpp file with By the way, why does CMake generate a Makefile if some requirements are missing? Since CMake didn't fail, I thought that that was an optional requirement. |
Good point. I've adjusted the CMake config so that the project compiles even if pthreads are missing: 7859f81. But it is strange that CMake cannot find |
Hence, is |
However, now CMake finds the header, but not a required function:
|
|
Now the build works and the tests are successful. Thanks for your assistance. |
Cool, thanks for the update. |
I cannot build CppFormat with Clang on GNU/Linux. Maybe the build file is missing a link to
libpthread
? I don't know CMake, otherwise I would have given a look on my own. Below is the log. Thank you for your attention.The text was updated successfully, but these errors were encountered: