PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.92k stars 4.61k forks source link

PCL 1.9.1 with Eigen 3.3.9 build from source in Ubuntu 22.04 #5742

Closed monajalal closed 1 year ago

monajalal commented 1 year ago

I got the error during make -j8 step:

(zephyr) mona@ard-gpu-01:~/Downloads/pcl-pcl-1.9.1/build$ make -j8
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1626:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointSurfel>, pcl::PointSurfel>::value_type’ {aka ‘struct pcl::PointSurfel’} declared here
 1626 |   struct PointSurfel : public _PointSurfel
      |          ^~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointWithViewpoint; PointOutT = pcl::PointSurfel]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointSurfel; PointSceneT = pcl::PointWithViewpoint]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointSurfel>, pcl::PointSurfel>::value_type’ {aka ‘struct pcl::PointSurfel’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointWithViewpoint’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1626:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointSurfel>, pcl::PointSurfel>::value_type’ {aka ‘struct pcl::PointSurfel’} declared here
 1626 |   struct PointSurfel : public _PointSurfel
      |          ^~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointWithScale; PointOutT = pcl::PointSurfel]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointSurfel; PointSceneT = pcl::PointWithScale]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointSurfel>, pcl::PointSurfel>::value_type’ {aka ‘struct pcl::PointSurfel’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointWithScale’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1626:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointSurfel>, pcl::PointSurfel>::value_type’ {aka ‘struct pcl::PointSurfel’} declared here
 1626 |   struct PointSurfel : public _PointSurfel
      |          ^~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointDEM; PointOutT = pcl::PointSurfel]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointSurfel; PointSceneT = pcl::PointDEM]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointSurfel>, pcl::PointSurfel>::value_type’ {aka ‘struct pcl::PointSurfel’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointDEM’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1626:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointSurfel>, pcl::PointSurfel>::value_type’ {aka ‘struct pcl::PointSurfel’} declared here
 1626 |   struct PointSurfel : public _PointSurfel
      |          ^~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZ; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZ]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZ’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZI; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZI]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZI’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZL; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZL]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZL’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZRGBA; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZRGBA]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZRGBA’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZRGB; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZRGB]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZRGB’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZRGBL; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZRGBL]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZRGBL’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZHSV; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZHSV]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZHSV’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::InterestPoint; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::InterestPoint]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::InterestPoint’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointNormal; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointNormal]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointNormal’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZRGBNormal; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZRGBNormal]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZRGBNormal’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZINormal; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZINormal]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZINormal’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointXYZLNormal; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointXYZLNormal]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZLNormal’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointWithRange; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointWithRange]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointWithRange’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointWithViewpoint; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointWithViewpoint]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointWithViewpoint’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointWithScale; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointWithScale]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointWithScale’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree.h:46,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/kdtree/include/pcl/kdtree/kdtree_flann.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/search/include/pcl/search/kdtree.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection.h:49,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/registration/include/pcl/registration/correspondence_rejection_sample_consensus.h:43,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:45,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:43:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointSceneT>&) [with PointInT = pcl::PointSurfel; PointOutT = pcl::PointDEM]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp:82:49:   required from ‘void pcl::GeometricConsistencyGrouping<PointModelT, PointSceneT>::clusterCorrespondences(std::vector<std::vector<pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> > >&) [with PointModelT = pcl::PointDEM; PointSceneT = pcl::PointSurfel]’
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:48:3:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointSurfel’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/cg/geometric_consistency.cpp:40:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:1663:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointDEM>, pcl::PointDEM>::value_type’ {aka ‘struct pcl::PointDEM’} declared here
 1663 |   struct PointDEM : public _PointDEM
      |          ^~~~~~~~
[ 96%] Building CXX object recognition/CMakeFiles/pcl_recognition.dir/src/face_detection/face_detector_data_provider.cpp.o
cc1plus: warning: ‘-Wabi’ won’t warn about anything [-Wabi]
cc1plus: note: ‘-Wabi’ warns about differences from the most up-to-date ABI, which is also used by default
cc1plus: note: use e.g. ‘-Wabi=11’ to warn about changes from GCC 7
[ 97%] Building CXX object recognition/CMakeFiles/pcl_recognition.dir/src/face_detection/rf_face_detector_trainer.cpp.o
cc1plus: warning: ‘-Wabi’ won’t warn about anything [-Wabi]
cc1plus: note: ‘-Wabi’ warns about differences from the most up-to-date ABI, which is also used by default
cc1plus: note: use e.g. ‘-Wabi=11’ to warn about changes from GCC 7
make[2]: *** [recognition/CMakeFiles/pcl_recognition.dir/build.make:160: recognition/CMakeFiles/pcl_recognition.dir/src/hv/hv_go.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 98%] Linking CXX executable ../bin/pcl_transform_from_viewpoint
[ 98%] Built target pcl_transform_from_viewpoint
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/io/include/pcl/io/file_io.h:42,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/io/include/pcl/io/pcd_io.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/face_detection/rf_face_detector_trainer.cpp:10:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointOutT>&) [with PointInT = pcl::PointXYZ; PointOutT = pcl::PointNormal]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/face_detection/rf_face_detector_trainer.cpp:453:25:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointNormal>, pcl::PointNormal>::value_type’ {aka ‘struct pcl::PointNormal’} from an array of ‘const value_type’ {aka ‘const struct pcl::PointXYZ’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/common.hpp:41,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/common.h:206,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/face_detection/face_detector_data_provider.h:11,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/face_detection/rf_face_detector_trainer.h:11,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/face_detection/rf_face_detector_trainer.cpp:8:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:871:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointNormal>, pcl::PointNormal>::value_type’ {aka ‘struct pcl::PointNormal’} declared here
  871 |   struct PointNormal : public _PointNormal
      |          ^~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/io.h:534,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/io/include/pcl/io/file_io.h:42,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/io/include/pcl/io/pcd_io.h:44,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/face_detection/rf_face_detector_trainer.cpp:10:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp: In instantiation of ‘void pcl::copyPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointOutT>&) [with PointInT = pcl::Normal; PointOutT = pcl::PointNormal]’:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/face_detection/rf_face_detector_trainer.cpp:454:25:   required from here
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/io.hpp:128:12: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointNormal>, pcl::PointNormal>::value_type’ {aka ‘struct pcl::PointNormal’} from an array of ‘const value_type’ {aka ‘const struct pcl::Normal’} [-Wclass-memaccess]
  128 |     memcpy (&cloud_out.points[0], &cloud_in.points[0], cloud_in.points.size () * sizeof (PointInT));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/point_types.h:359,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/impl/common.hpp:41,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/common/common.h:206,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/face_detection/face_detector_data_provider.h:11,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/face_detection/rf_face_detector_trainer.h:11,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/face_detection/rf_face_detector_trainer.cpp:8:
