Zed-ros-wrapper: [Question] roslaunch error

Created on 4 Nov 2020  路  2Comments  路  Source: stereolabs/zed-ros-wrapper

  • my env
    cuda 10.2, ros melodic, zedSDK 3.1, zed-ros-wrapper 3.1.x, in docker

  • Executed the command

$ cd /root/catkin_ws
$ rosdep install --from-paths src --ignore-src -r -y
$ catkin_make -DCMAKE_BUILD_TYPE=Release
$ source ./devel/setup.bash
$ roslaunch zed_wrapper zed2.launch
  • I receive the following error in roslaunch zed_wrapper zed2.launch
[ERROR] [1604482019.834719668]: Failed to load nodelet [/zed2/zed_node] of type [zed_nodelets/ZEDWrapperNodelet] even after refreshing the cache: Failed to load library /root/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 = libturbojpeg.so.0: cannot open shared object file: No such file or directory)
[ERROR] [1604482019.834751742]: The error before refreshing the cache was: Failed to load library /root/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 = libturbojpeg.so.0: cannot open shared object file: No such file or directory)

I tried to install libturbojpeg.
I confirmed to exist the file (/usr/local/lib/libturbojpeg.so.0) and add $export PATH=$PATH:/usr/local/lib to PATH.
But i was caused same error.

question

Most helpful comment

Hi @OkanoShogo0903
what is your operating system?

Try to fix it with the following command:
$ sudo apt install libturbojpeg0-dev

All 2 comments

Hi @OkanoShogo0903
what is your operating system?

Try to fix it with the following command:
$ sudo apt install libturbojpeg0-dev

Thank you, errro was resolved!!

I installed libturbojpeg from source, maybe it was not good.


what is your operating system?

ubuntu18

Was this page helpful?
0 / 5 - 0 ratings