Skip to content

I'm unable to run the launch due to an OpenCV issue. #198

@ho-choi

Description

@ho-choi

When I run the launch, an error occurs. Please help. My ROS environment is Noetic, and OpenCV 4.2.0 is installed.
When I execute
roslaunch astra_camera astra_pro_plus.launch
the following error occurs:

/home/jetson/yahboomcar_ws/devel/lib/astra_camera/astra_camera_node: error while loading shared libraries: libopencv_imgcodecs.so.4.5: cannot open shared object file: No such file or directory
[camera/camera-1] process has died [pid 6586, exit code 127, cmd /home/jetson/yahboomcar_ws/devel/lib/astra_camera/astra_camera_node /camera/depth/color/points:=/camera/depth_registered/points __name:=camera __log:=/home/jetson/.ros/log/d1fc4c96-9fcd-11ee-b263-f4ce23bb24cf/camera-camera-1.log].
log file: /home/jetson/.ros/log/d1fc4c96-9fcd-11ee-b263-f4ce23bb24cf/camera-camera-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Even after modifying it as below in the CMakeLists.txt file and running Catkin_make, the same issue keeps recurring.

find_package(OpenCV 4.2.0 REQUIRED)
Please help me out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions