Package Details: pcl-git r13641.c1835f442-1

Git Clone URL: https://aur.archlinux.org/pcl-git.git (read-only, click to copy)
Package Base: pcl-git
Description: a standalone, large scale, open project for 2D/3D image and point cloud processing
Upstream URL: http://pointclouds.org/
Licenses: BSD
Conflicts: pcl
Provides: pcl
Submitter: de-vries
Maintainer: de-vries
Last Packager: de-vries
Votes: 0
Popularity: 0.000000
First Submitted: 2015-12-30 00:23 (UTC)
Last Updated: 2022-01-04 22:14 (UTC)

Latest Comments

jpeter commented on 2022-04-01 08:08 (UTC)

Unable to build with the following error: [ 64%] Linking CXX shared library ../../lib/libpcl_gpu_features.so [ 64%] Built target pcl_gpu_features In file included from tmpxft_00004252_00000000-6_convex_hull.compute_87.cudafe1.stub.c:1: /tmp/tmpxft_00004252_00000000-6_convex_hull.compute_87.cudafe1.stub.c:12:9: error: reference to ‘cub’ is ambiguous 12 | typedef cub::If<(bool)0, ::thrust::tuple<float, int, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type> , ::thrust::tuple<float, int, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type, ::thrust::null_type> > ::Type _ZN3cub2IfILb0EN6thrust5tupleIfiNS1_9null_typeES3_S3_S3_S3_S3_S3_S3_EES4_E4TypeE; | ^~~ /opt/cuda/include/thrust/system/cuda/config.h:105:11: note: candidates are: ‘namespace thrust::cub { }’ 105 | namespace cub | ^~~ /opt/cuda/include/cub/util_namespace.cuh:139:11: note: ‘namespace cub { }’ 139 | namespace cub | ^~~ ...

Maik93 commented on 2022-01-11 15:41 (UTC)

If someone encounters CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does not agree with the value of QT_MAJOR_VERSION already determined, the fix is to add -DWITH_QT="QT5" option in cmake during the build step.

NicolasV commented on 2021-12-04 20:52 (UTC) (edited on 2021-12-04 20:55 (UTC) by NicolasV)

Unable to build the new version. Here is below the full log output (during prepare):

-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/sbin/pkgconf (found version "1.8.0") 
-- Found ClangFormat: /usr/sbin/clang-format (found suitable version "13.0.0", minimum required is "10") 
-- Adding target 'format'
-- Performing Test HAVE_MARCH
-- Performing Test HAVE_MARCH - Success
-- Performing Test HAVE_MM_MALLOC
-- Performing Test HAVE_MM_MALLOC - Success
-- Performing Test HAVE_POSIX_MEMALIGN
-- Performing Test HAVE_POSIX_MEMALIGN - Success
-- Performing Test HAVE_SSE4_2_EXTENSIONS
-- Performing Test HAVE_SSE4_2_EXTENSIONS - Success
-- Using CPU native flags for SSE optimization: -msse4.2 -mfpmath=sse -march=native
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Success
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5") found components: C CXX 
-- Found OpenMP, spec date 201511
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.8
-- Found Eigen: /usr/include/eigen3 (Required is at least version "3.1") 
-- Eigen found (include: /usr/include/eigen3, version: 3.3.8)
-- Checking for module 'flann>=1.9.1'
--   Found flann, version 1.9.1
-- Found FLANN: /usr/lib/libflann_cpp.so (Required is at least version "1.9.1") 
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.24
-- Found libusb: /usr/lib/libusb-1.0.so  
-- Could NOT find OpenNI (missing: OPENNI_LIBRARIES OPENNI_INCLUDE_DIRS) 
-- OpenNI grabber support: not building because OpenNI not found
-- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARIES OPENNI2_INCLUDE_DIRS) 
-- OpenNI2 grabber support: not building because OpenNI2 not found
-- Could NOT find Ensenso (missing: ENSENSO_LIBRARIES ENSENSO_INCLUDE_DIRS) 
-- IDS-Imaging Ensenso camera support: not building because Ensenso not found
-- Could NOT find davidSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR) 
-- David Vision Systems SDK support: not building because davidSDK not found
-- Could NOT find DSSDK (missing: DSSDK_LIBRARIES DSSDK_INCLUDE_DIRS) 
-- DepthSense SDK support: not building because DSSDK not found
-- Could NOT find RSSDK (missing: RSSDK_LIBRARIES RSSDK_INCLUDE_DIRS) 
-- RealSense SDK support: not building because RSSDK not found
-- Could NOT find RSSDK2
-- RealSense SDK 2.0 (librealsense) support: not building because RSSDK2 not found
-- Checking for module 'metslib'
--   Package 'metslib', required by 'virtual:world', not found
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37") 
-- Found Qhull: optimized;/usr/lib/libqhull_r.so;debug;/usr/lib/libqhull_r.so  
-- QHULL found (include: /usr/include, lib: optimized;/usr/lib/libqhull_r.so;debug;/usr/lib/libqhull_r.so)
-- Found CUDA Toolkit v11.5
-- The CUDA compiler identification is NVIDIA 11.5.119
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- CMAKE_CUDA_ARCHITECTURES: 35;37;50;52;53;60;61;62;70;72;75;80;86;87
-- Found MPI_C: /usr/lib/openmpi/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /usr/lib/openmpi/libmpi_cxx.so (found version "3.1") 
-- 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 "Findospray.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ospray", but
  CMake did not find one.

  Could not find a package configuration file provided by "ospray" (requested
  version 2.1) with any of the following names:

    osprayConfig.cmake
    ospray-config.cmake

  Add the installation prefix of "ospray" to CMAKE_PREFIX_PATH or set
  "ospray_DIR" to a directory containing one of the above files.  If "ospray"
  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:378 (include)


