美文网首页
YouCompleteMe ycm Could NOT find

YouCompleteMe ycm Could NOT find

作者: less_sleep | 来源:发表于2021-04-24 10:09 被阅读0次

    编译命令

    [root@bogon YouCompleteMe]# ./install.py --clang-completer

    Searching Python 3.8 libraries...

    Found Python library: /opt/python385/lib/libpython3.8.so

    Found Python headers folder: /opt/python385/include/python3.8

    问题

    CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:164 (message):

      Could NOT find Python3 (missing: Development) (found suitable version

      "3.8.5", minimum required is "3.6...3.10")

    Call Stack (most recent call first):

      /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)

      /usr/share/cmake3/Modules/FindPython/Support.cmake:2437 (find_package_handle_standard_args)

      /usr/share/cmake3/Modules/FindPython3.cmake:309 (include)

      CMakeLists.txt:223 (find_package)

    解决

    卸载 yum 安装的cmake3 

    yum remove cmake

    相关文章

      网友评论

          本文标题:YouCompleteMe ycm Could NOT find

          本文链接:https://www.haomeiwen.com/subject/ojmkrltx.html