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

export pthread dependency #24

Merged
merged 1 commit into from
Apr 6, 2016
Merged

export pthread dependency #24

merged 1 commit into from
Apr 6, 2016

Conversation

dirk-thomas
Copy link
Member

With only FastRTPS several examples fail to link since it seems to use pthread but doesn't export it (at least on Xenial, maybe also with other RMW impl. but currently I only have FastRTPS).

@dirk-thomas dirk-thomas self-assigned this Apr 5, 2016
@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Apr 5, 2016
@wjwwood
Copy link
Member

wjwwood commented Apr 5, 2016

I doubt this will work on Windows and maybe not even on OS X or Linux with clang.

@wjwwood
Copy link
Member

wjwwood commented Apr 5, 2016

Maybe CMake or our code (ignore if missing) is filtering it out? I don't think pthread is a valid library target on Windows.

@dirk-thomas
Copy link
Member Author

@wjwwood
Copy link
Member

wjwwood commented Apr 5, 2016

Sounds good to me +1

@jacquelinekay
Copy link
Contributor

interesting, I wonder what happens with a Windows FastRTPS-only build.

@jacquelinekay
Copy link
Contributor

I confirmed on a Xenial VM that pthread linkage is an issue and that this fixes the build (for rmw_fastrtps_cpp yet, the rest of the workspace is building now). +1

@dirk-thomas dirk-thomas merged commit 4ce437a into master Apr 6, 2016
@dirk-thomas dirk-thomas deleted the export_pthread branch April 6, 2016 22:36
mauropasse pushed a commit to mauropasse/rmw_fastrtps that referenced this pull request May 25, 2021
…ecutor

Mauro/rebase add events executor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in review Waiting for review (Kanban column)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants