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

Failed to load nodelet [/camera/rgb_rectify_mono] of type [image_proc/rectify] even after refreshing the cache: Failed to load library

asked 2017-07-14 12:43:36 -0600

fmnoori gravatar image

updated 2017-07-14 14:21:05 -0600

gvdhoorn gravatar image

kinect1.0 for xbox360

Ubuntu16.04 LTS, ros-kinetic-desktop-full

I tried to excute openni.launch and get these errors:

How to sort the problem?

I saw other links too. but i am unable to catch the error

ERROR] [1500052587.267970469]: Failed to load nodelet [/camera/rgb_rectify_mono] of type [image_proc/rectify] even after refreshing the cache: Failed to load library /home/ap4isr/kinetic_workspc/devel/lib//libimage_proc.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 = libopencv_imgproc3.so.3.1: cannot open shared object file: No such file or directory)
[ERROR] [1500052587.268035002]: The error before refreshing the cache was: Failed to load library /home/ap4isr/kinetic_workspc/devel/lib//libimage_proc.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 = libopencv_imgproc3.so.3.1: cannot open shared object file: No such file or directory)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-07-14 14:52:00 -0600

130s gravatar image

updated 2017-07-14 15:46:26 -0600

1

[ERROR] [1500052587.267970469]: Failed to load nodelet [/camera/rgb_rectify_mono] of type [image_proc/rectify] even after refreshing the cache: Failed to load library /home/ap4isr/kinetic_workspc/devel/lib//libimage_proc.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 = libopencv_imgproc3.so.3.1: cannot open shared object file: No such file or directory)

You might want to install opencv3. On kinetic, ros-kinetic-opencv should install opencv3.

2.

I tried to excute openni.launch and get these errors:

In general it's hard for us to guess what's going on with only a fraction of the info. For example in your post we don't know what does openni.launch do (it could be the one from openni_launch pkg but it could be something else, like what you or someone customized). Besides if it's from openni_launch, which is just a pkg that contains launch files for sensor driver, it's a bit strange to me that we're seeing error messages that seem related to higher level packages such as image_proc and opencv.

It's a good practice to share ALL output of roslaunch, including the command and its args itself, so that we can at least get to know what Nodes, Parameters, Topics, Services are started.

edit flag offensive delete link more

Comments

First, thank you for your patience.

I just want to integrate Kinect sensor with ROS Kinetic. It is one from openni_launch pkg I used this command roslaunch openni_launch openni.launch

fmnoori gravatar image fmnoori  ( 2017-07-14 16:27:16 -0600 )edit
1

Please check this link. I uploaded my whole output.

https://github.com/ros-drivers/openni...

fmnoori gravatar image fmnoori  ( 2017-07-14 19:12:33 -0600 )edit

I agree that installing opencv3 should fix your problem.

Ed Venator gravatar image Ed Venator  ( 2017-07-14 19:27:24 -0600 )edit

I just installed it. also, verify with pkg-config --modversion opencv which shows 3.3.0 version has been installed. but still getting same error

fmnoori gravatar image fmnoori  ( 2017-07-14 20:03:31 -0600 )edit

That's strange. As of today released version of ros-kinetic-opencv3 is 3.2.0. You might be looking at something that is not installed via ROS ecosystem. For that I can't help on this forum.

130s gravatar image 130s  ( 2017-07-15 02:02:39 -0600 )edit

ok, I am trying to sort the problem. Thanks all :)

fmnoori gravatar image fmnoori  ( 2017-07-17 03:22:29 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-07-14 12:43:36 -0600

Seen: 2,999 times

Last updated: Jul 14 '17