Commit Graph

9 Commits

Author SHA1 Message Date
Martin Jansa 59121ac705 pcl: upgrade to 1.9.1
* 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:
  https://github.com/PointCloudLibrary/pcl/issues/2284#issuecomment-437584571
  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:
  https://github.com/bmwcarit/meta-ros/issues/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 <Martin.Jansa@gmail.com>
2019-07-03 19:52:51 +00:00
Lukas Bulwahn 342d6be449 pcl: update Upstream-Status of patch
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-06-16 22:51:42 +02:00
Martin Jansa 39170a8677 pcl: disable parallel build (resolves #588)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
[lukas.bulwahn@gmail.com: include reference to meta-ros issue tracker]
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-06-16 22:51:42 +02:00
Martin Jansa 41178258b5 pcl: build with gcc-8
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
[lukas.bulwahn@gmail.com: edited patch and rewritten commit message]
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2018-06-16 15:50:32 +02:00
Lukas Bulwahn 9a21f5edf4 pcl: patch CMake script to compile with gcc6 (#392) 2016-10-12 15:10:22 +02:00
Lukas Bulwahn 5a8551ca64 pcl: updating to 1.8.0
Due to the update to 1.8.0, the upstream-accepted patch is not
anymore needed to be applied.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-10-12 14:42:48 +02:00
Lukas Bulwahn 027c774cd7 pcl: updating to 1.7.2
The update to the latest version 1.7.2 was triggered by compilation
errors in pcl 1.7.0 (i.e., in file common/include/pcl/point_types.h)
due to the update of boost to 1.60.0 in openembedded-core [1].
This failure was detected by the internal CI build on 2016-01-15.

Due to the version update, the commit drops patch
`Fix incompatibility with Boost 1.56`, as the change is included
upstream in version 1.7.2. This commit also adds the upstream-accepted
patch `Add "WITH_OPENGL" option (...)` to make the dependency to OpenGL
libraries optional.

The commit configures package dependencies and compiles with the
least possible packages, so that the pcl-ros recipe compiles. As a
result, all optional packages in PCL, except qhull, can be set to FALSE.

If qhull is deactivated, the do_configure task of pcl-ros reports:

  | -- Could NOT find qhull (missing:  QHULL_LIBRARY)
  | ** WARNING ** surface features related to qhull will be disabled

However, in the do_compile task of pcl-ros, the build process assumes
that the surface features related to qhull are actually never disabled,
i.e., if qhull is deactivated, compiling pcl-ros fails with:

  | In file included from [...]/pcl_ros/src/pcl_ros/surface/convex_hull.cpp:40:0:
  | [...]/pcl_ros/include/pcl_ros/surface/convex_hull.h:44:37: fatal error: pcl/surface/convex_hull.h: No such file or directory
  | compilation terminated.
  | CMakeFiles/pcl_ros_surface.dir/build.make:89: recipe for target 'CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/convex_hull.cpp.o' failed
  | make[2]: *** [CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/convex_hull.cpp.o] Error 1
  | make[2]: Leaving directory '[...]/build'
  | CMakeFiles/Makefile2:1173: recipe for target 'CMakeFiles/pcl_ros_surface.dir/all' failed
  | make[1]: *** [CMakeFiles/pcl_ros_surface.dir/all] Error 2

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=17d77db5e1203e18cdd178e7d9a457310425ebdc

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-01-16 11:30:59 +01:00
Lukas Bulwahn f16f860095 pcl: adding patch to compile with boost 1.56 (resolves #293) 2014-09-10 07:05:40 +02:00
Kristof Robot 9e473434f2 pcl: initial commit (resolves #135)
Based on initial work by bulwahn: https://github.com/bulwahn/meta-ros/tree/pcl-v4
Extensively discussed at #135
2013-11-04 12:32:27 +01:00