CMake Error: your CXX compiler: "" was not found

[root@amax src]# cmake .
-- The CXX compiler identification is unknown
CMake Error at /usr/local/share/cmake-2.6/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)
CMake Error: your CXX compiler: "" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring done
删除之前生前的CMakeCache.txt,重新cmake .




posted @ 2016-07-27 19:44  该显示名称已被使用  阅读(701)  评论(0编辑  收藏  举报