Hey, Patrick.<div><br></div><div>Although OpenCV 2.3 seems to work well now, I noticed the following error/warning while compiling my package:</div><div><br></div><div><div>       Failed to find rosdep opencv2.3 for package catasphereo on OS:ubuntu version:11.04</div>
<div>       WARNING: Rosdeps [u'opencv2.3'] could not be resolved</div><div><br></div><div>The manifest.xml file has:</div><div><div>  <depend package="cv_bridge" /></div><div>  <rosdep name="opencv2.3"/></div>
</div><div><br></div><div><div>The CMakeLists.txt has:</div></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div>    find_package(OpenCV REQUIRED) </div><div>    #define the target ...</div>
<div>    target_link_libraries(my_binary ${OpenCV_LIBS})</div></div></div><div><br></div><div>Regards,</div><div><br></div><div>Carlos</div><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 5:42 PM, Patrick Mihelich <span dir="ltr"><<a href="mailto:mihelich@willowgarage.com">mihelich@willowgarage.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Carlos,<br><br>The opencv2 package continues to exist as the "ROS face" of the new OpenCV debian packages. Declaring a dependency on opencv2 is actually all you need to do to use OpenCV 2.3.1 in ROS. So cv_bridge and all other OpenCV-using packages now use 2.3.1 in trunk/unstable.<br>

<br>If you look at the manifest, it declares a rosdep on opencv2.3 (the deb), and exports the compile flags from 'pkg-config opencv-2.3.1'.<br><br>Cheers,<br><font color="#888888">Patrick</font><div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 2:34 PM, Carlos J. <span dir="ltr"><<a href="mailto:ubuntuslave@gmail.com" target="_blank">ubuntuslave@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">cv_bridge depends on opencv2 (as a ros package). This is causing the old opencv header files and libraries to get linked in my project. Unless, I get cv_bridge from SVN and modify its dependencies in its manifest.xml and  CMakeLists.txt<div>


<br></div><div>In sum,</div><div>1) I deleted the opencv2 dependency in the manifest.xml</div><div>2) I added this at the end of the CMakeLists.txt</div>
<div><br></div><div>    target_link_libraries(${PROJECT_NAME} opencv_core opencv_imgproc)<br><br></div><div>I think that is the manual work-around for now... If someone knows of a better way to force cv_bridge into using OpenCV 2.3.1, please, advise.</div>


<div><br></div><div>Cheers!</div><div><br></div><div>Carlos J.</div><div><div></div><div><div><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 2:18 AM, Ethan Rublee <span dir="ltr"><<a href="mailto:erublee@willowgarage.com" target="_blank">erublee@willowgarage.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">OpenCV is transitioning to a system based install.  To develop against OpenCV with ROS on ubuntu you should just apt-get libopencv2.3-dev (its available in from <a href="http://packages.ros.org" target="_blank">packages.ros.org</a> assuming you have followed these instructions <a href="http://www.ros.org/wiki/diamondback/Installation/Ubuntu" target="_blank">http://www.ros.org/wiki/diamondback/Installation/Ubuntu</a>).<div>



<br></div><div>Ethan</div><div><div class="gmail_quote"><div><div></div><div>On Thu, Jul 14, 2011 at 7:22 PM, Carlos Slave <span dir="ltr"><<a href="mailto:ubuntuslave@gmail.com" target="_blank">ubuntuslave@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>
I'm not sure what happened with the svn trunk for opencv2. This uri <a href="https://code.ros.org/svn/ros-pkg/stacks/vision_opencv/trunk/opencv2" target="_blank">https://code.ros.org/svn/ros-pkg/stacks/vision_opencv/trunk/opencv2</a> only checks out the Makefile and manifest.xml files...nothing else. The latest checkout overwrote all my previous source.<div>




<br></div><div>Does any one know where I can get the opencv2 ros package.</div><div><br></div><div>Thanks,</div><div><br></div><font color="#888888"><div>Carlos</div>
</font><br></div></div>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>