-- Could not find the VTK package due to a missing dependency: ospray
-- Could NOT find OpenVR (missing: OpenVR_LIBRARY OpenVR_INCLUDE_DIR) 
-- Could not find the VTK package due to a missing dependency: OpenVR
-- Found FontConfig: /usr/lib/libfontconfig.so  
-- Found Python: /usr/bin/python3.9 (found version "3.9.9") found components: Interpreter 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'mpi4py'
-- Could NOT find mpi4py (missing: mpi4py_INCLUDE_DIR) 
-- Could not find the VTK package due to a missing dependency: mpi4py
-- Found PostgreSQL: /usr/lib/libpq.so (found version "13.4")  
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable exact version "1.76.0")  
COMPONENT = openvdb
-- Found OpenVDB: /usr/include (found version "9.0.0") found components: openvdb 
-- OpenVDB ABI Version: 9
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found version "1.76.0") found components: iostreams system 
-- Found Blosc: /usr/lib/libblosc.so (found version "1.21.1") 
-- Found OGG: /usr/lib/libogg.so  
-- Found THEORA: /usr/lib/libtheora.so  
CMake Warning at /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:838 (find_package):
  By not providing "FindlibLAS.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "libLAS", but
  CMake did not find one.

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

    libLASConfig.cmake
    liblas-config.cmake

  Add the installation prefix of "libLAS" to CMAKE_PREFIX_PATH or set
  "libLAS_DIR" to a directory containing one of the above files.  If "libLAS"
  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:378 (include)


-- Could not find the VTK package due to a missing dependency: libLAS
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.12") 
CMake Warning at /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:979 (find_package):
  By not providing "FindADIOS2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ADIOS2", but
  CMake did not find one.

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

    ADIOS2Config.cmake
    adios2-config.cmake

  Add the installation prefix of "ADIOS2" to CMAKE_PREFIX_PATH or set
  "ADIOS2_DIR" to a directory containing one of the above files.  If "ADIOS2"
  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:378 (include)


