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

colcon build 报错 error: ‘pthread_mutex_unlock’ was not declared in this scope; did you mean ‘pthread_mutex_t’? #2

Open
dawalishi122 opened this issue Nov 6, 2023 · 1 comment

Comments

@dawalishi122
Copy link

原因是因为在功能包的driver文件夹下的log_modele.h文件内没有申明pthread头文件,在前面需要加上#include <pthread.h>

@AlexanderRex
Copy link

原因是因为在功能包的driver文件夹下的log_modele.h文件内没有申明pthread头文件,在前面需要加上#include <pthread.h>

You need to add this in error file

#include <pthread.h>

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

2 participants