CMake錯(cuò)誤No CMAKE_CXX_COMPILER could be found. 發(fā)布人:電子禪石 時(shí)間:2020-12-30 來源:工程師 加入技術(shù)交流群 掃碼加入和技術(shù)大咖面對面交流海量資料庫查詢 發(fā)布文章 No CMAKE_CXX_COMPILER could be found.Tell CMake where to find the compiler by setting either the environmentvariable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full pathto the compiler, or to the compiler name if it is in the PATH.解決方法:sudo apt-get updatesudo apt-get install -y build-essential *博客內(nèi)容為網(wǎng)友個(gè)人發(fā)布,僅代表博主個(gè)人觀點(diǎn),如有侵權(quán)請聯(lián)系工作人員刪除。