Willy, <br>This would be great for <a href="http://answers.ros.org">answers.ros.org</a>. It's a question for help with a straight forward answer, and others might have the same question in the future and having it easily searchable and tagged on <a href="http://answers.ros.org">answers.ros.org</a> will make it more visible in the future.  <br>

<br>Tully<br><br><div class="gmail_quote">On Sat, Feb 26, 2011 at 5:28 AM, Willy Lambert <span dir="ltr"><<a href="mailto:lambert.willy@gmail.com">lambert.willy@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;">

Hi all,<br><br>I am not really sure this question has a place on the ros-answer site (I'll copy this to it  and auto answer me if you wish).<br><br>I am a quite new ROS user and created my ros package which take a dependency (in my case eigen)<br>


I took my ages to find how to build this with thefollowing lines in my CMakelists.txt :<br><br>#add the eigen dependency<br>rosbuild_find_ros_package( eigen )<br>include_directories( ${eigen_PACKAGE_PATH}/include/src )<br>


<br><br>At the end it seems logical. I don't know if it is about my low knownledge about CMake, but I passed sometime searching in the documentation without any clue about this.<br>First question, is it documented somewhere ? If not I would like to update the documentation but I don't know where is the rigth place :<br>


<a href="http://www.ros.org/wiki/rosbuild/CMakeLists/Examples" target="_blank">http://www.ros.org/wiki/rosbuild/CMakeLists/Examples</a> : adding the use of another package for building, espacially the "include" directory (not so easy to find this page from scratch)<br>


<a href="http://www.ros.org/wiki/rosbuild/CMakeLists#rosbuild_find_ros_package" target="_blank">http://www.ros.org/wiki/rosbuild/CMakeLists#rosbuild_find_ros_package</a> : adding details about what you have to do after<br>

<a href="http://www.ros.org/wiki/eigen/Tutorials" target="_blank">http://www.ros.org/wiki/eigen/Tutorials</a> : adding the details in each packages tutorial "how to use me ?"<br>
<br>Then, is it a roadmap in ROS on how a package gives the information to being used ? <br>In my example is the include_directories( ${eigen_PACKAGE_PATH}/include/src ) package specific ? or is it a ROS habits ?<br><br>

Isn't it the job of ros dependencies system to add the includes ? for example in the <export> section of the manifest.xml ?<br>
<div style="padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;">
</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><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>