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

Deprecated header cv_bridge.h #113

Closed
ijnek opened this issue Nov 9, 2022 · 0 comments
Closed

Deprecated header cv_bridge.h #113

ijnek opened this issue Nov 9, 2022 · 0 comments

Comments

@ijnek
Copy link
Member

ijnek commented Nov 9, 2022

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]
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

1 participant