在centos6.8上安装dlib库时出现错误: 1.CMake must be installed to build the following extensions: dlib 没有安装CMake,需要安装CMake,如 yum install cmake 2.Unsupported compiler -- pybind11 requires C++11 support! gcc版本低,centos默认版本为4.4.7,需要升级到4.8以上,因为gcc 4.8.0及以上版本才会支持c++ 1