每日一句 ( 2024920 )  

Years may wrinkle the skin, but to give up enthusiasm wrinkles the soul.

歲月留痕,只及肌膚;激情不再,皺起心靈。———— Samuel Ullman

安裝YouCompleteMe時(shí)報(bào)cmake_cxx_compiler no found的解決

在Fedora中給Vim安裝YouCompleteMe插件時(shí)報(bào)錯(cuò)no cmake_cxx_compiler could be found,首先確認(rèn)安裝完了cmake使用#yum install cmake然后執(zhí)行如下命令設(shè)置環(huán)境變量CC和CXX#export CC=/usr/bin/g++#export CXX=/usr/bin/g++之前由于不太了解,把CC和CXX設(shè)置成了gcc,解決依舊失敗,后來在stackoverflow才找到方法:You try to use C compiler gcc as C++ one, which is wrong.You need...