-- Could not find the VTK package due to a missing dependency: ADIOS2
-- Found FFMPEG: /usr/include (found suitable version "4.4.1", minimum required is "4.4") found components: avformat avcodec avutil swscale 
-- Found GL2PS: /usr/lib/libgl2ps.so (found suitable version "1.4.2", minimum required is "1.4.2") 
-- Found LibHaru: /usr/lib/libhpdf.so (found suitable version "2.3.0-RC2", minimum required is "2.3.0") 
-- Found JsonCpp: /usr/lib/libjsoncpp.so (found suitable version "1.9.3", minimum required is "0.7.0") 
-- Found NetCDF: /usr/include (found version "4.8.1") 
-- Could NOT find CGNS: Found unsuitable version "CGNS_VERSION-NOTFOUND", but required is at least "4.1.1" (found CGNS_INCLUDE_DIR-NOTFOUND)
-- Could not find the VTK package due to a missing dependency: CGNS
-- Found HDF5: /usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so (found version "1.12.1") found components: C HL 
CMake Warning at /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:1402 (find_package):
  By not providing "FindADIOS2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ADIOS2", but
  CMake did not find one.

  Could not find a package configuration file provided by "ADIOS2" (requested
  version 2.4) with any of the following names:

    ADIOS2Config.cmake
    adios2-config.cmake

  Add the installation prefix of "ADIOS2" to CMAKE_PREFIX_PATH or set
  "ADIOS2_DIR" to a directory containing one of the above files.  If "ADIOS2"
  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:378 (include)


