Package Details: pcl 1.15.0-2

Git Clone URL: https://aur.archlinux.org/pcl.git (read-only, click to copy)
Package Base: pcl
Description: A standalone, large scale, open project for 2D/3D image and point cloud processing
Upstream URL: https://www.pointclouds.org
Licenses: BSD-3-Clause
Submitter: None
Maintainer: kino_t
Last Packager: kino_t
Votes: 49
Popularity: 0.000065
First Submitted: 2011-04-05 03:39 (UTC)
Last Updated: 2025-04-10 15:28 (UTC)

Sources (1)

Pinned Comments

kino_t commented on 2023-02-18 14:49 (UTC) (edited on 2023-02-19 01:24 (UTC) by kino_t)

Binary of pcl is now available: https://github.com/arch4edu/arch4edu

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 25 Next › Last »

petronny commented on 2022-10-10 17:03 (UTC) (edited on 2022-10-10 17:53 (UTC) by petronny)

Now it needs cli11 to build:

-- Found MPI: TRUE (found version "3.1")  
CMake Warning at /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:209 (find_package):
  By not providing "FindCLI11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "CLI11", but
  CMake did not find one.

  Could not find a package configuration file provided by "CLI11" with any of
  the following names:

    CLI11Config.cmake
    cli11-config.cmake

  Add the installation prefix of "CLI11" to CMAKE_PREFIX_PATH or set
  "CLI11_DIR" to a directory containing one of the above files.  If "CLI11"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  /usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
  cmake/pcl_find_vtk.cmake:25 (find_package)
  CMakeLists.txt:375 (include)

https://github.com/arch4edu/cactus/actions/runs/3221045028/jobs/5268510057

majorx234 commented on 2022-09-28 14:03 (UTC) (edited on 2022-09-28 14:04 (UTC) by majorx234)

@patricio @Diota : looks like this issue is vtk related. atm the official package in the repo is builded with boost 1.79 and not 1.80. I rebuilded vtk and the pcl build afterwards works fine.

Diota commented on 2022-09-25 06:55 (UTC) (edited on 2022-09-25 07:08 (UTC) by Diota)

@patricio I had the same problem,and i fix it at PKGBUILD line 32 by:

cmake ${srcdir}/pcl-pcl-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_surface_on_nurbs=ON \
    -DCMAKE_CXX_STANDARD=14 \
    -DCUDA_HOST_COMPILER=/usr/bin/gcc \
    -DBoost_NO_BOOST_CMAKE=ON

I dont know what the impact will be, but it work fine until now. Relevant issue https://github.com/dscharrer/innoextract/issues/88

patricio commented on 2022-09-22 13:37 (UTC)

CMake Error at /usr/lib64/cmake/Boost-1.80.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/boost_iostreams-1.80.0/boost_iostreams-config.cmake

  but it set boost_iostreams_FOUND to FALSE so package "boost_iostreams" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_iostreams.so.1.80.0 (release runtime,
  Boost_USE_DEBUG_RUNTIME=TRUE)

  * libboost_iostreams.a (static, Boost_USE_STATIC_LIBS=OFF)

Call Stack (most recent call first):
  /usr/lib64/cmake/Boost-1.80.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/share/cmake/Modules/FindBoost.cmake:594 (find_package)
  /usr/share/cmake/Modules/FindOpenVDB.cmake:499 (find_package)
  /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:650 (find_package)
  /usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
  cmake/pcl_find_vtk.cmake:25 (find_package)
  CMakeLists.txt:375 (include)

pcl-1.12.1-2 requires boost-1.4.7, this happened when installing the ros-noetic-desktop-full package.

acxz commented on 2022-09-21 16:12 (UTC) (edited on 2022-09-22 02:38 (UTC) by acxz)

It seems that the current libharu version 2.4.2 should absolve the issue. It looks like the vtk package has to be rebuilt with the newer libharu version though.

acmiyaguchi commented on 2022-09-08 08:14 (UTC) (edited on 2022-09-09 05:27 (UTC) by acmiyaguchi)

Currently running into an error during cmake configuration on libharu:

CMake Error at /usr/lib64/cmake/vtk/FindLibHaru.cmake:16 (file):
  file STRINGS file "/usr/include/hpdf_version.h" cannot be read.
Call Stack (most recent call first):
  /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:1167 (find_package)
  /usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
  cmake/pcl_find_vtk.cmake:25 (find_package)
  CMakeLists.txt:375 (include)

-- Could NOT find LibHaru: Found unsuitable version "..", but required is at least "2.4.0" (found /usr/lib/libhpdf.so)
-- Could not find the VTK package due to a missing dependency: LibHaru

This is actually caused by an issue in vtk caused by a backwards incompatible change in libharu 2.4.1. I filed an issue upstream at https://gitlab.kitware.com/vtk/vtk/-/issues/18665.

majorx234 commented on 2022-04-04 10:33 (UTC)

@acxz looks like libxcursor was misssing. It isn't listed as vtk (opt) dependency, but /usr/lib/libvtkRenderingOpenGL2.so.9.1.0 links to that lib.

I added libxcursor to pcl depends-list.

@bartus: this should fix you problem

@acxz link to pcl-1.13.1 leads atm to 404, but I'm aware to update ;)

acxz commented on 2022-04-02 16:10 (UTC) (edited on 2022-04-02 16:50 (UTC) by acxz)

I am getting the same issue as @bartus. If you could fix it that would be wonderful @majorx234! Appreciate you for maintaining the package!

If anyone wants a prebuilt version with the fix here it is: pcl-1.12.1-3-x86_64.pkg.tar.zst.zip

Make sure to remove the .zip extension by renaming the file.

wget https://github.com/ros-noetic-arch/ros-noetic-desktop-full/files/8402980/pcl-1.12.1-3-x86_64.pkg.tar.zst.zip
mv pcl-1.12.1-3-x86_64.pkg.tar.zst.zip pcl-1.12.1-3-x86_64.pkg.tar.zst
sudo pacman -U pcl-1.12.1-3-x86_64.pkg.tar.zst

Associated dependencies will have to installed as well.

bartus commented on 2022-02-09 10:21 (UTC) (edited on 2022-02-09 10:23 (UTC) by bartus)

libxcursor still missing to satisfyvtk:9 link-time dependencies.

[ 37%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/opennurbs/opennurbs_cone.cpp.o
/usr/bin/ld: /usr/lib/libvtkRenderingOpenGL2.so.9.1.0: undefined reference to `XcursorFilenameLoadCursor'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/pcl_vlp_viewer.dir/build.make:163: bin/pcl_vlp_viewer] Error 1
make[1]: *** [CMakeFiles/Makefile2:4376: tools/CMakeFiles/pcl_vlp_viewer.dir/all] Error 2
[ 37%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/opennurbs/opennurbs_crc.cpp.o
/usr/bin/ld: warning: libXcursor.so.1, needed by /usr/lib/libvtkRenderingOpenGL2.so.9.1.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libvtkRenderingOpenGL2.so.9.1.0: undefined reference to `XcursorFilenameLoadCursor'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/pcl_hdl_viewer_simple.dir/build.make:163: bin/pcl_hdl_viewer_simple] Error 1
make[1]: *** [CMakeFiles/Makefile2:4346: tools/CMakeFiles/pcl_hdl_viewer_simple.dir/all] Error 2