重装ROS后打开usb摄像头报错:Failed to load nodelet [/image_view] of type [image_view/image] even after refreshing the cache: Failed to load library /opt/ros/melodic/lib//libimage_view.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_core.so.3.2: cannot open shared object file: No such file or directory)
服了又是和opencv有关!
查找libopencv_core.so.3.2位置:locate libopencv_core.so 发现我没有libopencv_core.so.3.2 mxy@mxy-laptop:~$ locate libimage_view.so /opt/ros/melodic/lib/libimage_view.so
看了这个回答:https://answers.ros.org/question/355571/missing-file-librqt_image_viewso/ 感觉我又要重装opencv3.2了。。。。。。。。。。。。。。。。。。
|