Hi Steffen,
First, thanks for bringing this issue to my attention! The omission
of octree from the perception_pcl was an accident, and I'm really glad
you let me know about it.
Second, the linker error you found when trying to use
OctreePointCloudSinglePoint is present in the stand-alone version of
PCL as well as in ROS, so it appears to be a bug in PCL 1.1. Not sure
what the problem is yet, but I'll look into it.
-Michael
On Thu, Jul 28, 2011 at 8:15 AM, Steffen Fuchs
<
st.fuchs.tr@googlemail.com> wrote:
> Hi
>
> I think there is still something I miss. I'm able to create an object of a
> regular OctreePointCloud<PointXYZ> but non of the derived ones, like
> OctreePointCloudSinglePoint<PointXYZ>. It gives me the following error:
>
> In function `OctreePointCloudSinglePoint':
> /home/goa-sf/ros_packages/unstable/perception_pcl_unstable/pcl/include/pcl-1.1/pcl/octree/octree_pointcloud_singlepoint.h:74:
> undefined reference to `pcl::octree::OctreePointCloud<pcl::PointXYZ,
> pcl::octree::OctreeLeafDataT<int>, pcl::octree::OctreeBase<int,
> pcl::octree::OctreeLeafDataT<int> >::OctreePointCloud(double)'
>
> It looks like something is wrong with the library links. Any ideas?
>
> Cheers
> Steffen
>
>
> On Thu, Jul 28, 2011 at 2:52 PM, Fuchs Steffen <st.fuchs.tr@googlemail.com>
> wrote:
>>
>> Hi
>> it seems like the ros version of pcl doesn't build the octree library by
>> default. I had to add the line
>>
>> "-DBUILD_octree=ON"
>>
>> in file
>>
>> "perception_pcl_unstable/pcl/Makefile"
>>
>> and
>>
>> "-lpcl_octree"
>>
>> as one of the lflags in
>>
>> "perception_pcl_unstable/pcl/manifest.xml"
>>
>> Not sure whether this is a bug or a features ;) I thought I post it here
>> in case anybody else comes across it.
>>
>>
>> Kind regards
>> Steffen
>
> _______________________________________________
> PCL-users@pointclouds.org / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
>
> _______________________________________________
> PCL-users@code.ros.org / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
>
>
_______________________________________________
PCL-users@pointclouds.org /
http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
_______________________________________________
PCL-users@code.ros.org /
http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users