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

Missing CH_ROS_API for some header files #539

Open
tengfoonglam opened this issue Jan 4, 2025 · 3 comments
Open

Missing CH_ROS_API for some header files #539

tengfoonglam opened this issue Jan 4, 2025 · 3 comments

Comments

@tengfoonglam
Copy link

Hi Project Chrono,

Was trying to compile the chrono_ros module and realised that some of the header files (which is not header-only) such as ChROSBodyHandler.h is missing the CH_ROS_API, which results in linker issues and the build to fail.

Would you like me to make a PR to fix this or will you amend this on your end?

Thanks for the great work!

@DanNegrut
Copy link
Contributor

DanNegrut commented Jan 4, 2025 via email

@AaronYoung5
Copy link
Contributor

Hi! Just saw this, pushed a fix to the feature/ros branch (which I plan to merge into main shortly).

Also, are you using Chrono::ROS on Windows? We don't actually build the ROS module on our windows CI, so if you are, I can look into adding this to one of our test cases.

@tengfoonglam
Copy link
Author

@AaronYoung5 nice!

Sorry I did not have the time to make the PR myself.

Yes I observed this when building on Windows only.

I leave it up to your team to decide whether it is worth to have a CI pipeline for Windows+ROS2 build because I think it is not a very common setup.

You can close this issue after your branch is merged.

Thanks a lot for fixing!

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

3 participants