Re: [ros-users] Using PCL 1.6 (or any version) in Groovy

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: Mac Mason
CC: User discussions
Emne: Re: [ros-users] Using PCL 1.6 (or any version) in Groovy
Solved! (Credit to Austin Hendrix & Dave Coleman).

My mistake was to specify my dependencies in package.xml, but not in
CMakeLists.txt. Easy fix.

Feel free to ignore this next bit if you have work to do...

\begin{rant}
Why _on earth_ does it work that way? Requiring me to specify _exactly
the same thing_ in two _totally different places_ in two _completely
different syntaxes_ is the very definition of a Bad Idea. It forces
manual, error-prone, hard-to-debug, duplication.
\end{rant}

So, I'm curious: why was it done this way? I'm not on
build-system-sig, and I'm about as far from a CMake expert as one can
be, so I haven't a clue about what's going on behind the scenes, and
I'm willing to believe that there's some solid technical reason. But
this feels really broken.

    --M


On Wed, Feb 20, 2013 at 1:06 AM, Mac Mason <> wrote:
> Hello folks,
>
> I've managed to confuse myself re: getting pcl working in groovy. The
> tutorials seem to indicate that I want to add pcl and pcl_ros to by
> build_depends, and then #include "pcl/point_cloud.h" and
> "pcl_ros/point_cloud.h".
>
> However, when I do that, it can't find those headers. The reason it
> can't is because it's only looking in /opt/ros/groovy/include, and:
>
> ls /opt/ros/groovy/include/pcl
> ModelCoefficients.h PointIndices.h PolygonMesh.h Vertices.h
>
> There does appear to be a pcl-1.6, but then pcl_ros doesn't work,
> because it's also looking for pcl/point_cloud.h.
>
> What have I done wrong here?
>
> Thanks!
>
>     --M

>
> --
> Julian "Mac" Mason            www.cs.duke.edu/~mac




--
Julian "Mac" Mason            www.cs.duke.edu/~mac