From 4c27c8175b58999234a5fb1fa2755f9d69b49645 Mon Sep 17 00:00:00 2001 From: Sergey Alexandrov Date: Thu, 11 Sep 2014 23:42:12 +0200 Subject: [PATCH] Disable precompilation of PPFRegistration This fixes #906 by partially reverting #891. --- .../include/pcl/registration/ppf_registration.h | 4 ++-- registration/src/ppf_registration.cpp | 15 ++++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/registration/include/pcl/registration/ppf_registration.h b/registration/include/pcl/registration/ppf_registration.h index 0e67c70c407..2560ec6fd63 100644 --- a/registration/include/pcl/registration/ppf_registration.h +++ b/registration/include/pcl/registration/ppf_registration.h @@ -285,7 +285,7 @@ namespace pcl Eigen::Affine3f &pose2); }; } -#ifdef PCL_NO_PRECOMPILE + #include -#endif // PCL_NO_PRECOMPILE + #endif // PCL_PPF_REGISTRATION_H_ diff --git a/registration/src/ppf_registration.cpp b/registration/src/ppf_registration.cpp index 5138f9748c4..93b424f18e3 100644 --- a/registration/src/ppf_registration.cpp +++ b/registration/src/ppf_registration.cpp @@ -35,15 +35,16 @@ * $Id$ * */ + #include - -#ifndef PCL_NO_PRECOMPILE -#include -#include -#include -PCL_INSTANTIATE_PRODUCT(PPFRegistration, (PCL_XYZ_POINT_TYPES)(PCL_NORMAL_POINT_TYPES)); -#endif // PCL_NO_PRECOMPILE +//#ifndef PCL_NO_PRECOMPILE +//#include +//#include +//#include + +//PCL_INSTANTIATE_PRODUCT(PPFRegistration, (PCL_XYZ_POINT_TYPES)(PCL_NORMAL_POINT_TYPES)); +//#endif // PCL_NO_PRECOMPILE void pcl::PPFHashMapSearch::setInputFeatureCloud (PointCloud::ConstPtr feature_cloud)