首页 > 其他分享 >ceph 开发环境问题记录

ceph 开发环境问题记录

时间:2022-11-14 09:36:10浏览次数:66  
标签:10 CMAKE 记录 ceph 开发 FLAGS error include

  1. 使用lldb 进行debug时,无法解析字符串

    error: summary string parsing error
    

    需要在CMakeLists.txt中添加:

    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstandalone-debug")
    
  2. Ubuntu20.04使用clang-13编译ceph(quincy)时,出现了找不到C++20头文件的情况

    ceph/src/include/denc.h:30:10: fatal error: 'concepts' file not found
    #include <concepts>
    

    参考这里
    问题解决:sudo apt install g++-10

标签:10,CMAKE,记录,ceph,开发,FLAGS,error,include
From: https://www.cnblogs.com/liutimo/p/16567801.html

相关文章