Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build against Boost 1.67 #2284

Closed
jbeich opened this issue Apr 18, 2018 · 9 comments · Fixed by #2338
Closed

Fails to build against Boost 1.67 #2284

jbeich opened this issue Apr 18, 2018 · 9 comments · Fixed by #2338

Comments

@jbeich
Copy link
Contributor

jbeich commented Apr 18, 2018

Regressed by boostorg/uuid@a8a1ec3d826b. Found downstream. CC @yurivict

$ cmake -GNinja .
$ ninja
[...]
In file included from outofcore/tools/outofcore_print.cpp:53:
In file included from outofcore/include/pcl/outofcore/outofcore_impl.h:50:
outofcore/include/pcl/outofcore/impl/octree_disk_container.hpp:77:74: error: no matching constructor for initialization of 'boost::uuids::random_generator' (aka 'boost::uuids::random_generator_pure')
    boost::uuids::random_generator OutofcoreOctreeDiskContainer<PointT>::uuid_gen_ (&rand_gen_);
                                                                         ^          ~~~~~~~~~~
/usr/local/include/boost/uuid/random_generator.hpp:149:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'boost::mt19937 *' (aka 'mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615U, 11, 4294967295U, 7, 2636928640U, 15, 4022730752U, 18, 1812433253> *') to 'const boost::uuids::random_generator_pure' for 1st argument
class random_generator_pure
      ^
/usr/local/include/boost/uuid/random_generator.hpp:149:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
1 error generated.

Error logs:

@ilovezfs
Copy link

@ilovezfs
Copy link

@jbeich defining -DBOOST_UUID_RANDOM_GENERATOR_COMPAT in CXXFLAGS works around the build failure :)

@claudiofantacci
Copy link
Contributor

Also vcpkg installation is failing as reported here microsoft/vcpkg#3289.

I created a patch to add add_definitions(-DBOOST_UUID_RANDOM_GENERATOR_COMPAT) in the root CMakeLists.txt, as suggeste by @jasjuang.
Not sure if this is the cleanest solution, but it's a good workaround.

@UnaNancyOwen
Copy link
Member

I think the breaking change of Bore.Uuid is related this problem.
Please see this release note of Boost 1.67.0.

