Error in building rosberrypi_cam node in RPi with ROS Indigo
I am following this link for installing ROS driver for raspberrypi camera module. But after executing the command 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 -j2 I am getting this error...
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.
If anyone has faced the same issue in raspbian Jessie, please help. Thank you.
Do I need to install openCV2 for this ROS package, as the main.cpp files includes certain header files from opncv2, does that indicate that it require openCV in raspbian??????