-- Could not find the VTK package due to a missing dependency: ADIOS2
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable exact version "1.76.0")  
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable exact version "1.76.0") found components: serialization 
-- Found SQLite3: /usr/include (found version "3.37.0") 
-- Found GDAL: /usr/lib/libgdal.so (found version "3.3.1") 
-- Found LibPROJ: /usr/lib/libproj.so (found version "8.0.1") 
-- Found MPI: TRUE (found version "3.1") found components: C 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found GLEW: /usr/lib/libGLEW.so  
-- Found OpenGL: /usr/lib/libOpenGL.so  found components: OpenGL GLX 
-- Found Python3: /usr/bin/python3.9 (found suitable version "3.9.9", minimum required is "3.9") found components: Interpreter Development.Module Development.Embed 
-- Found LibArchive: /usr/lib/libarchive.so (found version "3.5.2") 
-- Found EXPAT: /usr/lib/libexpat.so (found version "2.4.1") 
-- Found LZMA: /usr/lib/liblzma.so (found version "5.2.5") 
-- Found LZ4: /usr/lib/liblz4.so (found version "1.9.3") 
-- Found double-conversion: /usr/lib/libdouble-conversion.so  
-- Found Eigen3: /usr/include/eigen3 (found version "3.3.8") 
-- Found TIFF: /usr/lib/libtiff.so (found version "4.3.0")  
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.11.0") 
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Could NOT find utf8cpp (missing: utf8cpp_INCLUDE_DIR) 
-- Could not find the VTK package due to a missing dependency: utf8cpp
-- VTK version: 9.1.0
-- VTK rendering backend: OpenGL2
-- VTK Qt support: YES
-- VTK libs: VTK::WrappingTools;VTK::WebPython;VTK::WebCore;VTK::WebGLExporter;VTK::ViewsQt;VTK::ViewsInfovis;VTK::Java;VTK::UtilitiesBenchmarks;VTK::ViewsContext2D;VTK::zfp;VTK::loguru;VTK::cli11;VTK::TestingRendering;VTK::TestingIOSQL;VTK::TestingGenericBridge;VTK::TestingCore;VTK::RenderingTk;VTK::RenderingRayTracing;VTK::RenderingVolumeAMR;VTK::RenderingQt;VTK::PythonContext2D;VTK::RenderingParallelLIC;VTK::RenderingParallel;VTK::RenderingOpenVR;VTK::RenderingVR;VTK::RenderingVolumeOpenGL2;VTK::RenderingMatplotlib;VTK::PythonInterpreter;VTK::RenderingLabel;VTK::octree;VTK::RenderingLOD;VTK::RenderingLICOpenGL2;VTK::RenderingImage;VTK::RenderingFreeTypeFontConfig;VTK::RenderingFFMPEGOpenGL2;VTK::RenderingExternal;VTK::RenderingContextOpenGL2;VTK::ParallelMPI4Py;VTK::mpi4py;VTK::IOXdmf2;VTK::xdmf2;VTK::IOVeraOut;VTK::IOVPIC;VTK::vpic;VTK::IOTecplotTable;VTK::IOTRUCHAS;VTK::IOSegY;VTK::IOPostgreSQL;VTK::IOParallelXdmf3;VTK::IOXdmf3;VTK::xdmf3;VTK::IOParallelXML;VTK::IOParallelNetCDF;VTK::IOParallelLSDyna;VTK::IOParallelExodus;VTK::IOPLY;VTK::IOPIO;VTK::IOPDAL;VTK::IOOpenVDB;VTK::IOOggTheora;VTK::theora;VTK::ogg;VTK::IOOMF;VTK::IOODBC;VTK::IONetCDF;VTK::IOMySQL;VTK::IOMotionFX;VTK::pegtl;VTK::IOMPIParallel;VTK::IOParallel;VTK::IOMPIImage;VTK::IOMINC;VTK::IOLSDyna;VTK::IOLAS;VTK::IOInfovis;VTK::libxml2;VTK::IOImport;VTK::IOIOSS;VTK::ioss;VTK::IOHDF;VTK::IOH5part;VTK::h5part;VTK::IOH5Rage;VTK::IOGeoJSON;VTK::IOFides;VTK::fides;VTK::IOFFMPEG;VTK::IOVideo;VTK::IOMovie;VTK::IOExportPDF;VTK::IOExportGL2PS;VTK::RenderingGL2PSOpenGL2;VTK::gl2ps;VTK::IOExport;VTK::libharu;VTK::IOGeometry;VTK::RenderingVtkJS;VTK::jsoncpp;VTK::RenderingSceneGraph;VTK::IOExodus;VTK::exodusII;VTK::netcdf;VTK::IOEnSight;VTK::IOCityGML;VTK::IOChemistry;VTK::IOCONVERGECFD;VTK::IOCGNSReader;VTK::cgns;VTK::IOAsynchronous;VTK::IOAMR;VTK::hdf5;VTK::IOADIOS2;VTK::InteractionImage;VTK::InfovisBoostGraphAlgorithms;VTK::InfovisBoost;VTK::ImagingStencil;VTK::ImagingStatistics;VTK::ImagingOpenGL2;VTK::ImagingMorphological;VTK::ImagingMath;VTK::ImagingFourier;VTK::GUISupportQtSQL;VTK::IOSQL;VTK::sqlite;VTK::GUISupportQtQuick;VTK::GUISupportQt;VTK::GeovisGDAL;VTK::IOGDAL;VTK::GeovisCore;VTK::InfovisLayout;VTK::libproj;VTK::ViewsCore;VTK::InteractionWidgets;VTK::RenderingVolume;VTK::RenderingAnnotation;VTK::ImagingHybrid;VTK::ImagingColor;VTK::InteractionStyle;VTK::FiltersTopology;VTK::FiltersSelection;VTK::FiltersSMP;VTK::FiltersReebGraph;VTK::FiltersPython;VTK::FiltersProgrammable;VTK::FiltersPoints;VTK::FiltersParallelVerdict;VTK::FiltersVerdict;VTK::verdict;VTK::FiltersParallelStatistics;VTK::FiltersParallelImaging;VTK::FiltersParallelGeometry;VTK::FiltersParallelFlowPaths;VTK::FiltersParallelDIY2;VTK::FiltersImaging;VTK::ImagingGeneral;VTK::FiltersHyperTree;VTK::FiltersGeneric;VTK::FiltersFlowPaths;VTK::FiltersAMR;VTK::DomainsParallelChemistry;VTK::FiltersParallelMPI;VTK::FiltersParallel;VTK::FiltersTexture;VTK::FiltersModeling;VTK::FiltersHybrid;VTK::ParallelMPI;VTK::mpi;VTK::DomainsChemistryOpenGL2;VTK::RenderingOpenGL2;VTK::glew;VTK::opengl;VTK::RenderingUI;VTK::DomainsChemistry;VTK::CommonPython;VTK::WrappingPythonCore;VTK::Python;VTK::CommonArchive;VTK::ChartsCore;VTK::InfovisCore;VTK::FiltersExtraction;VTK::ParallelDIY;VTK::IOXML;VTK::IOXMLParser;VTK::expat;VTK::diy2;VTK::ParallelCore;VTK::IOLegacy;VTK::IOCore;VTK::lzma;VTK::lz4;VTK::doubleconversion;VTK::FiltersStatistics;VTK::eigen;VTK::ImagingSources;VTK::IOImage;VTK::tiff;VTK::png;VTK::metaio;VTK::jpeg;VTK::DICOMParser;VTK::RenderingContext2D;VTK::RenderingFreeType;VTK::freetype;VTK::zlib;VTK::RenderingCore;VTK::FiltersSources;VTK::CommonColor;VTK::AcceleratorsVTKmFilters;VTK::ImagingCore;VTK::FiltersGeometry;VTK::FiltersGeneral;VTK::fmt;VTK::CommonComputationalGeometry;VTK::FiltersCore;VTK::CommonExecutionModel;VTK::AcceleratorsVTKmDataModel;VTK::CommonDataModel;VTK::pugixml;VTK::CommonSystem;VTK::CommonMisc;VTK::exprtk;VTK::CommonTransforms;VTK::CommonMath;VTK::kissfft;VTK::AcceleratorsVTKmCore;VTK::vtkm;VTK::CommonCore;VTK::utf8;VTK::vtksys;VTK::kwiml
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Qt version: 6.2.2
-- Found Pcap: /usr/lib/libpcap.so  
-- Checking for module 'glut'
--   Found glut, version 3.2.1
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable version "1.76.0", minimum required is "1.65.0") found components: filesystem date_time iostreams system 
-- Found GLEW: /usr/include  
-- Found GLUT: TRUE  
-- DOXYGEN_FOUND 
-- HTML_HELP_COMPILER 
-- PCL build with following flags:
--  -Wabi=11 -Wall -Wextra -Wno-unknown-pragmas -fno-strict-aliasing -Wno-format-extra-args -Wno-sign-compare -Wno-invalid-offsetof -Wno-conversion -msse4.2 -mfpmath=sse -march=native -mavx2 -fopenmp
-- The following subsystems will be built:
--   common
--   kdtree
--   octree
--   search
--   sample_consensus
--   filters
--   2d
--   geometry
--   io
--   features
--   ml
--   segmentation
--   visualization
--   surface
--   registration
--   keypoints
--   tracking
--   recognition
--   stereo
--   apps
       building: 
       |_ cloud_composer
       |_ modeler
       |_ point_cloud_editor
       not building: 
       |_ 3d_rec_framework: Disabled by default
       |_ in_hand_scanner: Requires external library openni.
--   cuda_common
--   cuda_features
--   cuda_segmentation
--   cuda_sample_consensus
--   outofcore
--   examples
--   gpu_containers
--   gpu_utils
--   gpu_octree
--   gpu_features
--   gpu_kinfu
       building: 
       |_ tools
--   gpu_kinfu_large_scale
       building: 
       |_ tools
--   gpu_segmentation
--   gpu_surface
--   gpu_tracking
--   people
--   simulation
--   tools
-- The following subsystems will not be built:
--   benchmarks: Disabled by default
--   cuda_io: Requires external library openni.
--   cuda_apps: Requires cuda_io.
--   gpu_people: Disabled by default.
--   global_tests: Disabled by default
-- Configuring done
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_manual_registration".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_pcd_video_player".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_interface".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cloud_composer".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_fpfh_estimation".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_normal_estimation".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_euclidean_clustering".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_statistical_outlier_removal".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_voxel_grid_downsample".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_organized_segmentation".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_sanitize_cloud".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_cc_tool_supervoxels".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Widgets" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pcl_modeler".

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_app_3d_rec_framework

CMake Generate step failed.  Build files cannot be regenerated correctly.

ngoonee commented on 2021-11-24 08:33 (UTC)

Does this currently build? The following two messages/errors happen repeatedly when I try.

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does not agree with the value of QT_MAJOR_VERSION already determined for "pcl_manual_registration".

CMake Error at cmake/pcl_targets.cmake:309 (add_executable): Target "pcl_face_trainer" links to target "ospray::ospray" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): apps/CMakeLists.txt:76 (PCL_ADD_EXECUTABLE)

bartus commented on 2021-11-12 21:33 (UTC) (edited on 2021-11-29 11:55 (UTC) by bartus)

Missing deps for vtk:9.1 and some mild refactoring conforming with the Arch packaging standards, also make call cleanup for easy switch to ninja backend, drop redundant rm there's -c makepkg switch for that and pkgver() update.

http://ix.io/3GsI/diff

merge with git am -s < <(curl -s http://ix.io/3GsI)

de-vries commented on 2019-03-14 12:49 (UTC)

Yeah, patch PCL to use standard headers and send a PR to them.

nox331 commented on 2019-03-13 17:08 (UTC)

-- Build files have been written to: /tmp/trizen-nox/pcl/src/build [ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/point_types.cpp.o In file included from /tmp/trizen-nox/pcl/src/pcl-pcl-1.9.1/common/include/pcl/point_types.h:42:0, from /tmp/trizen-nox/pcl/src/pcl-pcl-1.9.1/common/src/point_types.cpp:37: /tmp/trizen-nox/pcl/src/pcl-pcl-1.9.1/common/include/pcl/pcl_macros.h:41:10: fatal error: boost/cstdint.hpp: No such file or directory #include <boost/cstdint.hpp> ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: [common/CMakeFiles/pcl_common.dir/build.make:63: common/CMakeFiles/pcl_common.dir/src/point_types.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:123: common/CMakeFiles/pcl_common.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build pcl - makepkg exited with code: 4

any ideas?

de-vries commented on 2018-10-17 18:46 (UTC)

I removed the out-of-date flag. If the CUDA parts dont compile with GCC 8, that's an upstream bug. You should take it up with PCL directly.

Since this package builds the master from github, it can't really be out of date.

de-vries commented on 2018-02-05 20:22 (UTC)

The build directory is already separate. Also, the build directory is only removed in the prepare() function, which isn't run with makepkg -e. So I don't really see a problem with the current PKGBUILD.

majorx234 commented on 2018-02-05 17:20 (UTC)

Suggestion to change PKGBUILD: https://github.com/majorx234/pcl-git-PKGBUILD

reasons: cmake part in build() function: so you can use makepkg -e to build with already downloaded sources. seperate build directory, to keep source code and cmake generated files apart.

lubosz commented on 2018-01-18 13:15 (UTC) (edited on 2018-01-18 13:29 (UTC) by lubosz)

Cuda wants GCC6
/opt/cuda/include/crt/host_config.h:121:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
 #error -- unsupported GNU version! gcc versions later than 6 are not supported!
  ^~~~~

To fix:

Install gcc6 and add the following lines before the cmake command:

export CC=/usr/sbin/gcc-6
export CXX=/usr/sbin/g++-6
OpenNI prohibits to build on Linux
/usr/include/ni/XnPlatform.h:73:3: error: #error OpenNI Platform Abstraction Layer - Unsupported Platform!
  #error OpenNI Platform Abstraction Layer - Unsupported Platform!
   ^~~~~

Fix: I just uninstalled openni.

Kernel build issues with Cuda 9.1.85
2 errors detected in the compilation of "/tmp/tmpxft_00006c3e_00000000-13_normal_3d.compute_70.cpp1.ii".
CMake Error at pcl_cuda_features_generated_normal_3d.cu.o.Release.cmake:279 (message):
  Error generating file
  /home/bmonkey/workspace/aur/pcl-git/src/build/cuda/features/CMakeFiles/pcl_cuda_features.dir/src/./pcl_cuda_features_generated_normal_3d.cu.o

I did not bother to fix the following one, so I disabled cuda all together for now. Proper patches are welcome.

        -DBUILD_CUDA=OFF \
        -WITH_CUDA=OFF

It still builds some cuda stuff with that, so you need the first fix anyway.