Advertisement

编译slam遇到的问题

阅读量:
复制代码
 -- Found the following Boost libraries:

    
 --   system
    
 --   filesystem
    
 --   thread
    
 --   date_time
    
 --   iostreams
    
 --   serialization
    
 --   chrono
    
 --   atomic
    
 --   regex
    
 -- Could NOT find ensenso (missing: ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR) 
    
 ** WARNING ** io features related to ensenso will be disabled
    
 -- Could NOT find DAVIDSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR) 
    
 ** WARNING ** io features related to davidSDK will be disabled
    
 -- Could NOT find DSSDK (missing: _DSSDK_LIBRARIES) 
    
 ** WARNING ** io features related to dssdk will be disabled
    
 ** WARNING ** io features related to pcap will be disabled
    
 ** WARNING ** io features related to png will be disabled
    
 -- The imported target "vtkRenderingPythonTkWidgets" references the file
    
    "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
    
 but this file does not exist.  Possible reasons include:
    
 * The file was deleted, renamed, or moved to another location.
    
 * An install or uninstall procedure did not complete successfully.
    
 * The installation package was faulty and contained
    
    "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
    
 but not all the files it references.
    
   28. ** WARNING ** io features related to libusb-1.0 will be disabled
    
 -- Could NOT find ensenso (missing: ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR) 
    
 ** WARNING ** visualization features related to ensenso will be disabled
    
 -- Could NOT find DAVIDSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR) 
    
 ** WARNING ** visualization features related to davidSDK will be disabled
    
 -- Could NOT find DSSDK (missing: _DSSDK_LIBRARIES) 
    
 ** WARNING ** visualization features related to dssdk will be disabled
    
 -- Could NOT find RSSDK (missing: _RSSDK_LIBRARIES) 
    
 ** WARNING ** visualization features related to rssdk will be disabled
    
 -- looking for PCL_COMMON
    
 -- looking for PCL_OCTREE
    
 -- looking for PCL_IO
    
 -- looking for PCL_KDTREE
    
 -- looking for PCL_SEARCH
    
 -- looking for PCL_SAMPLE_CONSENSUS
    
 -- looking for PCL_FILTERS
    
 -- looking for PCL_2D
    
 -- looking for PCL_GEOMETRY
    
 -- looking for PCL_FEATURES
    
 -- looking for PCL_ML
    
 -- looking for PCL_SEGMENTATION
    
 -- looking for PCL_VISUALIZATION
    
 -- looking for PCL_SURFACE
    
 -- looking for PCL_REGISTRATION
    
 -- looking for PCL_KEYPOINTS
    
 -- looking for PCL_TRACKING
    
 -- looking for PCL_RECOGNITION
    
 -- looking for PCL_STEREO
    
 -- looking for PCL_APPS
    
 -- looking for PCL_IN_HAND_SCANNER
    
 -- looking for PCL_MODELER
    
 -- looking for PCL_POINT_CLOUD_EDITOR
    
 -- looking for PCL_OUTOFCORE
    
 -- looking for PCL_PEOPLE
    
 -- BUILD TYPE:Release
    
 -- Compiling on Unix
    
 CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
    
   if given arguments:
    
   67.     "TRUE"
    
   69.   An argument named "TRUE" appears in a conditional statement.  Policy
    
   CMP0012 is not set: if() recognizes numbers and boolean constants.  Run
    
   "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
    
   command to set the policy and suppress this warning.
    
 Call Stack (most recent call first):
    
   /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
    
   Thirdparty/g2o/CMakeLists.txt:47 (FIND_PACKAGE)
    
 This warning is for project developers.  Use -Wno-dev to suppress it.
    
   78. CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
    
   if given arguments:
    
   81.     "TRUE"
    
   83.   An argument named "TRUE" appears in a conditional statement.  Policy
    
   CMP0012 is not set: if() recognizes numbers and boolean constants.  Run
    
   "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
    
   command to set the policy and suppress this warning.
    
 Call Stack (most recent call first):
    
   /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
    
   Thirdparty/g2o/CMakeLists.txt:47 (FIND_PACKAGE)
    
 This warning is for project developers.  Use -Wno-dev to suppress it.
    
   92. -- Configuring done
    
 
    
    
    cpp
    
    
![](https://ad.itadn.com/c/weblog/blog-img/images/2025-08-16/GU3i9EaVSZf1O6RPCqxnvuJT7Q08.png)

看了很多帖子都没有解决,在这里先记录一下

全部评论 (0)

还没有任何评论哟~