GFPFH

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

GFPFH

Icky
Hey,

after checking out a few of the descriptors (PFH, FPFH, VFH) I wanted to check the GFPFH. Now I know it is unstable but I checked out the current version from trunk  (1.7) on Ubuntu.

However simply doing:

pcl::GFPFHEstimation<pcl::PointXYZ, pcl::PointXYZ, pcl::GFPFHSignature16> gfpfh;

leads to

CMakeFiles/gfpfh.dir/gfpfh.cpp.o:(.rodata._ZTVN3pcl15GFPFHEstimationINS_8PointXYZES1_NS_16GFPFHSignature16EEE[_ZTVN3pcl15GFPFHEstimationINS_8PointXYZES1_NS_16GFPFHSignature16EEE]+0x58): undefined reference to `pcl::GFPFHEstimation<pcl::PointXYZ, pcl::PointXYZ, pcl::GFPFHSignature16>::computeFeature(pcl::PointCloud<pcl::GFPFHSignature16>&)'
collect2: error: ld returned 1 exit status
make[2]: *** [gfpfh] Error 1
make[1]: *** [CMakeFiles/gfpfh.dir/all] Error 2
make: *** [all] Error 2


Can anyone point me to what I am doing wrong here?
Thanks ahead!
Reply | Threaded
Open this post in threaded view
|

Re: GFPFH

Radu B. Rusu
Administrator
Can you include:

"pcl/features/impl/gfpfh.hpp"

in your code?

Cheers,
Radu.
--
http://openperception.org

On 05/16/2013 07:20 AM, Icky wrote:

> Hey,
>
> after checking out a few of the descriptors (PFH, FPFH, VFH) I wanted to
> check the GFPFH. Now I know it is unstable but I checked out the current
> version from trunk  (1.7) on Ubuntu.
>
> However simply doing:
>
> pcl::GFPFHEstimation<pcl::PointXYZ, pcl::PointXYZ, pcl::GFPFHSignature16>
> gfpfh;
>
> leads to
>
> CMakeFiles/gfpfh.dir/gfpfh.cpp.o:(.rodata._ZTVN3pcl15GFPFHEstimationINS_8PointXYZES1_NS_16GFPFHSignature16EEE[_ZTVN3pcl15GFPFHEstimationINS_8PointXYZES1_NS_16GFPFHSignature16EEE]+0x58):
> undefined reference to `pcl::GFPFHEstimation<pcl::PointXYZ, pcl::PointXYZ,
> pcl::GFPFHSignature16>::computeFeature(pcl::PointCloud<pcl::GFPFHSignature16>&)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [gfpfh] Error 1
> make[1]: *** [CMakeFiles/gfpfh.dir/all] Error 2
> make: *** [all] Error 2
>
>
> Can anyone point me to what I am doing wrong here?
> Thanks ahead!
>
>
>
> --
> View this message in context: http://www.pcl-users.org/GFPFH-tp4027848.html
> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
>
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: GFPFH

aichim
Administrator
Hi,

Your code is linking to the old pcl library. Make sure you link to the newly compiled trunk version.

Cheers,
Alex

On May 16, 2013, at 4:25 PM, "Radu B. Rusu" <[hidden email]> wrote:

> Can you include:
>
> "pcl/features/impl/gfpfh.hpp"
>
> in your code?
>
> Cheers,
> Radu.
> --
> http://openperception.org
>
> On 05/16/2013 07:20 AM, Icky wrote:
>> Hey,
>>
>> after checking out a few of the descriptors (PFH, FPFH, VFH) I wanted to
>> check the GFPFH. Now I know it is unstable but I checked out the current
>> version from trunk  (1.7) on Ubuntu.
>>
>> However simply doing:
>>
>> pcl::GFPFHEstimation<pcl::PointXYZ, pcl::PointXYZ, pcl::GFPFHSignature16>
>> gfpfh;
>>
>> leads to
>>
>> CMakeFiles/gfpfh.dir/gfpfh.cpp.o:(.rodata._ZTVN3pcl15GFPFHEstimationINS_8PointXYZES1_NS_16GFPFHSignature16EEE[_ZTVN3pcl15GFPFHEstimationINS_8PointXYZES1_NS_16GFPFHSignature16EEE]+0x58):
>> undefined reference to `pcl::GFPFHEstimation<pcl::PointXYZ, pcl::PointXYZ,
>> pcl::GFPFHSignature16>::computeFeature(pcl::PointCloud<pcl::GFPFHSignature16>&)'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [gfpfh] Error 1
>> make[1]: *** [CMakeFiles/gfpfh.dir/all] Error 2
>> make: *** [all] Error 2
>>
>>
>> Can anyone point me to what I am doing wrong here?
>> Thanks ahead!
>>
>>
>>
>> --
>> View this message in context: http://www.pcl-users.org/GFPFH-tp4027848.html
>> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
>> _______________________________________________
>> [hidden email] / http://pointclouds.org
>> http://pointclouds.org/mailman/listinfo/pcl-users
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: GFPFH

Icky
In reply to this post by Icky
Thanks Radu - that helped. New issues came up, but will work on those too ;)