ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
4

libopencv2.3-dev conflict

asked 2011-11-13 12:36:36 -0600

Aditya gravatar image

I enabled the ROS Electric repository in Ubuntu 11.10. However, while installing ros-electric-desktop-full, I ran into the following dependency conflict - ros-electric-vision-opencv depends on libopencv2.3-dev version 2.3.1+svn6514+branch23-7~oneiric; however, the version of libopencv2.3-dev available is 2.3.1+svn6514+branch23-8~oneiric. I think the ros-electric-vision-opencv dependency list needs to be updated to bring it in sync with the version of libopencv2.3-dev.

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
2

answered 2011-11-16 09:22:58 -0600

Aditya gravatar image

The ROS Electric repository has been updated and the conflict has been resolved.

edit flag offensive delete link more
2

answered 2011-11-13 20:25:47 -0600

AHornung gravatar image

Please try again, the repositories now appear in sync again and I did not experience any conflicts (switch to packages.ros.org if you're using a mirror, as they may not be completely updated yet).

sudo apt-get install ros-electric-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-electric-desktop-full is already the newest version.

Package details:

apt-cache show libopencv2.3 libopencv2.3-dev 
Package: libopencv2.3
Source: libopencv
Version: 2.3.1+svn6514+branch23-8~natty
Architecture: amd64
Maintainer: Ethan Rublee <erublee@willowgarage.com>
Installed-Size: 8508
Homepage: http://opencv.willowgarage.com
Priority: extra
Section: libs
Filename: pool/main/libo/libopencv/libopencv2.3_2.3.1+svn6514+branch23-8~natty_amd64.deb
Size: 3521640
SHA256: 6ecee345593f5cdca55aafc36fa99db1e440d2960f8a02a887b6ce78e9fa1f78
SHA1: 368bf1cef7a5f2aefa296f21c8e77fb9461c304f
MD5sum: 4b3e884785f26583d2e5dd8b1cb7b2e3
Description: OpenCV (Open Source Computer Vision)
    OpenCV is released under a BSD license, it is free for both academic and commercial use. It has C++, C, Python and soon Java
    interfaces running on Windows, Linux, Android and Mac. The library has >2500 optimized algorithms (see figure below). It is
    used around the world, has >2.5M downloads and >40K people in the user group. Uses range from interactive art,
    to mine inspection, stitching maps on the web on through advanced robotics.

Package: libopencv2.3-dev
Source: libopencv
Version: 2.3.1+svn6514+branch23-8~natty
Architecture: amd64
Maintainer: Ethan Rublee <erublee@willowgarage.com>
Installed-Size: 3144
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libopencv2.3 (= 2.3.1+svn6514+branch23-8~natty), libpython2.7 (>= 2.7), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4), libopencv2.3-bin (= 2.3.1+svn6514+branch23-8~natty), pkg-config, cmake (>= 2.8), python-numpy, python-support, libavcodec-dev, libswscale-dev, libgtk2.0-dev, libjasper-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev, zlib1g-dev, libavformat-dev, liblapack-dev, libv4l-dev
Conflicts: libcv-dev, libcvaux-dev, libhighgui-dev
Replaces: libcv-dev, libcvaux-dev, libhighgui-dev
Homepage: http://opencv.willowgarage.com
Priority: extra
Section: libdevel
Filename: pool/main/libo/libopencv/libopencv2.3-dev_2.3.1+svn6514+branch23-8~natty_amd64.deb
Size: 729462
SHA256: 421086c421551d4e8e2164a5b4d2bb24bb05c54d4e39850900b5fad0f7ac8748
SHA1: 821e3a2aa0960a2f89c92b456abd12b68bd9e6ad
MD5sum: 972cf599dbfc3aecd457c96144744dd9
Description: OpenCV (Open Source Computer Vision)
    OpenCV is released under a BSD license, it is free for both academic and commercial use. It has C++, C, Python and soon Java
    interfaces running on Windows, Linux, Android and Mac. The library has >2500 optimized algorithms (see figure below). It is
    used around the world, has >2.5M downloads and >40K people in the user group. Uses range from interactive art,
    to mine inspection, stitching maps on the web on through advanced robotics.
edit flag offensive delete link more

Comments

