Advertisement

ZED运行ORB-SLAM之编译pangolin时候遇到的问题

阅读量:

使用cmake ..时候 遇到了缺少xkbcommon这个包

复制代码
 --Checking for module 'xkbcommon'

    
  
    
 --  No package 'xkbcommon' found
    
  
    
 CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415(message):
    
  
    
 A required package was not found
    
  
    
 Call Stack (most recent callfirst):
    
  
    
 /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593(_pkg_check_modules_internal)
    
  
    
 src/CMakeLists.txt:219(pkg_check_modules)

解决方法:

复制代码
    sudo apt-get install libxkbcommon-x11-dev

之后使用cmake ..命令时候,一切正常 但是中间出现了

复制代码
 package wayland-protocols was not found in the pkg-config search path

    
  
    
 Perharps you shoud add eht directory containing 'wayland-protocols.pc'
    
  
    
 to the PKG_CONFIG_PATH environment variable
    
  
    
 no package 'wayland protocols' found
    
  
    
 ...
    
 ...
    
  
    
 could not find Doxygen (missing DOXYGEN_EXECUTABLE)

不过一切正常执行了 之后使用

复制代码
    cmake --build .

正常编译

用到的链接有

https://www.cnblogs.com/liufuqiang/p/5618335.html

https://github.com/stevenlovegrove/Pangolin

<>

全部评论 (0)

还没有任何评论哟~