diff --git a/plugins/core/Standard/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp b/plugins/core/Standard/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp
index 59c803c..48a611b 100644
--- a/plugins/core/Standard/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp
+++ b/plugins/core/Standard/qPCL/PclUtils/filters/MLSSmoothingUpsampling.cpp
@@ -25,6 +25,8 @@
//PCL
#include <pcl/surface/mls.h>
+#include <pcl/common/io.h> // for getFieldIndex
+#include <pcl/search/kdtree.h> // for KdTree
//qCC_plugins
#include <ccMainAppInterface.h>
@@ -53,7 +55,7 @@ int smooth_mls(const typename pcl::PointCloud<PointInT>::Ptr &incloud,
#ifdef _OPENMP
//create the smoothing object
- pcl::MovingLeastSquaresOMP< PointInT, PointOutT > smoother;
+ pcl::MovingLeastSquares< PointInT, PointOutT > smoother;
int n_threads = omp_get_max_threads();
smoother.setNumberOfThreads(n_threads);
#else
diff --git a/plugins/core/Standard/qPCL/PclUtils/utils/PCLConv.h b/plugins/core/Standard/qPCL/PclUtils/utils/PCLConv.h
index 1a480aa..d5706de 100644
--- a/plugins/core/Standard/qPCL/PclUtils/utils/PCLConv.h
+++ b/plugins/core/Standard/qPCL/PclUtils/utils/PCLConv.h
@@ -27,7 +27,7 @@
#else //Version 1.7 or newer
-#include <pcl/PCLPointCloud2.h>
+#include <pcl/conversions.h>
#define FROM_PCL_CLOUD pcl::fromPCLPointCloud2
#define TO_PCL_CLOUD pcl::toPCLPointCloud2