Skip to content

export pthread dependency#24

Merged
dirk-thomas merged 1 commit intomasterfrom
export_pthread
Apr 6, 2016
Merged

export pthread dependency#24
dirk-thomas merged 1 commit intomasterfrom
export_pthread

Conversation

@dirk-thomas
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Apr 5, 2016

Sounds good to me +1

@jacquelinekay
Copy link
Copy Markdown
Contributor

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

@jacquelinekay
Copy link
Copy Markdown
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