Install error, CMake Error (Archlinux)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Install error, CMake Error (Archlinux)

yylogo
This post has NOT been accepted by the mailing list yet.
I am installing PCL, but failed several times, first cmake gives out the message:

---------------------------------------------------------------------------------------------------------------

-- Could NOT find PXCAPI (missing:  PXCAPI_LIBS PXCAPI_INCLUDE_DIRS)
-- checking for module 'metslib'
--   package 'metslib' not found
-- QHULL found (include: /usr/include, lib: optimized;/usr/lib64/libqhull_p.so;debug;/usr/lib64/libqhull_p.so)
-- Found unsuitable Qt version "5.5.1" from /usr/bin/qmake
CMake Error at cmake/pcl_find_qt5.cmake:72 (file):
  file failed to open for writing (Permission denied):

    /usr/share/cmake-3.3/Modules/UseQt4.cmake
Call Stack (most recent call first):
  CMakeLists.txt:343 (include)


CMake Error at /usr/lib/cmake/vtk-6.3/Modules/vtkGUISupportQtWebkit.cmake:13 (find_package):
  By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5WebKitWidgets", but CMake did not find one.

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

    Qt5WebKitWidgetsConfig.cmake
    qt5webkitwidgets-config.cmake

  Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
  set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
  files.  If "Qt5WebKitWidgets" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/vtk-6.3/vtkModuleAPI.cmake:45 (include)
  /usr/lib/cmake/vtk-6.3/vtkModuleAPI.cmake:15 (vtk_module_load)
  /usr/lib/cmake/vtk-6.3/vtkModuleAPI.cmake:132 (_vtk_module_config_recurse)
  /usr/lib64/cmake/vtk-6.3/VTKConfig.cmake:80 (vtk_module_config)
  CMakeLists.txt:350 (find_package)


-- Configuring incomplete, errors occurred!

---------------------------------------------------------------------------------------------------------------

Then I exec
[yylogo build]$ export  CMAKE_PREFIX_PATH=/usr/lib/cmake/Qt5Widgets/
[yylogo build]$ cmake -DCMAKE_BUILD_TYPE=Release ..
-- Using CPU native flags for SSE optimization:  -march=native
-- -- GCC > 4.3 found, enabling -Wabi
-- Found OpenMP
-- Boost version: 1.59.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
--   chrono
-- Eigen found (include: /usr/include/eigen3, version: 3.2.6)
-- FLANN found (include: /usr/include, lib: optimized;/usr/lib64/libflann_cpp.so;debug;/usr/lib64/libflann_cpp.so)
-- OpenNI found (include: /usr/include/ni, lib: /usr/lib64/libOpenNI.so)
-- Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)
-- Could NOT find FZAPI (missing:  FZAPI_LIBS FZAPI_INCLUDE_DIR)
-- Could NOT find PXCAPI (missing:  PXCAPI_LIBS PXCAPI_INCLUDE_DIRS)
-- checking for module 'metslib'
--   package 'metslib' not found
-- QHULL found (include: /usr/include, lib: optimized;/usr/lib64/libqhull_p.so;debug;/usr/lib64/libqhull_p.so)
-- Found unsuitable Qt version "5.5.1" from /usr/bin/qmake
CMake Error at cmake/pcl_find_qt5.cmake:72 (file):
  file failed to open for writing (Permission denied):

    /usr/share/cmake-3.3/Modules/UseQt4.cmake
Call Stack (most recent call first):
  CMakeLists.txt:343 (include)


