raspicam_node
raspicam_node copied to clipboard
I got the error message: compressed_image_transport
I tried to follow the steps and received the following error message:
Could not find a package configuration file provide by "compressed_image_transport" with any of the following names: compressed_image_transportConfig.cmake compressed_image_transport-config.cmake
I didn't find this library on the Internet.
Did you install the compressed-image-transport package into your ROS?. It might be missed. http://wiki.ros.org/compressed_image_transport
please run apt-get install ros-indigo-compressed-image-transport
.
And here is my problem
make[2]: *** No rule to make target '/usr/lib/arm-linux-gnueabihf/libopencv_ts.so.2.4.8', needed by '/home/pi/picam_ws/devel/lib/raspicam_ros/raspicam_node'. Stop.
make[2]: *** Waiting for unfinished jobs....
[100%] Building CXX object raspicam_ros/CMakeFiles/raspicam_node.dir/src/raspicam_node.cpp.o
CMakeFiles/Makefile2:581: recipe for target 'raspicam_ros/CMakeFiles/raspicam_node.dir/all' failed
make[1]: *** [raspicam_ros/CMakeFiles/raspicam_node.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
I find the libopencv_ts.so.2.4.9
in /usr/lib/arm-linux-gnueabihf/
.
how to fix it?
Hello, well maybe not the best solution but it worked for me based on this link https://answers.ros.org/question/241027/opencv-no-rule-to-make-target/
Create a symbolic link to solve the case; I did the following
cd /usr/lib/arm-linux-gnueabihf/ sudo ln -s libopencv_ts.so.2.4.9 libopencv_ts.so.2.4.8
regards,
use this guide it works for me.http://www.venelinpetkov.com/how-to-install-a-raspberry-camera-node-on-ros-kinetic-raspbian-stretch/