File tree Expand file tree Collapse file tree 6 files changed +45
-3
lines changed
Expand file tree Collapse file tree 6 files changed +45
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ PCL_ADD_INCLUDES("${SUBSUBSYS_NAME}" "${SUBSYS_NAME}/${SUBSUBSYS_NAME}/pipeline/
9090
9191set (LIB_NAME "pcl_${SUBSUBSYS_NAME} " )
9292PCL_ADD_LIBRARY(${LIB_NAME} COMPONENT ${SUBSUBSYS_NAME} SOURCES ${srcs} ${impl_incs_pipeline} ${incs_utils} ${incs_fw} ${incs_fw_global} ${incs_fw_local} ${incc_tools_framework} ${incs_pipelines} ${incs_pc_source} )
93- target_link_libraries ("${LIB_NAME} " pcl_apps pcl_common pcl_io pcl_filters pcl_visualization pcl_segmentation pcl_surface pcl_features pcl_sample_consensus pcl_search)
93+ target_link_libraries ("${LIB_NAME} " pcl_apps pcl_common pcl_io pcl_filters pcl_visualization pcl_segmentation pcl_surface pcl_features pcl_sample_consensus pcl_search pcl_registration )
9494
9595if (WITH_OPENNI)
9696 target_link_libraries ("${LIB_NAME} " ${OPENNI_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ if(VTK_FOUND)
9292 src/manual_registration/pcl_viewer_dialog.ui
9393 BUNDLE )
9494
95- target_link_libraries (pcl_manual_registration pcl_common pcl_io pcl_visualization pcl_segmentation pcl_features pcl_surface ${QTX} ::Widgets)
95+ target_link_libraries (pcl_manual_registration pcl_common pcl_io pcl_visualization pcl_segmentation pcl_features pcl_surface pcl_registration ${QTX} ::Widgets)
9696
9797 PCL_ADD_EXECUTABLE(pcl_pcd_video_player
9898 COMPONENT
Original file line number Diff line number Diff line change 4747#include < pcl/registration/transformation_estimation_point_to_plane_lls.h>
4848#include < pcl/registration/transformation_estimation_svd.h>
4949#include < pcl/registration/transformation_estimation_symmetric_point_to_plane_lls.h>
50- #include < pcl/memory.h> // for dynamic_pointer_cast, pcl::make_shared, shared_ptr
50+ #include < pcl/memory.h> // for dynamic_pointer_cast, pcl::make_shared, shared_ptr
51+ #include < pcl/pcl_config.h> // for PCL_NO_PRECOMPILE
5152
5253namespace pcl {
5354/* * \brief @b IterativeClosestPoint provides a base implementation of the Iterative
@@ -447,3 +448,9 @@ class IterativeClosestPointWithNormals
447448} // namespace pcl
448449
449450#include < pcl/registration/impl/icp.hpp>
451+
452+ #if !defined(PCL_NO_PRECOMPILE) && !defined(PCL_REGISTRATION_ICP_CPP_)
453+ extern template class pcl ::IterativeClosestPoint<pcl::PointXYZ, pcl::PointXYZ>;
454+ extern template class pcl ::IterativeClosestPoint<pcl::PointXYZI, pcl::PointXYZI>;
455+ extern template class pcl ::IterativeClosestPoint<pcl::PointXYZRGB, pcl::PointXYZRGB>;
456+ #endif // PCL_NO_PRECOMPILE
Original file line number Diff line number Diff line change 4242
4343#include < pcl/registration/transformation_estimation.h>
4444#include < pcl/cloud_iterator.h>
45+ #include < pcl/pcl_config.h> // for PCL_NO_PRECOMPILE
4546
4647namespace pcl {
4748namespace registration {
@@ -154,3 +155,13 @@ class TransformationEstimationSVD
154155} // namespace pcl
155156
156157#include < pcl/registration/impl/transformation_estimation_svd.hpp>
158+
159+ #if !defined(PCL_NO_PRECOMPILE) && \
160+ !defined (PCL_REGISTRATION_TRANSFORMATION_ESTIMATION_SVD_CPP_)
161+ extern template class pcl ::registration::TransformationEstimationSVD<pcl::PointXYZ,
162+ pcl::PointXYZ>;
163+ extern template class pcl ::registration::TransformationEstimationSVD<pcl::PointXYZI,
164+ pcl::PointXYZI>;
165+ extern template class pcl ::registration::TransformationEstimationSVD<pcl::PointXYZRGB,
166+ pcl::PointXYZRGB>;
167+ #endif // PCL_NO_PRECOMPILE
Original file line number Diff line number Diff line change 3737 *
3838 */
3939
40+ #define PCL_REGISTRATION_ICP_CPP_
4041#include < pcl/registration/icp.h>
42+ #include < pcl/pcl_config.h> // for PCL_NO_PRECOMPILE
43+
44+ #ifndef PCL_NO_PRECOMPILE
45+ #include < pcl/pcl_exports.h> // for PCL_EXPORTS
46+ #include < pcl/point_types.h>
47+ template class PCL_EXPORTS pcl::IterativeClosestPoint<pcl::PointXYZ, pcl::PointXYZ>;
48+ template class PCL_EXPORTS pcl::IterativeClosestPoint<pcl::PointXYZI, pcl::PointXYZI>;
49+ template class PCL_EXPORTS
50+ pcl::IterativeClosestPoint<pcl::PointXYZRGB, pcl::PointXYZRGB>;
51+ #endif // PCL_NO_PRECOMPILE
Original file line number Diff line number Diff line change 3636 *
3737 */
3838
39+ #define PCL_REGISTRATION_TRANSFORMATION_ESTIMATION_SVD_CPP_
3940#include < pcl/registration/transformation_estimation_svd.h>
41+ #include < pcl/pcl_config.h> // for PCL_NO_PRECOMPILE
42+
43+ #ifndef PCL_NO_PRECOMPILE
44+ #include < pcl/pcl_exports.h> // for PCL_EXPORTS
45+ #include < pcl/point_types.h>
46+ template class PCL_EXPORTS
47+ pcl::registration::TransformationEstimationSVD<pcl::PointXYZ, pcl::PointXYZ>;
48+ template class PCL_EXPORTS
49+ pcl::registration::TransformationEstimationSVD<pcl::PointXYZI, pcl::PointXYZI>;
50+ template class PCL_EXPORTS
51+ pcl::registration::TransformationEstimationSVD<pcl::PointXYZRGB, pcl::PointXYZRGB>;
52+ #endif // PCL_NO_PRECOMPILE
You can’t perform that action at this time.
0 commit comments