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

Fix downstream dependencies having to include boost thread #1

Closed
wants to merge 1 commit into from
Closed

Fix downstream dependencies having to include boost thread #1

wants to merge 1 commit into from

Conversation

Rayman
Copy link

@Rayman Rayman commented Dec 4, 2020

Downstream dependencies don't know that this package depends on several
boost components. Linking to socketcan_interface without specifing these
components will result in a linking error. This package should correctly
export its linking flags.

I've followed the answer from the following post to fix this:
https://answers.ros.org/question/331089/ament_export_dependenciesboost-not-working/?answer=332460#post-id-332460

Downstream dependencies don't know that this package depends on several
boost components. Linking to socketcan_interface without specifing these
components will result in a linking error. This package should correctly
export its linking flags.

I've followed the answer from the following post to fix this:
https://answers.ros.org/question/331089/ament_export_dependenciesboost-not-working/?answer=332460#post-id-332460
@mathias-luedtke
Copy link
Member

As already explained (ros-industrial/ros_canopen#415), this repo contains an unsupported prototype.

Nevertheless, I see the need to solve this issue.
It would be great, if you could fix & test ros-industrial/ros_canopen#364.

system
thread
)
list(APPEND pluginlib_LIBRARIES ${Boost_LIBRARIES})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you append to pluginlib_LIBRARIES?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, that is left over from the code where I based this PR on. I'll clean it up

Copy link
Author

@Rayman Rayman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I missed that I was using a prototype. I'll test my hardware driver against ros-industrial/ros_canopen#364 and see how far I can come

system
thread
)
list(APPEND pluginlib_LIBRARIES ${Boost_LIBRARIES})
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, that is left over from the code where I based this PR on. I'll clean it up

@Rayman
Copy link
Author

Rayman commented Dec 11, 2020

I've retargeted the PR to mathias-luedtke/ros_canopen#4

@Rayman Rayman closed this Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants