]]>緙栬瘧cmake鎶ラ敊錛欳annot find a C++ compiler that supports both C++11 and the specified C++ flags.http://www.shnenglu.com/jack-wang/archive/2020/01/10/217077.html灝忕帇灝忕帇Fri, 10 Jan 2020 05:57:00 GMThttp://www.shnenglu.com/jack-wang/archive/2020/01/10/217077.htmlhttp://www.shnenglu.com/jack-wang/comments/217077.htmlhttp://www.shnenglu.com/jack-wang/archive/2020/01/10/217077.html#Feedback0http://www.shnenglu.com/jack-wang/comments/commentRss/217077.htmlhttp://www.shnenglu.com/jack-wang/services/trackbacks/217077.html鎶ラ敊錛?br />Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.
Please specify one using environment variable CXX
瑙e喅錛?
yum install gcc gcc-c++
浣跨敤make鎴杇make緙栬瘧瀹夎涔嬪悗錛?
鏌ョ湅瀹夎鐨刢make鐗堟湰鍙?
/usr/local/bin/cmake --version
鍒犻櫎鍘熸湁cmake鐗堟湰
yum remove cmake -y
鍒涘緩杞摼鎺?
ln -s /usr/local/bin/cmake /usr/bin/
鏌ョ湅
cmake --version