I still have the same problem here, libopencv-2.3.1+svn6514+branch23-8~oneiric is installed and ros-electric-vision-opencv shows libopencv2.3-dev (= 2.3.1+svn6514+branch23-7~oneiric) as dependency.
Stephan gravatar image Stephan  ( 2011-11-13 21:37:14 -0600 )edit
Indeed, looks like everything is up to date except the oneiric-32bit version: http://packages.ros.org/ros/ubuntu/pool/main/r/ros-electric-vision-opencv/
AHornung gravatar image AHornung  ( 2011-11-13 22:19:55 -0600 )edit
I just tried and still have the same conflict. It is probably a good idea to report it as a bug.
Aditya gravatar image Aditya  ( 2011-11-14 03:38:33 -0600 )edit
I have the same problem here I have just upgrade to ubuntu 11.10, please report it as a bug
Anas gravatar image Anas  ( 2011-11-14 07:52:40 -0600 )edit
Reported as a bug (for Ubuntu 11.10, x86).
Aditya gravatar image Aditya  ( 2011-11-14 07:56:43 -0600 )edit
@Aditya, would you please post a link to the bug report? - Thanks!
Stephan gravatar image Stephan  ( 2011-11-14 18:08:19 -0600 )edit
Aditya gravatar image Aditya  ( 2011-11-15 00:39:16 -0600 )edit
when will the problem be resolved?
MichaelHsu170 gravatar image MichaelHsu170  ( 2011-11-15 09:12:45 -0600 )edit
0

answered 2012-04-04 01:59:48 -0600

Martin.W gravatar image

updated 2012-04-04 02:19:32 -0600

Can someone please fix this issue? It is still persistent at least on Ubuntu 11.10 (64bit) and 11.04 (32bit), see log and ticket below.

Or do I get it wrong? libopencv2.3 should definately be installable in parallel to libcv 2.1 (API changes, python bindings different)! Same problems with version from launchpad, there might be additional information: https://launchpad.net/~gijzelaar/+archive/opencv2.3

aptitude install ros-electric-desktop-full [...snip...]

The following packages have unmet dependencies: libopencv2.3-dev: Conflicts: libcv-dev but 2.1.0-7build1 is installed. Conflicts: libcvaux-dev but 2.1.0-7build1 is installed. Conflicts: libhighgui-dev but 2.1.0-7build1 is installed. The following actions will resolve these dependencies:

Remove the following packages:

1) libcv-dev
2) libcvaux-dev
3) libhighgui-dev

2.1.0-7build1 is from official Ubuntu Repo.

# apt-cache policy libopencv2.3-dev libopencv2.3-dev: Installed: (none) Candidate: 2.3.1+svn6514+branch23-10~oneiric Version table: 2.3.1+svn6514+branch23-10~oneiric 0 500 http://packages.ros.org/ros/ubuntu/ oneiric/main amd64 Packages

Ticket should be reopened: https://code.ros.org/trac/ros-pkg/ticket/5247

Thank you!

edit flag offensive delete link more

Comments

Please reopen the ticked and give your information there instead of posting it as an answer. That increases the chances of this getting fixed.

AHornung gravatar image AHornung  ( 2012-04-04 12:01:00 -0600 )edit
0

answered 2011-11-14 08:14:22 -0600

omeckman gravatar image

updated 2011-11-14 08:21:04 -0600

Okay, same problem here, even editing the opencv .deb ros-electric-vision-opencv_1.6.7-s1320939105~oneiric_i386.deb to use the new opencv _8_ didn't help, it will install but fail with some .so error later.

Compiling ROS from source does work perfectly, though.

EDIT:

With my deb-editing, the problem arises with image_geometry from vision_opencv, that apparently was needed to launch openni_launch.

To make my statement clear of what i'm talking about:

seems AHornung was right that the ROS package update for oneiric hasn't been updated yet.

Like he said, see here: http://packages.ros.org/ros/ubuntu/pool/main/r/ros-electric-vision-opencv/

edit flag offensive delete link more

Comments

did someone know when we will get the update for 11.10 i386 ?? otherwise can you please descirbe how to compile the opencv package, just this package I don't want to recompile all the desktop-full stacks.
Anas gravatar image Anas  ( 2011-11-15 06:04:55 -0600 )edit
Sorry i haven't yet compiled a single package, i just started using ROS. That's why i first tried compiling it entirely from source. Maybe some other guy already made a package? If it's urgent, compiling from source didn't take that long (base, viz with deps (pcl), openni_ros) took ~4hrs on Core2Duo
omeckman gravatar image omeckman  ( 2011-11-16 06:11:25 -0600 )edit
0

answered 2012-02-15 01:39:27 -0600

McLera gravatar image

Hi everyone,

I have fixed this problem by uninstalling ROS and libopencv2.3 in synaptic.

Then I have reinstalled without problems ...

Hope this helps.

McLera

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-13 12:36:36 -0600

Seen: 2,489 times

Last updated: Apr 04 '12