Uuid:
Breaking change: random_generator is no longer copyable (#61)

@cumtchenchang
Copy link

pcl1.8 make error
[ 17%] Built target pcl_sample_consensus
[ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_rgb24.cpp.o
Scanning dependencies of target pcl_stereo
[ 17%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_grabber.cpp.o
[ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_grabber.cpp.o
/home/cc/software/pcl-1.8-master/stereo/src/stereo_grabber.cpp:44:32: internal compiler error: Segmentation fault
struct pcl::StereoGrabberBase::StereoGrabberImpl
^
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
stereo/CMakeFiles/pcl_stereo.dir/build.make:62: recipe for target 'stereo/CMakeFiles/pcl_stereo.dir/src/stereo_grabber.cpp.o' failed
make[2]: *** [stereo/CMakeFiles/pcl_stereo.dir/src/stereo_grabber.cpp.o] Error 1
CMakeFiles/Makefile2:6068: recipe for target 'stereo/CMakeFiles/pcl_stereo.dir/all' failed
make[1]: *** [stereo/CMakeFiles/pcl_stereo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/oni_grabber.cpp.o
[ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/dinast_grabber.cpp.o
[ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/libpng_wrapper.cpp.o
[ 18%] Linking CXX shared library ../lib/libpcl_io.so
[ 18%] Built target pcl_io
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

@jasjuang
Copy link
Contributor

@cumtchenchang one possible source of internal compiler error is you ran out of memory. Try just make instead of make -j or find a better machine to compile it.

@de-vri-es
Copy link
Contributor

de-vri-es commented Jun 11, 2018

It is actually caused by a change of the default random UUID generator. The new one uses OS provided randomness and doesn't take a PRNG as argument anymore in the constructor. See also #2338.

uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Jun 11, 2018
Patch from PointCloudLibrary/pcl#2284

Reported by:	jbeich (reported the problem on github)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@472203 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Jun 11, 2018
Patch from PointCloudLibrary/pcl#2284

Reported by:	jbeich (reported the problem on github)
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this issue Jun 11, 2018
Patch from PointCloudLibrary/pcl#2284

Reported by:	jbeich (reported the problem on github)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@472203 35697150-7ecd-e111-bb59-0022644237b5
swills pushed a commit to swills/freebsd-ports that referenced this issue Jun 11, 2018
Patch from PointCloudLibrary/pcl#2284

Reported by:	jbeich (reported the problem on github)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@472203 35697150-7ecd-e111-bb59-0022644237b5
Kaju-Bubanja added a commit to Kaju-Bubanja/pcl_catkin that referenced this issue Aug 17, 2018
@Yumin-Sun-00
Copy link

I also have this problem when I build PCL lirbrary on Mac Mojave. What would be the solution?

@taketwo
Copy link
Member

taketwo commented Nov 10, 2018

The solution is to use up-to-date version of PCL (1.9.0), it incorporates the fix to this problem.

shr-project added a commit to shr-project/meta-ros that referenced this issue May 17, 2019
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  I haven't seen any terrible memory-used spikes and build time
  went down significantly on 32c builder
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue May 19, 2019
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  I haven't seen any terrible memory-used spikes and build time
  went down significantly on 32c builder
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 2, 2019
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  I haven't seen any terrible memory-used spikes and build time
  went down significantly on 32c builder
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 3, 2019
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to ros/meta-ros that referenced this issue Jul 4, 2019
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  #609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Apr 17, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Apr 17, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Apr 17, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 2, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 2, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 3, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 3, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 7, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 8, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 23, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 23, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 27, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 27, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 28, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 28, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Aug 17, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Aug 17, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Aug 19, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Aug 21, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Aug 21, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Aug 24, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Sep 8, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Sep 8, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Sep 14, 2020
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Sep 14, 2021
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Sep 14, 2021
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Sep 22, 2021
* resolves issues with newer CMake
  -- Performing Test HAVE_MM_MALLOC
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     HAVE_MM_MALLOC_EXITCODE (advanced)
     HAVE_MM_MALLOC_EXITCODE__TRYRUN_OUTPUT (advanced)
  For details see pcl/1.8.0-r0/build/TryRunResults.cmake
  -- Performing Test HAVE_MM_MALLOC - Success
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  but it still triggers OOMK with -j8 on 32GB RAM builder, use at least
  -j4 to improve the build time a bit
* use git fetcher for sources, github archives can be regenerated
  from time to time with different checksums:
  ros#609
* 0001-make-the-pcl-library-compile-with-gcc6.patch is needed only
  with thud and older, with warrior it builds OK without this
  patch as well

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Oct 1, 2021
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  this allows us to drop PARALLEL_MAKE restriction

* recipes in older melodic (around May 2020) weren't compatible with 1.10 and newer pcl,
  e.g. following recipes were failing:
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robosense/rslidar-driver_1.0.2.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/cartographer-ros/cartographer-ros_1.0.0-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ar-track-alvar/ar-track-alvar_0.7.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ainstein-radar/ainstein-radar-filters_2.0.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/sick-scan/sick-scan_1.4.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ibeo-lux/ibeo-lux_2.0.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-pcl_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/mcl-3dl/mcl-3dl_0.2.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/jsk-common/image-view2_2.2.10.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robot-self-filter/robot-self-filter_0.1.31.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-sdf_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/safety-limiter_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ouster/ouster-driver_0.1.7.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/map-organizer_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/multi-object-tracking-lidar/multi-object-tracking-lidar_1.0.2-1.bb:do_compile

  with errors like:

$ grep error: log.world.pcl-1.10 | sed 's/^.*:.*:.*: error:/error:/g' | sort | uniq -c | sort -n
      3 error: no match for call to '(pcl::detail::CopyPointHelper<mcl_3dl::PointXYZIL, mcl_3dl::PointXYZIL, void>) (const mcl_3dl::PointXYZIL&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZ&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, pcl::PointXYZ, void>) (const pcl::PointXYZ&, pcl::PointXYZ&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZI, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZI&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::getFieldIndex<mcl_3dl::PointXYZIL>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      3 error: no match for call to '(pcl::getFieldIndex<pcl::PointXYZ>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      6 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZRGB, pcl::PointXYZRGB, void>) (const pcl::PointXYZRGB&, pcl::PointXYZRGB&)'
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::azimuth>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::elevation>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::range>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::snr>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::speed>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::t>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     21 error: 'type' was not declared in this scope; did you mean 'boost::type'?
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::label>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned int>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     39 error: 'make_shared' is not a member of 'pcl'
     39 error: expected primary-expression before ')' token
     39 error: expected primary-expression before '>' token
    129 error: 'type' was not declared in this scope
    144 error: no match for call to '(pcl::getFieldIndex(const pcl::PCLPointCloud2&, const string&)::<lambda(int)>) (const pcl::PCLPointField&)'
    144 error: no match for call to '(pcl::getFieldsList(const pcl::PCLPointCloud2&)::<lambda(const int&, const int&)>) (std::__cxx11::basic_string<char>&, const pcl::PCLPointField&)'
    144 error: request for member 'indices' in 'index', which is of non-class type 'const int'
    147 error: no match for call to '(pcl::PolygonMesh::concatenate(pcl::PolygonMesh&, const pcl::PolygonMesh&)::<lambda(int)>) (const pcl::Vertices&)'
    150 error: 'pcl::traits::HasNoNormal' has not been declared
    150 error: 'pcl::traits::HasNoXY' has not been declared
    150 error: 'pcl::traits::HasNoXYZ' has not been declared
    150 error: 'pcl::traits::HasNormal' has not been declared
    150 error: 'pcl::traits::HasXY' has not been declared
    150 error: 'pcl::traits::HasXYZ' has not been declared
    150 error: 'remove_all_extents_t' in namespace 'std' does not name a template type; did you mean 'remove_all_extents'?
    150 error: no match for call to '(pcl::toPCLPointCloud2(const pcl::PCLPointCloud2&, pcl::PCLImage&)::<lambda(const int&)>) (const pcl::PCLPointField&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isNormalFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYZFinite(const PointT&)'
    270 error: the value of 'NrDims' is not usable in a constant expression
    288 error: expected initializer before '<' token
    300 error: #error PCL requires C++14 or above
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::BRISKSignature512, pcl::fields::brisk_descriptor512>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char [64]>'}
....
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::_ReferenceFrame, pcl::fields::z_axis>::decomposed' {aka 'pcl::traits::decomposeArray<float [3]>'}
    432 error: expected unqualified-id before '>' token
    432 error: type/value mismatch at argument 3 in template parameter list for 'template<class PointInT, class PointOutT, class Enable> struct pcl::detail::CopyPointHelper'
    441 error: request for member 'vertices' in 'polygon', which is of non-class type 'int'
    582 error: request for member 'name' in 'field', which is of non-class type 'const int'
    864 error: 'enable_if_t' is not a member of 'std'
    900 error: expected '>' before '<' token
   1458 error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14'
   4776 error: 'enable_if_t' in namespace 'std' does not name a template type
  26574 error: 'divscalar' is not a member of 'pcl::traits'
  26574 error: 'minus' is not a member of 'pcl::traits'
  26574 error: 'minusscalar' is not a member of 'pcl::traits'
  26574 error: 'mulscalar' is not a member of 'pcl::traits'
  26574 error: 'plus' is not a member of 'pcl::traits'
  26574 error: 'plusscalar' is not a member of 'pcl::traits'
  26574 error: template argument 1 is invalid

  but with current version of melodic components (as in 2021-09-27 update) they all build OK

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to shr-project/meta-ros that referenced this issue Oct 2, 2021
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  this allows us to drop PARALLEL_MAKE restriction

* recipes in older melodic (around May 2020) weren't compatible with 1.10 and newer pcl,
  e.g. following recipes were failing:
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robosense/rslidar-driver_1.0.2.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/cartographer-ros/cartographer-ros_1.0.0-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ar-track-alvar/ar-track-alvar_0.7.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ainstein-radar/ainstein-radar-filters_2.0.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/sick-scan/sick-scan_1.4.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ibeo-lux/ibeo-lux_2.0.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-pcl_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/mcl-3dl/mcl-3dl_0.2.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/jsk-common/image-view2_2.2.10.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robot-self-filter/robot-self-filter_0.1.31.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-sdf_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/safety-limiter_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ouster/ouster-driver_0.1.7.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/map-organizer_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/multi-object-tracking-lidar/multi-object-tracking-lidar_1.0.2-1.bb:do_compile

  with errors like:

$ grep error: log.world.pcl-1.10 | sed 's/^.*:.*:.*: error:/error:/g' | sort | uniq -c | sort -n
      3 error: no match for call to '(pcl::detail::CopyPointHelper<mcl_3dl::PointXYZIL, mcl_3dl::PointXYZIL, void>) (const mcl_3dl::PointXYZIL&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZ&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, pcl::PointXYZ, void>) (const pcl::PointXYZ&, pcl::PointXYZ&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZI, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZI&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::getFieldIndex<mcl_3dl::PointXYZIL>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      3 error: no match for call to '(pcl::getFieldIndex<pcl::PointXYZ>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      6 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZRGB, pcl::PointXYZRGB, void>) (const pcl::PointXYZRGB&, pcl::PointXYZRGB&)'
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::azimuth>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::elevation>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::range>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::snr>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::speed>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::t>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     21 error: 'type' was not declared in this scope; did you mean 'boost::type'?
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::label>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned int>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     39 error: 'make_shared' is not a member of 'pcl'
     39 error: expected primary-expression before ')' token
     39 error: expected primary-expression before '>' token
    129 error: 'type' was not declared in this scope
    144 error: no match for call to '(pcl::getFieldIndex(const pcl::PCLPointCloud2&, const string&)::<lambda(int)>) (const pcl::PCLPointField&)'
    144 error: no match for call to '(pcl::getFieldsList(const pcl::PCLPointCloud2&)::<lambda(const int&, const int&)>) (std::__cxx11::basic_string<char>&, const pcl::PCLPointField&)'
    144 error: request for member 'indices' in 'index', which is of non-class type 'const int'
    147 error: no match for call to '(pcl::PolygonMesh::concatenate(pcl::PolygonMesh&, const pcl::PolygonMesh&)::<lambda(int)>) (const pcl::Vertices&)'
    150 error: 'pcl::traits::HasNoNormal' has not been declared
    150 error: 'pcl::traits::HasNoXY' has not been declared
    150 error: 'pcl::traits::HasNoXYZ' has not been declared
    150 error: 'pcl::traits::HasNormal' has not been declared
    150 error: 'pcl::traits::HasXY' has not been declared
    150 error: 'pcl::traits::HasXYZ' has not been declared
    150 error: 'remove_all_extents_t' in namespace 'std' does not name a template type; did you mean 'remove_all_extents'?
    150 error: no match for call to '(pcl::toPCLPointCloud2(const pcl::PCLPointCloud2&, pcl::PCLImage&)::<lambda(const int&)>) (const pcl::PCLPointField&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isNormalFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYZFinite(const PointT&)'
    270 error: the value of 'NrDims' is not usable in a constant expression
    288 error: expected initializer before '<' token
    300 error: #error PCL requires C++14 or above
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::BRISKSignature512, pcl::fields::brisk_descriptor512>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char [64]>'}
....
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::_ReferenceFrame, pcl::fields::z_axis>::decomposed' {aka 'pcl::traits::decomposeArray<float [3]>'}
    432 error: expected unqualified-id before '>' token
    432 error: type/value mismatch at argument 3 in template parameter list for 'template<class PointInT, class PointOutT, class Enable> struct pcl::detail::CopyPointHelper'
    441 error: request for member 'vertices' in 'polygon', which is of non-class type 'int'
    582 error: request for member 'name' in 'field', which is of non-class type 'const int'
    864 error: 'enable_if_t' is not a member of 'std'
    900 error: expected '>' before '<' token
   1458 error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14'
   4776 error: 'enable_if_t' in namespace 'std' does not name a template type
  26574 error: 'divscalar' is not a member of 'pcl::traits'
  26574 error: 'minus' is not a member of 'pcl::traits'
  26574 error: 'minusscalar' is not a member of 'pcl::traits'
  26574 error: 'mulscalar' is not a member of 'pcl::traits'
  26574 error: 'plus' is not a member of 'pcl::traits'
  26574 error: 'plusscalar' is not a member of 'pcl::traits'
  26574 error: template argument 1 is invalid

  but with current version of melodic components (as in 2021-09-27 update) they all build OK

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to ros/meta-ros that referenced this issue Oct 2, 2021
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  this allows us to drop PARALLEL_MAKE restriction

* recipes in older melodic (around May 2020) weren't compatible with 1.10 and newer pcl,
  e.g. following recipes were failing:
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robosense/rslidar-driver_1.0.2.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/cartographer-ros/cartographer-ros_1.0.0-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ar-track-alvar/ar-track-alvar_0.7.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ainstein-radar/ainstein-radar-filters_2.0.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/sick-scan/sick-scan_1.4.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ibeo-lux/ibeo-lux_2.0.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-pcl_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/mcl-3dl/mcl-3dl_0.2.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/jsk-common/image-view2_2.2.10.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robot-self-filter/robot-self-filter_0.1.31.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-sdf_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/safety-limiter_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ouster/ouster-driver_0.1.7.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/map-organizer_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/multi-object-tracking-lidar/multi-object-tracking-lidar_1.0.2-1.bb:do_compile

  with errors like:

$ grep error: log.world.pcl-1.10 | sed 's/^.*:.*:.*: error:/error:/g' | sort | uniq -c | sort -n
      3 error: no match for call to '(pcl::detail::CopyPointHelper<mcl_3dl::PointXYZIL, mcl_3dl::PointXYZIL, void>) (const mcl_3dl::PointXYZIL&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZ&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, pcl::PointXYZ, void>) (const pcl::PointXYZ&, pcl::PointXYZ&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZI, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZI&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::getFieldIndex<mcl_3dl::PointXYZIL>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      3 error: no match for call to '(pcl::getFieldIndex<pcl::PointXYZ>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      6 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZRGB, pcl::PointXYZRGB, void>) (const pcl::PointXYZRGB&, pcl::PointXYZRGB&)'
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::azimuth>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::elevation>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::range>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::snr>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::speed>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::t>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     21 error: 'type' was not declared in this scope; did you mean 'boost::type'?
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::label>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned int>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     39 error: 'make_shared' is not a member of 'pcl'
     39 error: expected primary-expression before ')' token
     39 error: expected primary-expression before '>' token
    129 error: 'type' was not declared in this scope
    144 error: no match for call to '(pcl::getFieldIndex(const pcl::PCLPointCloud2&, const string&)::<lambda(int)>) (const pcl::PCLPointField&)'
    144 error: no match for call to '(pcl::getFieldsList(const pcl::PCLPointCloud2&)::<lambda(const int&, const int&)>) (std::__cxx11::basic_string<char>&, const pcl::PCLPointField&)'
    144 error: request for member 'indices' in 'index', which is of non-class type 'const int'
    147 error: no match for call to '(pcl::PolygonMesh::concatenate(pcl::PolygonMesh&, const pcl::PolygonMesh&)::<lambda(int)>) (const pcl::Vertices&)'
    150 error: 'pcl::traits::HasNoNormal' has not been declared
    150 error: 'pcl::traits::HasNoXY' has not been declared
    150 error: 'pcl::traits::HasNoXYZ' has not been declared
    150 error: 'pcl::traits::HasNormal' has not been declared
    150 error: 'pcl::traits::HasXY' has not been declared
    150 error: 'pcl::traits::HasXYZ' has not been declared
    150 error: 'remove_all_extents_t' in namespace 'std' does not name a template type; did you mean 'remove_all_extents'?
    150 error: no match for call to '(pcl::toPCLPointCloud2(const pcl::PCLPointCloud2&, pcl::PCLImage&)::<lambda(const int&)>) (const pcl::PCLPointField&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isNormalFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYZFinite(const PointT&)'
    270 error: the value of 'NrDims' is not usable in a constant expression
    288 error: expected initializer before '<' token
    300 error: #error PCL requires C++14 or above
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::BRISKSignature512, pcl::fields::brisk_descriptor512>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char [64]>'}
....
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::_ReferenceFrame, pcl::fields::z_axis>::decomposed' {aka 'pcl::traits::decomposeArray<float [3]>'}
    432 error: expected unqualified-id before '>' token
    432 error: type/value mismatch at argument 3 in template parameter list for 'template<class PointInT, class PointOutT, class Enable> struct pcl::detail::CopyPointHelper'
    441 error: request for member 'vertices' in 'polygon', which is of non-class type 'int'
    582 error: request for member 'name' in 'field', which is of non-class type 'const int'
    864 error: 'enable_if_t' is not a member of 'std'
    900 error: expected '>' before '<' token
   1458 error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14'
   4776 error: 'enable_if_t' in namespace 'std' does not name a template type
  26574 error: 'divscalar' is not a member of 'pcl::traits'
  26574 error: 'minus' is not a member of 'pcl::traits'
  26574 error: 'minusscalar' is not a member of 'pcl::traits'
  26574 error: 'mulscalar' is not a member of 'pcl::traits'
  26574 error: 'plus' is not a member of 'pcl::traits'
  26574 error: 'plusscalar' is not a member of 'pcl::traits'
  26574 error: template argument 1 is invalid

  but with current version of melodic components (as in 2021-09-27 update) they all build OK

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to ros/meta-ros that referenced this issue Oct 2, 2021
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  this allows us to drop PARALLEL_MAKE restriction

* recipes in older melodic (around May 2020) weren't compatible with 1.10 and newer pcl,
  e.g. following recipes were failing:
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robosense/rslidar-driver_1.0.2.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/cartographer-ros/cartographer-ros_1.0.0-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ar-track-alvar/ar-track-alvar_0.7.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ainstein-radar/ainstein-radar-filters_2.0.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/sick-scan/sick-scan_1.4.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ibeo-lux/ibeo-lux_2.0.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-pcl_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/mcl-3dl/mcl-3dl_0.2.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/jsk-common/image-view2_2.2.10.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robot-self-filter/robot-self-filter_0.1.31.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-sdf_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/safety-limiter_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ouster/ouster-driver_0.1.7.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/map-organizer_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/multi-object-tracking-lidar/multi-object-tracking-lidar_1.0.2-1.bb:do_compile

  with errors like:

$ grep error: log.world.pcl-1.10 | sed 's/^.*:.*:.*: error:/error:/g' | sort | uniq -c | sort -n
      3 error: no match for call to '(pcl::detail::CopyPointHelper<mcl_3dl::PointXYZIL, mcl_3dl::PointXYZIL, void>) (const mcl_3dl::PointXYZIL&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZ&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, pcl::PointXYZ, void>) (const pcl::PointXYZ&, pcl::PointXYZ&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZI, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZI&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::getFieldIndex<mcl_3dl::PointXYZIL>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      3 error: no match for call to '(pcl::getFieldIndex<pcl::PointXYZ>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      6 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZRGB, pcl::PointXYZRGB, void>) (const pcl::PointXYZRGB&, pcl::PointXYZRGB&)'
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::azimuth>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::elevation>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::range>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::snr>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::speed>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::t>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     21 error: 'type' was not declared in this scope; did you mean 'boost::type'?
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::label>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned int>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     39 error: 'make_shared' is not a member of 'pcl'
     39 error: expected primary-expression before ')' token
     39 error: expected primary-expression before '>' token
    129 error: 'type' was not declared in this scope
    144 error: no match for call to '(pcl::getFieldIndex(const pcl::PCLPointCloud2&, const string&)::<lambda(int)>) (const pcl::PCLPointField&)'
    144 error: no match for call to '(pcl::getFieldsList(const pcl::PCLPointCloud2&)::<lambda(const int&, const int&)>) (std::__cxx11::basic_string<char>&, const pcl::PCLPointField&)'
    144 error: request for member 'indices' in 'index', which is of non-class type 'const int'
    147 error: no match for call to '(pcl::PolygonMesh::concatenate(pcl::PolygonMesh&, const pcl::PolygonMesh&)::<lambda(int)>) (const pcl::Vertices&)'
    150 error: 'pcl::traits::HasNoNormal' has not been declared
    150 error: 'pcl::traits::HasNoXY' has not been declared
    150 error: 'pcl::traits::HasNoXYZ' has not been declared
    150 error: 'pcl::traits::HasNormal' has not been declared
    150 error: 'pcl::traits::HasXY' has not been declared
    150 error: 'pcl::traits::HasXYZ' has not been declared
    150 error: 'remove_all_extents_t' in namespace 'std' does not name a template type; did you mean 'remove_all_extents'?
    150 error: no match for call to '(pcl::toPCLPointCloud2(const pcl::PCLPointCloud2&, pcl::PCLImage&)::<lambda(const int&)>) (const pcl::PCLPointField&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isNormalFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYZFinite(const PointT&)'
    270 error: the value of 'NrDims' is not usable in a constant expression
    288 error: expected initializer before '<' token
    300 error: #error PCL requires C++14 or above
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::BRISKSignature512, pcl::fields::brisk_descriptor512>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char [64]>'}
....
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::_ReferenceFrame, pcl::fields::z_axis>::decomposed' {aka 'pcl::traits::decomposeArray<float [3]>'}
    432 error: expected unqualified-id before '>' token
    432 error: type/value mismatch at argument 3 in template parameter list for 'template<class PointInT, class PointOutT, class Enable> struct pcl::detail::CopyPointHelper'
    441 error: request for member 'vertices' in 'polygon', which is of non-class type 'int'
    582 error: request for member 'name' in 'field', which is of non-class type 'const int'
    864 error: 'enable_if_t' is not a member of 'std'
    900 error: expected '>' before '<' token
   1458 error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14'
   4776 error: 'enable_if_t' in namespace 'std' does not name a template type
  26574 error: 'divscalar' is not a member of 'pcl::traits'
  26574 error: 'minus' is not a member of 'pcl::traits'
  26574 error: 'minusscalar' is not a member of 'pcl::traits'
  26574 error: 'mulscalar' is not a member of 'pcl::traits'
  26574 error: 'plus' is not a member of 'pcl::traits'
  26574 error: 'plusscalar' is not a member of 'pcl::traits'
  26574 error: template argument 1 is invalid

  but with current version of melodic components (as in 2021-09-27 update) they all build OK

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to ros/meta-ros that referenced this issue Oct 2, 2021
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  this allows us to drop PARALLEL_MAKE restriction

* recipes in older melodic (around May 2020) weren't compatible with 1.10 and newer pcl,
  e.g. following recipes were failing:
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robosense/rslidar-driver_1.0.2.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/cartographer-ros/cartographer-ros_1.0.0-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ar-track-alvar/ar-track-alvar_0.7.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ainstein-radar/ainstein-radar-filters_2.0.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/sick-scan/sick-scan_1.4.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ibeo-lux/ibeo-lux_2.0.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-pcl_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/mcl-3dl/mcl-3dl_0.2.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/jsk-common/image-view2_2.2.10.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robot-self-filter/robot-self-filter_0.1.31.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-sdf_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/safety-limiter_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ouster/ouster-driver_0.1.7.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/map-organizer_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/multi-object-tracking-lidar/multi-object-tracking-lidar_1.0.2-1.bb:do_compile

  with errors like:

$ grep error: log.world.pcl-1.10 | sed 's/^.*:.*:.*: error:/error:/g' | sort | uniq -c | sort -n
      3 error: no match for call to '(pcl::detail::CopyPointHelper<mcl_3dl::PointXYZIL, mcl_3dl::PointXYZIL, void>) (const mcl_3dl::PointXYZIL&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZ&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, pcl::PointXYZ, void>) (const pcl::PointXYZ&, pcl::PointXYZ&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZI, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZI&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::getFieldIndex<mcl_3dl::PointXYZIL>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      3 error: no match for call to '(pcl::getFieldIndex<pcl::PointXYZ>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      6 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZRGB, pcl::PointXYZRGB, void>) (const pcl::PointXYZRGB&, pcl::PointXYZRGB&)'
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::azimuth>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::elevation>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::range>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::snr>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::speed>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::t>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     21 error: 'type' was not declared in this scope; did you mean 'boost::type'?
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::label>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned int>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     39 error: 'make_shared' is not a member of 'pcl'
     39 error: expected primary-expression before ')' token
     39 error: expected primary-expression before '>' token
    129 error: 'type' was not declared in this scope
    144 error: no match for call to '(pcl::getFieldIndex(const pcl::PCLPointCloud2&, const string&)::<lambda(int)>) (const pcl::PCLPointField&)'
    144 error: no match for call to '(pcl::getFieldsList(const pcl::PCLPointCloud2&)::<lambda(const int&, const int&)>) (std::__cxx11::basic_string<char>&, const pcl::PCLPointField&)'
    144 error: request for member 'indices' in 'index', which is of non-class type 'const int'
    147 error: no match for call to '(pcl::PolygonMesh::concatenate(pcl::PolygonMesh&, const pcl::PolygonMesh&)::<lambda(int)>) (const pcl::Vertices&)'
    150 error: 'pcl::traits::HasNoNormal' has not been declared
    150 error: 'pcl::traits::HasNoXY' has not been declared
    150 error: 'pcl::traits::HasNoXYZ' has not been declared
    150 error: 'pcl::traits::HasNormal' has not been declared
    150 error: 'pcl::traits::HasXY' has not been declared
    150 error: 'pcl::traits::HasXYZ' has not been declared
    150 error: 'remove_all_extents_t' in namespace 'std' does not name a template type; did you mean 'remove_all_extents'?
    150 error: no match for call to '(pcl::toPCLPointCloud2(const pcl::PCLPointCloud2&, pcl::PCLImage&)::<lambda(const int&)>) (const pcl::PCLPointField&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isNormalFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYZFinite(const PointT&)'
    270 error: the value of 'NrDims' is not usable in a constant expression
    288 error: expected initializer before '<' token
    300 error: #error PCL requires C++14 or above
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::BRISKSignature512, pcl::fields::brisk_descriptor512>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char [64]>'}
....
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::_ReferenceFrame, pcl::fields::z_axis>::decomposed' {aka 'pcl::traits::decomposeArray<float [3]>'}
    432 error: expected unqualified-id before '>' token
    432 error: type/value mismatch at argument 3 in template parameter list for 'template<class PointInT, class PointOutT, class Enable> struct pcl::detail::CopyPointHelper'
    441 error: request for member 'vertices' in 'polygon', which is of non-class type 'int'
    582 error: request for member 'name' in 'field', which is of non-class type 'const int'
    864 error: 'enable_if_t' is not a member of 'std'
    900 error: expected '>' before '<' token
   1458 error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14'
   4776 error: 'enable_if_t' in namespace 'std' does not name a template type
  26574 error: 'divscalar' is not a member of 'pcl::traits'
  26574 error: 'minus' is not a member of 'pcl::traits'
  26574 error: 'minusscalar' is not a member of 'pcl::traits'
  26574 error: 'mulscalar' is not a member of 'pcl::traits'
  26574 error: 'plus' is not a member of 'pcl::traits'
  26574 error: 'plusscalar' is not a member of 'pcl::traits'
  26574 error: template argument 1 is invalid

  but with current version of melodic components (as in 2021-09-27 update) they all build OK

Signed-off-by: Martin Jansa <[email protected]>
shr-project added a commit to ros/meta-ros that referenced this issue Oct 2, 2021
* should resolve the issues with memory usage during the build:
  PointCloudLibrary/pcl#2284 (comment)
  this allows us to drop PARALLEL_MAKE restriction

* recipes in older melodic (around May 2020) weren't compatible with 1.10 and newer pcl,
  e.g. following recipes were failing:
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robosense/rslidar-driver_1.0.2.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/cartographer-ros/cartographer-ros_1.0.0-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ar-track-alvar/ar-track-alvar_0.7.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ainstein-radar/ainstein-radar-filters_2.0.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/sick-scan/sick-scan_1.4.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ibeo-lux/ibeo-lux_2.0.1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-pcl_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/mcl-3dl/mcl-3dl_0.2.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/jsk-common/image-view2_2.2.10.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/robot-self-filter/robot-self-filter_0.1.31.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/grid-map/grid-map-sdf_1.6.2-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/safety-limiter_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/ouster/ouster-driver_0.1.7.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/neonavigation/map-organizer_0.8.1-1.bb:do_compile
  ros1-melodic-gatesgarth/meta-ros/meta-ros1-melodic/generated-recipes/multi-object-tracking-lidar/multi-object-tracking-lidar_1.0.2-1.bb:do_compile

  with errors like:

$ grep error: log.world.pcl-1.10 | sed 's/^.*:.*:.*: error:/error:/g' | sort | uniq -c | sort -n
      3 error: no match for call to '(pcl::detail::CopyPointHelper<mcl_3dl::PointXYZIL, mcl_3dl::PointXYZIL, void>) (const mcl_3dl::PointXYZIL&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZ&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZ, pcl::PointXYZ, void>) (const pcl::PointXYZ&, pcl::PointXYZ&)'
      3 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZI, mcl_3dl::PointXYZIL, void>) (const pcl::PointXYZI&, mcl_3dl::PointXYZIL&)'
      3 error: no match for call to '(pcl::getFieldIndex<mcl_3dl::PointXYZIL>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      3 error: no match for call to '(pcl::getFieldIndex<pcl::PointXYZ>::<lambda(const int&)>) (const pcl::PCLPointField&)'
      6 error: no match for call to '(pcl::detail::CopyPointHelper<pcl::PointXYZRGB, pcl::PointXYZRGB, void>) (const pcl::PointXYZRGB&, pcl::PointXYZRGB&)'
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::azimuth>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::elevation>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::range>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::snr>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::speed>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<PointRadarTarget, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::t>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointOS1, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIR, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRF, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::noise>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::reflectivity>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::ring>::decomposed' {aka 'pcl::traits::decomposeArray<short unsigned int>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     12 error: 'type' is not a member of 'pcl::traits::datatype<ouster_driver::OS1::PointXYZIRFN, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     21 error: 'type' was not declared in this scope; did you mean 'boost::type'?
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::intensity>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::label>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned int>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::x>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::y>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     24 error: 'type' is not a member of 'pcl::traits::datatype<mcl_3dl::PointXYZIL, pcl::fields::z>::decomposed' {aka 'pcl::traits::decomposeArray<float>'}
     39 error: 'make_shared' is not a member of 'pcl'
     39 error: expected primary-expression before ')' token
     39 error: expected primary-expression before '>' token
    129 error: 'type' was not declared in this scope
    144 error: no match for call to '(pcl::getFieldIndex(const pcl::PCLPointCloud2&, const string&)::<lambda(int)>) (const pcl::PCLPointField&)'
    144 error: no match for call to '(pcl::getFieldsList(const pcl::PCLPointCloud2&)::<lambda(const int&, const int&)>) (std::__cxx11::basic_string<char>&, const pcl::PCLPointField&)'
    144 error: request for member 'indices' in 'index', which is of non-class type 'const int'
    147 error: no match for call to '(pcl::PolygonMesh::concatenate(pcl::PolygonMesh&, const pcl::PolygonMesh&)::<lambda(int)>) (const pcl::Vertices&)'
    150 error: 'pcl::traits::HasNoNormal' has not been declared
    150 error: 'pcl::traits::HasNoXY' has not been declared
    150 error: 'pcl::traits::HasNoXYZ' has not been declared
    150 error: 'pcl::traits::HasNormal' has not been declared
    150 error: 'pcl::traits::HasXY' has not been declared
    150 error: 'pcl::traits::HasXYZ' has not been declared
    150 error: 'remove_all_extents_t' in namespace 'std' does not name a template type; did you mean 'remove_all_extents'?
    150 error: no match for call to '(pcl::toPCLPointCloud2(const pcl::PCLPointCloud2&, pcl::PCLImage&)::<lambda(const int&)>) (const pcl::PCLPointField&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isNormalFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYFinite(const PointT&)'
    150 error: redefinition of 'template<class PointT, <typeprefixerror><anonymous> > bool pcl::isXYZFinite(const PointT&)'
    270 error: the value of 'NrDims' is not usable in a constant expression
    288 error: expected initializer before '<' token
    300 error: #error PCL requires C++14 or above
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::BRISKSignature512, pcl::fields::brisk_descriptor512>::decomposed' {aka 'pcl::traits::decomposeArray<unsigned char [64]>'}
....
    300 error: 'type' is not a member of 'pcl::traits::datatype<pcl::_ReferenceFrame, pcl::fields::z_axis>::decomposed' {aka 'pcl::traits::decomposeArray<float [3]>'}
    432 error: expected unqualified-id before '>' token
    432 error: type/value mismatch at argument 3 in template parameter list for 'template<class PointInT, class PointOutT, class Enable> struct pcl::detail::CopyPointHelper'
    441 error: request for member 'vertices' in 'polygon', which is of non-class type 'int'
    582 error: request for member 'name' in 'field', which is of non-class type 'const int'
    864 error: 'enable_if_t' is not a member of 'std'
    900 error: expected '>' before '<' token
   1458 error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14'
   4776 error: 'enable_if_t' in namespace 'std' does not name a template type
  26574 error: 'divscalar' is not a member of 'pcl::traits'
  26574 error: 'minus' is not a member of 'pcl::traits'
  26574 error: 'minusscalar' is not a member of 'pcl::traits'
  26574 error: 'mulscalar' is not a member of 'pcl::traits'
  26574 error: 'plus' is not a member of 'pcl::traits'
  26574 error: 'plusscalar' is not a member of 'pcl::traits'
  26574 error: template argument 1 is invalid

  but with current version of melodic components (as in 2021-09-27 update) they all build OK

Signed-off-by: Martin Jansa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants