Deprecated header cv_bridge.h
ijnek opened this issue · comments
Kenji Brameld commented
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]