/home/mona/Downloads/pcl-pcl-1.9.1/common/include/pcl/impl/point_types.hpp:871:10: note: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocator<pcl::PointNormal>, pcl::PointNormal>::value_type’ {aka ‘struct pcl::PointNormal’} declared here
  871 |   struct PointNormal : public _PointNormal
      |          ^~~~~~~~~~~
make[1]: *** [CMakeFiles/Makefile2:1573: recognition/CMakeFiles/pcl_recognition.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

here's some sys info:

(zephyr) mona@ard-gpu-01:~/Downloads/pcl-pcl-1.9.1/build$ cmake --version
cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

(zephyr) mona@ard-gpu-01:~/Downloads/pcl-pcl-1.9.1/build$ gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(zephyr) mona@ard-gpu-01:~/Downloads/pcl-pcl-1.9.1/build$ uname -a
Linux ard-gpu-01 5.19.0-43-generic #44~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon May 22 13:39:36 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

(zephyr) mona@ard-gpu-01:~/Downloads/pcl-pcl-1.9.1/build$ lsb_release -a
LSB Version:    core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy

Describe the bug

A clear and concise description of what the bug is.

Context

What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world

Expected behavior

A clear and concise description of what you expected to happen.

Current Behavior

What happens instead of the expected behavior?

To Reproduce

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. A reproducible example helps to provide faster answers. If you load data e.g. from a PCD or PLY file, please provide the file.

Screenshots/Code snippets

In order to help explain your problem, please consider adding

Your Environment (please complete the following information):

Possible Solution

Not obligatory, but suggest a fix/reason for the bug. Feel free to create a PR if you feel comfortable.

Additional context

Add any other context about the problem here.

monajalal commented 1 year ago

installed metslib-0.5.3 from source and I get this error:

[ 93%] Built target pcl_transform_from_viewpoint
Consolidate compiler generated dependencies of target pcl_recognition
[ 94%] Built target pcl_ndt2d
[ 94%] Built target pcl_ndt3d
[ 95%] Built target pcl_icp
[ 96%] Building CXX object recognition/CMakeFiles/pcl_recognition.dir/src/hv/hv_go.cpp.o
cc1plus: warning: ‘-Wabi’ won’t warn about anything [-Wabi]
cc1plus: note: ‘-Wabi’ warns about differences from the most up-to-date ABI, which is also used by default
cc1plus: note: use e.g. ‘-Wabi=11’ to warn about changes from GCC 7
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:148,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/abstract-search.hh:137:7: error: ISO C++17 does not allow dynamic exception specifications
  137 |       throw(no_moves_error) = 0;
      |       ^~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:149,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/local-search.hh:83:7: error: ISO C++17 does not allow dynamic exception specifications
   83 |       throw(no_moves_error);
      |       ^~~~~
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/local-search.hh:110:3: error: ISO C++17 does not allow dynamic exception specifications
  110 |   throw(no_moves_error)
      |   ^~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:150,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/tabu-search.hh:245:7: error: ISO C++17 does not allow dynamic exception specifications
  245 |       throw(no_moves_error);
      |       ^~~~~
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/tabu-search.hh:404:3: error: ISO C++17 does not allow dynamic exception specifications
  404 |   throw(no_moves_error)
      |   ^~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:151,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
                 from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/simulated-annealing.hh:125:7: error: ISO C++17 does not allow dynamic exception specifications
  125 |       throw(no_moves_error);
      |       ^~~~~
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/simulated-annealing.hh:224:3: error: ISO C++17 does not allow dynamic exception specifications
  224 |   throw(no_moves_error)
      |   ^~~~~
make[2]: *** [recognition/CMakeFiles/pcl_recognition.dir/build.make:160: recognition/CMakeFiles/pcl_recognition.dir/src/hv/hv_go.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1573: recognition/CMakeFiles/pcl_recognition.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
monajalal commented 1 year ago

I installed metslib-trunk-2020-5-13 from source and rm -rf build for pcl 1.9.1 and still got error at 98% for $ make -j16

make[1]: *** [CMakeFiles/Makefile2:1573: recognition/CMakeFiles/pcl_recognition.dir/all] Error 2 

Screenshot from 2023-06-06 15-05-39

Please let me know if you have any suggestions

monajalal commented 1 year ago

fixed


cmake -DCMAKE_CXX_STANDARD=14 ..
make -j16
``