jsk-ros-pkg / jsk_visualization

jsk visualization ros packages
https://github.com/jsk-ros-pkg/jsk_visualization
324 stars 173 forks source link

Fix QPainterPath path has incomplete type and cannot be defined #869

Closed ozzdemir closed 1 year ago

ozzdemir commented 1 year ago

While building the jsk_rviz_plugins from source on a ubuntu 22.04 system in a catkin workspace, had the following error message. And to fix it, included the QPainterPath header.

jsk_visualization/jsk_rviz_plugins/src/overlay_diagnostic_display.cpp:388:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined 388 | QPainterPath path;

k-okada commented 1 year ago

Thank you for contribution, Does this work on old ubuntu ? like 18.04 or 20.04?

ozzdemir commented 1 year ago

I was able to test it on 18.04 also, and observed no discrepancy and was able to successfully build the packages.