pcl RegionGrowingRGB linking problem
I have a linking problem with the pcl RegionGrowingRGB in ROS Hydro (Ubuntu 32 bit). I am able to compile a ros node with pcl PassThrough, VoxelGrid and SACSegmentation, but when I add this simple line:
pcl::RegionGrowingRGB<pcl::PCLPointCloud2> reg;
I have this link problem:
undefined reference to `pcl::RegionGrowingRGB<pcl::PCLPointCloud2, pcl::Normal>::RegionGrowingRGB()'
undefined reference to `pcl::RegionGrowingRGB<pcl::PCLPointCloud2, pcl::Normal>::~RegionGrowingRGB()'
So, why am I able to compile a node with the SACSegmentation, but not with RegionGrowingRGB? Do you know how to solve my problem?