ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem is that this file /libimage_view.so does not exist.

The error message in each case says: Failed to load library .... I would assume the library path stated does exist since you have the Debian packages installed as mentioned below.

The error message also additionally mentions:

Could not load library (Poco exception = libopencv_core.so.3.2: cannot open shared object file: No such file or directory)

So what is not found is the OpenCV library. Please edit your question to include the output of the following command: locate libopencv_core.so.

The problem is that this file /libimage_view.so does not exist.

The error message in each case says: Failed to load library .... I would assume the library path stated does exist since you have the Debian packages installed as mentioned below.

The error message also additionally mentions:

Could not load library (Poco exception = libopencv_core.so.3.2: cannot open shared object file: No such file or directory)

So what is not found is the OpenCV library. Please edit your question to include the output of the following command: locate libopencv_core.so.

Update:

Ubuntu Bionic (which is the platform targeted by ROS Melodic) ships with OpenCV 3.2 and as such all ROS Debian packages are built and linked against that version. You seem to have a different custom version installed (4.3). You can do either of the following options:

  • replace your custom OpenCV version with the default version provided by Ubuntu or
  • build all ROS packages which use OpenCV from source (which might or might not work out of the box) against the different OpenCV version.