KdTree declaration fails with '_ZN3pcl6search6KdTreeINS_11PointXYZRGBEEC1Eb' error
KdTree declaration always end with 'symbol lookup error: catkin_ws/devel/lib/jm/kd: undefined symbol: _ZN3pcl6search6KdTreeINS_11PointXYZRGBEEC1Eb' error.
Here is the syntax: pcl::search::KdTree<pcl::pointxyzrgb>::Ptr kdtree(new pcl::search::KdTree<pcl::pointxyzrgb>);
And I could find any segmentation method without using KdTree in ros