-- VTK_MAJOR_VERSION 6
-- VTK found (include: /usr/include/vtk;/usr/include;/usr/include/python2.7;/usr/include/libxml2;/usr/include/freetype2, lib: vtkIOODBC;vtkCommonDataModel;vtkCommonMath;vtkCommonCore;vtksys;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkIOSQL;vtkIOCore;vtkCommonExecutionModel;/usr/lib64/libz.so;vtksqlite;/usr/lib/libpython2.7.so;vtkIOGeometry;vtkxdmf2;/usr/lib64/libhdf5.so;/usr/lib64/libhdf5_hl.so;/usr/lib64/libpthread.so;/usr/lib64/libdl.so;/usr/lib64/libm.so;/usr/lib64/libxml2.so;/usr/lib64/libgl2ps.so;/usr/lib64/libpng.so;vtkFiltersModeling;vtkFiltersGeneral;vtkCommonComputationalGeometry;vtkFiltersCore;vtkFiltersSources;vtkCommonColor;VPIC;vtkGUISupportQt;vtkFiltersExtraction;vtkFiltersStatistics;vtkImagingFourier;vtkImagingCore;vtkalglib;vtkInteractionStyle;vtkRenderingCore;vtkFiltersGeometry;vtkRenderingOpenGL;vtkImagingHybrid;vtkIOImage;vtkDICOMParser;vtkmetaio;/usr/lib64/libjpeg.so;/usr/lib64/libtiff.so;vtkFiltersAMR;vtkParallelCore;vtkIOLegacy;/usr/lib64/libtheoraenc.so;/usr/lib64/libtheoradec.so;/usr/lib64/libogg.so;vtkIOPLY;vtkFiltersParallelFlowPaths;vtkFiltersFlowPaths;vtkParallelMPI;vtkIOEnSight;vtkIOMINC;vtkFiltersHybrid;vtkImagingSources;vtkNetCDF;vtkNetCDF_cxx;vtkIOParallelExodus;vtkIOExodus;vtkIOXML;vtkIOXMLParser;/usr/lib64/libexpat.so;vtkexoIIc;vtkIOLSDyna;vtkIOMySQL;vtkWrappingTools;vtkViewsCore;vtkInteractionWidgets;vtkImagingGeneral;vtkRenderingAnnotation;vtkImagingColor;vtkRenderingFreeType;/usr/lib64/libfreetype.so;vtkftgl;vtkRenderingVolume;vtkIOPostgreSQL;vtkViewsQt;vtkViewsInfovis;vtkChartsCore;vtkInfovisCore;vtkRenderingContext2D;vtkFiltersImaging;vtkInfovisLayout;vtkRenderingLabel;vtkIOParallel;vtkFiltersParallel;vtkIONetCDF;/usr/lib64/libjsoncpp.so;vtkImagingMorphological;vtkTestingIOSQL;vtkInteractionImage;vtkPythonInterpreter;vtkWrappingPythonCore;vtkInfovisBoostGraphAlgorithms;vtkFiltersPython;vtkTestingGenericBridge;vtkRenderingGL2PS;vtkRenderingContextOpenGL;vtkIOVideo;vtkViewsGeovis;vtkGeovisCore;vtkproj4;vtkIOFFMPEG;vtkIOMovie;vtkRenderingMatplotlib;vtkFiltersParallelMPI;vtkFiltersProgrammable;vtkWrappingJava;vtkIOMPIImage;vtkRenderingFreeTypeFontConfig;vtkIOGeoJSON;vtkFiltersHyperTree;vtkFiltersSelection;vtkFiltersTexture;vtkDomainsChemistry;vtkIOAMR;vtkRenderingParallelLIC;vtkRenderingLIC;vtkIOImport;vtkGUISupportQtWebkit;vtkViewsContext2D;vtkRenderingVolumeAMR;vtkRenderingVolumeOpenGL;vtkGUISupportQtSQL;vtkIOMPIParallel;vtkFiltersParallelStatistics;vtkIOInfovis;vtkRenderingQt;vtkRenderingParallel;vtkFiltersReebGraph;vtkIOParallelLSDyna;vtkFiltersSMP;vtkFiltersParallelGeometry;vtkFiltersVerdict;verdict;vtkIOXdmf3;vtkxdmf3;vtkParallelMPI4Py;vtkImagingStencil;vtkFiltersParallelImaging;vtkImagingMath;vtkIOExport;vtkIOVPIC;vtkFiltersGeneric;vtkIOParallelNetCDF;vtkLocalExample;vtkRenderingLOD;vtkIOParallelXML;vtkTestingRendering;vtkIOGDAL;vtkImagingStatistics;vtkglew;vtkRenderingImage;vtkIOXdmf2;vtkGUISupportQtOpenGL
-- Could NOT find PCAP (missing:  PCAP_LIBRARIES PCAP_INCLUDE_DIRS)
CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "EIGEN_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  common/CMakeLists.txt:7 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "FLANN_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  kdtree/CMakeLists.txt:7 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "FLANN_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  search/CMakeLists.txt:7 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/pcl_targets.cmake:113 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "VTK_FOUND" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  visualization/CMakeLists.txt:17 (PCL_SUBSYS_DEPEND)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- DOXYGEN_FOUND
-- HTML_HELP_COMPILER
-- The following subsystems will be built:
--   common
--   kdtree
--   octree
--   search
--   sample_consensus
--   filters
--   io
--   geometry
--   features
--   segmentation
--   visualization
--   outofcore
--   people
--   surface
--   registration
--   keypoints
--   tracking
--   recognition
--   tools
-- The following subsystems will not be built:
--   apps: No reason
--   global_tests: No reason
--   examples: Code examples are disabled by default.
-- Configuring incomplete, errors occurred!


I don't know what to do next to install pcl.
Reply | Threaded
Open this post in threaded view
|

Re: Install error, CMake Error (Archlinux)

VictorLamoine
Administrator
Please register to the mailing-list, otherwise the mail is not sent to the mailing list.

Can you try follow this tutorial ?
http://www.pointclouds.org/documentation/tutorials/compiling_pcl_posix.php#compiling-pcl-posix

After that, if you need Qt support we'll get to that, but please first compile PCL with the default configuration.