ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi!
I don't know if this is the best solution, but what I did is to modify the OpenCV2.3 section of vision_opencv/rosdep.yaml
opencv2.3:
ubuntu:
lucid:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~lucid]
maverick:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~maverick]
natty:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~natty]
oneiric:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~oneiric]
For this other
opencv2.3:
ubuntu:
lucid:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~lucid]
maverick:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~maverick]
natty:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~natty]
oneiric:
apt:
packages: [libopencv2.3-dev=2.3.1+svn6514+branch23-12~oneiric]
debian:
squeeze: |
if [ ! -f /usr/local/lib/libopencv_core.so.2.3.1 ] ; then
mkdir -p ~/ros/ros-deps
cd ~/ros/ros-deps
wget --tries=10 -O OpenCV-2.3.1a.tar.bz2 http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2/download
tar xjvf OpenCV-2.3.1a.tar.bz2
cd OpenCV-2.3.1
mkdir release
cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
make && sudo make install
sudo cp /usr/local/lib/pkgconfig/opencv.pc /usr/local/lib/pkgconfig/opencv-2.3.1.pc
fi
It worked for me, I hope it helps you.