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 .
上一篇:C++ const && define


下一篇:Unity NGUI的多分辨率适配