1. 程式人生 > >發現vi出現此錯誤~/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so: undefined symbol: clang_getCompletionFixIt

發現vi出現此錯誤~/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so: undefined symbol: clang_getCompletionFixIt

update back date ins apt-get style log vim 版本

答: 安裝更高版本的clang庫

  sudo apt-get install clang-7

  sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-7 1 --slave /usr/bin/clang++ clang++ /usr/bin/clang++-7

  做完以上步驟還不夠,請參考這裏

發現vi出現此錯誤~/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so: undefined symbol: clang_getCompletionFixIt