I am following this [link](https://github.com/japonophile/rosberrypi_cam) for installing ROS driver for Raspberry Pi camera module. I have ROS Indigo installed in Jessie, I also have Opencv installed in RPi. After executing the command to install,
sudo ./src/catkin/bin/catkin_make_isolated --install --pkg rosberrypi_cam -DCMAKE_BUILD_TYPE=Release -Draspicam_DIR:PATH=/home/pi/ros_catkin_ws/external_src/raspicam/build/ --install-space /opt/ros/indigo/
I am encountering an error stating that,
make -j4 -l4 in '/home/pi/ros_catkin_ws/build_isolated/rosberrypi_cam'
make[2]: *** No rule to make target '/usr/local/lib/libraspicam.so', needed by '/home/pi/ros_catkin_ws/devel_isolated/rosberrypi_cam/lib/rosberrypi_cam/rosberrypi_cam_node'. Stop.
CMakeFiles/Makefile2:707: recipe for target 'CMakeFiles/rosberrypi_cam_node.dir/all' failed
make[1]: *** [CMakeFiles/rosberrypi_cam_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'rosberrypi_cam':
Command '['/opt/ros/indigo/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/pi/ros_catkin_ws/build_isolated/rosberrypi_cam && /opt/ros/indigo/env.sh make -j4 -l4
Command failed, exiting.
I am unable to understand and get rid of the error. It will be extremely beneficial if someone help with a solution stating the reason of the error.
Thank you.
↧