ros-drivers/usb_cam

installation problem ros2 rolling on Ubuntu 22.04.3 LTS

antbono opened this issue · 1 comments

Hi everyone!

I'm trying to install the package on ros2 rolling via the binary file but I get this error

ros2 run usb_cam usb_cam_node_exe 
/opt/ros/rolling/lib/usb_cam/usb_cam_node_exe: symbol lookup error: /opt/ros/rolling/lib/libusb_cam_node.so: undefined symbol: _ZN15image_transport23create_camera_publisherEPN6rclcpp4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE17rmw_qos_profile_sNS0_29PublisherOptionsWithAllocatorISaIvEEE
[ros2run]: Process exited with failure 127

Then I tried to compile it but rosdep fails with this message

nao@Nao:~/rolling_ws$ rosdep install --from-paths src --ignore-src -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
usb_cam: Cannot locate rosdep definition for [roscpp]

I checked and I am on the ros2 branch when execute rosdep.

It is very strange because in another pc it works just fine. What should I check on my machine?
Thank you for your attention!
:D

check broken package with fix-missin update