博客專欄

EEPW首頁 > 博客 > CMake錯誤No CMAKE_CXX_COMPILER could be found.

CMake錯誤No CMAKE_CXX_COMPILER could be found.

發(fā)布人:電子禪石 時間:2020-12-30 來源:工程師 發(fā)布文章

No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

解決方法:

sudo apt-get update
sudo apt-get install -y build-essential


*博客內(nèi)容為網(wǎng)友個人發(fā)布,僅代表博主個人觀點,如有侵權(quán)請聯(lián)系工作人員刪除。



關(guān)鍵詞: cmake

技術(shù)專區(qū)

關(guān)閉