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

cmake hits undefined reference to `pthread_create' #219

Open
ag88 opened this issue Jun 5, 2019 · 4 comments
Open

cmake hits undefined reference to `pthread_create' #219

ag88 opened this issue Jun 5, 2019 · 4 comments

Comments

@ag88
Copy link

ag88 commented Jun 5, 2019

it seemed there are 3 instances of the same / similar problem

@ag88
Copy link
Author

ag88 commented Jun 5, 2019

i tried going into build and run
cmake ../subdirectory
apparently lcviewernoqt, lcUILua did not produce the pthread error
for the other subdirectories, the error is produced but surprisingly a makefile is generated,

but if
cmake ..
is run, it would end with
Configuring incomplete, errors occurred! See also "/home/user/src/LibreCAD_3/build/CMakeFiles/CMakeOutput.log". See also "/home/user/src/LibreCAD_3/build/CMakeFiles/CMakeError.log".

@ag88
Copy link
Author

ag88 commented Jun 5, 2019

i think this is a bug in cmake FindThreads module but so far have not found a fix for it

@lordofbikes
Copy link
Member

@ag88
Copy link
Author

ag88 commented Jun 6, 2019

i logged the issue with cmake - kitware - the company itself
https://gitlab.kitware.com/cmake/cmake/issues/19344

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

No branches or pull requests

3 participants