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 -0500

fmnoori gravatar image

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

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 -0500

130s gravatar image

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

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 -0500 )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 -0500 )edit

I agree that installing opencv3 should fix your problem.

Ed Venator gravatar image Ed Venator  ( 2017-07-14 19:27:24 -0500 )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 -0500 )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 -0500 )edit

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 1,707 times

Last updated: Jul 14 '17