Link Error pcl::MovingLeastSquares
I am using pcl MovingLeastsquares to smooth my point cloud My os is windows 10, neotic but when I try to build using catkin_make, I get the following error
error LNK2001: unresolved external symbol "protected: virtual void __cdecl pcl::MovingLeastSquares<struct pcl::pointxyzi,struct="" pcl::pointxyzinormal="">::performProcessing(class pcl::PointCloud<struct pcl::pointxyzinormal=""> &)" (?performProcessing@?$MovingLeastSquares@UPointXYZI@pcl@@UPointXYZINormal@2@@pcl@@MEAAXAEAV?$PointCloud@UPointXYZINormal@pcl@@@2@@Z) ..\my_pcl_tutorial\smooth.exe : fatal error LNK1120: 2 unresolved externals
What is the reason and How to overcome this problem?