出现
#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
错误
修改CMakeLists.txt中,SET(CMAKE_CXX_FLAGS " ")为SET(CMAKE_CXX_FLAGS "-std=c++0x")