Ask Your Question
0

Using FindOpenCV.cmake with libopencv2.3-dev

asked 2011-11-13 12:18:57 -0500

Aditya gravatar image

updated 2011-11-13 19:31:30 -0500

AHornung gravatar image

While installing ros-electric-desktop-full, I ran into a conflict of ros-electric-vision-opencv (through libopencv2.3-dev) with the default OpenCV in Ubuntu 11.10. In order to resolve the conflict, I manually installed libopencv2.3-dev, which removed Ubuntu's default OpenCV installation (libcv-dev, libcvaux-dev and libhighgui-dev). However, I found out that the FindOpenCV.cmake file that can be downloaded from the OpenCV website does not work with libopencv2.3-dev. It used to work with default Ubuntu OpenCV installation though. That FindOpenCV.cmake file looks for OpenCV libraries with very different names than those installed by libopencv2.3-dev. Is there a FindOpenCV.cmake file that works with 2.3.1 and may also be compatible with default Ubuntu installation (libcv, libcvaux, libhighgui)? This is definitely a show stopper.

edit retag flag offensive close merge delete

Comments

The conflict with the default Ubuntu cv libraries looks related to this question: http://answers.ros.org/question/2657/solve-conflict-between-ubuntu-libcv21-and-ros (with still no solution).
AHornung gravatar image AHornung  ( 2011-11-13 19:36:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-11-13 20:19:47 -0500

AHornung gravatar image

updated 2011-11-13 20:20:07 -0500

The conflict now seems to be resolved with the latest update to the debs:

sudo apt-get install libcv2.1 ros-electric-vision-opencv libopencv2.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcv2.1 is already the newest version.
libopencv2.3 is already the newest version.
ros-electric-vision-opencv is already the newest version.

Package: libopencv2.3 Version: 2.3.1+svn6514+branch23-8~natty

Package: ros-electric-vision-opencv Version: 1.6.8-s1321009674~natty

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-11-13 12:18:57 -0500

Seen: 689 times

Last updated: Nov 13 '11