zed-ros-wrapper fails after jetpack update to 5.1.2 (l4t35.4.1) on local ros noetic

I have ros noetic on local and it was building and running fine but stopped after update. Device is a TX2. The sha code for the repo is from 2024 (commit 50dda077a5ea72b7f8c00faad5746938331e46c2). Tried with latest git pull too but had same results.

testing with zed2


NODES
  /zed2/
    zed2_state_publisher (robot_state_publisher/robot_state_publisher)
    zed_node (zed_wrapper/zed_wrapper_node)

auto-starting new master
process[master]: started with pid [9165]
ROS_MASTER_URI=http://192.168.1.99:11311/

setting /run_id to 4bbe8480-a01d-11f0-a861-48b02d78f0c4
process[rosout-1]: started with pid [9235]
started core service [/rosout]
process[zed2/zed2_state_publisher-2]: started with pid [9238]
process[zed2/zed_node-3]: started with pid [9239]
[INFO] [1759470823.131216018]: Initializing nodelet with 12 worker threads.
[ERROR] [1759470825.038815761]: Failed to load nodelet [/zed2/zed_node] of type [zed_nodelets/ZEDWrapperNodelet] even after refreshing the cache: Failed to load library /home/companion/catkin_ws/devel/lib//libZEDNodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libnvbuf_utils.so.1.0.0: cannot open shared object file: No such file or directory)
[ERROR] [1759470825.038917589]: The error before refreshing the cache was: Failed to load library /home/companion/catkin_ws/devel/lib//libZEDNodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libnvbuf_utils.so.1.0.0: cannot open shared object file: No such file or directory)
^C[zed2/zed_node-3] killing on exit
[zed2/zed2_state_publisher-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Hi @adipotnis
Welcome to the Stereolabs community.

To solve the issue, you must clean the workspace and then rebuild the Wrapper.

In any case, I recommend you consider migrating to ROS 2 because we are no longer upgrading the old ROS Wrapper since ROS 1 is EOL.

Tried rebuilding from scratch but that didn’t help.
i’ll check ros2 wrapper but that is a bit difficult since we haven’t migrated so will need a ros1_bridge

NODES
  /zed2/
    zed2_state_publisher (robot_state_publisher/robot_state_publisher)
    zed_node (zed_wrapper/zed_wrapper_node)

auto-starting new master
process[master]: started with pid [149588]
ROS_MASTER_URI=http://192.168.1.99:11311/

setting /run_id to 68b9248e-a075-11f0-8f81-48b02d78f0c4
process[rosout-1]: started with pid [149610]
started core service [/rosout]
process[zed2/zed2_state_publisher-2]: started with pid [149617]
process[zed2/zed_node-3]: started with pid [149618]
[INFO] [1759508658.798916423]: Initializing nodelet with 12 worker threads.
[ERROR] [1759508658.815802181]: Failed to load nodelet [/zed2/zed_node] of type [zed_nodelets/ZEDWrapperNodelet] even after refreshing the cache: Failed to load library /home/companion/zed_ros_ws/devel/lib//libZEDNodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libnvbuf_utils.so.1.0.0: cannot open shared object file: No such file or directory)
[ERROR] [1759508658.815868070]: The error before refreshing the cache was: Failed to load library /home/companion/zed_ros_ws/devel/lib//libZEDNodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libnvbuf_utils.so.1.0.0: cannot open shared object file: No such file or directory)
^C[zed2/zed_node-3] killing on exit
[zed2/zed2_state_publisher-2] killing on exit
[rosout-1] killing on exit
^C[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
^C

A library is missing. Try to search the internet for this error message

It started working once i updated the zed sdk.

1 Like