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

OpenCV in Electric

asked 2011-09-03 05:17:12 -0500

updated 2011-09-04 04:32:45 -0500

joq gravatar image

Recompiling under Electric I'm getting the following OpenCV error:

Failed to find rosdep opencv2.3 for package...

It seems the the OpenCV2 package is deprecated. What do I need to do to move to the new regime?

When using rosdep install opencv2, the following errors occur:

Invalid identifier found [lucid] when processing rosdep boost.  
{{{
{'lucid': {'apt': {'packages': ['libboost1.40-all-dev']}}, 'maverick': {'apt': {'packages': ['libboost1.42-all-dev']}}, 'natty': {'apt': {'packages': ['libboost1.42-all-dev']}}}
}}}

Invalid identifier found [lucid] when processing rosdep opencv2.3.  
{{{
{'lucid': {'apt': {'packages': ['libopencv2.3-dev=2.3.1+svn6514+branch23-1~lucid']}}, 'maverick': {'apt': {'packages': ['libopencv2.3-dev=2.3.1+svn6514+branch23-1~maverick']}}, 'natty': {'apt': {'packages': ['libopencv2.3-dev=2.3.1+svn6514+branch23-1~natty']}}}
}}}

Invalid identifier found [lucid] when processing rosdep eigen.  
{{{
{'lucid': {'apt': {'packages': ['libeigen3-dev=3.0.1-1+ros4~lucid']}}, 'maverick': {'apt': {'packages': ['libeigen3-dev=3.0.1-1+ros4~maverick']}}, 'natty': {'apt': {'packages': ['libeigen3-dev=3.0.1-1+ros4~natty']}}}
}}}

Failed to find rosdep opencv2.3 for package opencv2 on OS:ubuntu version:11.04
rosdep install ERROR:
failed to install opencv2.3

When using rosdep install cv_bridge the following occurs:

Invalid identifier found [lucid] when processing rosdep boost.  
{{{
{'lucid': {'apt': {'packages': ['libboost1.40-all-dev']}}, 'maverick': {'apt': {'packages': ['libboost1.42-all-dev']}}, 'natty': {'apt': {'packages': ['libboost1.42-all-dev']}}}
}}}

Invalid identifier found [lucid] when processing rosdep opencv2.3.  
{{{
{'lucid': {'apt': {'packages': ['libopencv2.3-dev=2.3.1+svn6514+branch23-1~lucid']}}, 'maverick': {'apt': {'packages': ['libopencv2.3-dev=2.3.1+svn6514+branch23-1~maverick']}}, 'natty': {'apt': {'packages': ['libopencv2.3-dev=2.3.1+svn6514+branch23-1~natty']}}}
}}}

Invalid identifier found [lucid] when processing rosdep eigen.  
{{{
{'lucid': {'apt': {'packages': ['libeigen3-dev=3.0.1-1+ros4~lucid']}}, 'maverick': {'apt': {'packages': ['libeigen3-dev=3.0.1-1+ros4~maverick']}}, 'natty': {'apt': {'packages': ['libeigen3-dev=3.0.1-1+ros4~natty']}}}
}}}

Failed to find rosdep opencv2.3 for package cv_bridge on OS:ubuntu version:11.04
rosdep install ERROR:
failed to install opencv2.3
edit retag flag offensive close merge delete

Comments

Could you include your OS, CMakeLists and manifest?
Eric Perko gravatar image Eric Perko  ( 2011-09-03 07:01:54 -0500 )edit
OS is Linux Mint 11
JediHamster gravatar image JediHamster  ( 2011-09-03 07:16:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2011-09-03 05:43:43 -0500

joq gravatar image

updated 2011-09-04 04:23:39 -0500

It has been replaced with a rosdep dependency on the system version.

Follow-up information suggests that rosdep is having trouble identifying your Mint 11 version of Linux. It seems to think you are running Ubuntu 11.04 (Natty). Presumably, this question is related somehow.

edit flag offensive delete link more

Comments

So what should I be declaring within manifest.xml ?
JediHamster gravatar image JediHamster  ( 2011-09-03 06:29:41 -0500 )edit
The page @joq linked to contains a sample manifest.xml fragment: http://www.ros.org/wiki/opencv2#Package.2BAC8-stack_dependencies
Eric Perko gravatar image Eric Perko  ( 2011-09-03 06:43:26 -0500 )edit
Even including those depends I still get the same failure. Should I have a stack.xml file?
JediHamster gravatar image JediHamster  ( 2011-09-03 06:48:00 -0500 )edit
Did you do the `CMakeLists.txt` changes?
joq gravatar image joq  ( 2011-09-03 07:00:48 -0500 )edit
I added the following to CMakeLists.txt: find_package(OpenCV REQUIRED) target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS})
JediHamster gravatar image JediHamster  ( 2011-09-03 07:04:49 -0500 )edit
What happens if you type: `rosdep install cv_bridge`?
joq gravatar image joq  ( 2011-09-03 07:09:53 -0500 )edit
See above.
JediHamster gravatar image JediHamster  ( 2011-09-03 07:24:30 -0500 )edit
Yes I think you're right. Mint 11 is really just Ubuntu 11.04 without Unity and with a different menu system. It looks as if I can compile without using --rosdep-install, so this is really an issue with detecting the relevant dependent packages.
JediHamster gravatar image JediHamster  ( 2011-09-04 04:24:40 -0500 )edit

Question Tools

Stats

Asked: 2011-09-03 05:17:12 -0500

Seen: 1,250 times

Last updated: Sep 04 '11