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

Add diagnostic_msgs as ROS2 dependency in CMakeLists.txt files #3

Merged
merged 1 commit into from
Jan 4, 2021

Conversation

paulerikf
Copy link
Contributor

Had some trouble building v1.0.2 w/ ROS2 (foxy).

Build fails with:

In file included from 
</path/to/ws/src>/plotjuggler_ros/plugins/ros2_parsers/ros2_parser.cpp:7:0:
</path/to/ws/src>/plotjuggler_ros/plugins/ros2_parsers/diagnostic_msg.h:3:10: fatal error: diagnostic_msgs/msg/diagnostic_array.hpp: No such file or directory
 #include <diagnostic_msgs/msg/diagnostic_array.hpp>

Adding diagnostic_msgs to the ROS2 sections of the CMakeLists.txt files did the trick.

@facontidavide facontidavide merged commit d200a0c into PlotJuggler:development Jan 4, 2021
@facontidavide
Copy link
Contributor

Thanks

@isakhammer
Copy link

Great stuff

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

Successfully merging this pull request may close these issues.

3 participants