ros-perception / image_transport_plugins

A set of plugins for publishing and subscribing to sensor_msgs/Image topics in representations other than raw pixel data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated header cv_bridge.h

ijnek opened this issue · comments

Build failure due to deprecated header. Should change cv_bridge.h to cv_bridge.hpp.

10:27:13 --- stderr: compressed_depth_image_transport
10:27:13 In file included from /tmp/ws/src/image_transport_plugins/compressed_depth_image_transport/src/compressed_depth_publisher.cpp:36:
10:27:13 /opt/ros/rolling/include/cv_bridge/cv_bridge/cv_bridge.h:42:2: warning: #warning This header is obsolete, please include cv_bridge/cv_bridge.hpp instead [-Wcpp]
10:27:13    42 | #warning This header is obsolete, please include cv_bridge/cv_bridge.hpp instead
10:27:13       |  ^~~~~~~
10:27:13 In file included from /tmp/ws/src/image_transport_plugins/compressed_depth_image_transport/src/codec.cpp:40:
10:27:13 /opt/ros/rolling/include/cv_bridge/cv_bridge/cv_bridge.h:42:2: warning: #warning This header is obsolete, please include cv_bridge/cv_bridge.hpp instead [-Wcpp]
10:27:13    42 | #warning This header is obsolete, please include cv_bridge/cv_bridge.hpp instead
10:27:13       |  ^~~~~~~
10:27:13 ---
10:27:13 Finished <<< compressed_depth_image_transport [39.0s]