Ubuntu 22.04 C++ header file not found using Vim with YouCompleteMe
给 VIM 安装设置了 YouCompleteMe 插件以后,在包罗C++尺度库代码时插件提示报错:
缘故原由分析:
https://github.com/Briancbn/ros_vim_autocomplete/issues/6
It is due to some issue with clangd. Although the default g++ is looking for g++ -11 libraries, clangd looks for the g++ -12 libraries.