在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
configure: error: *** A compiler with support for C++11 language features is required. 参考链接: (1)升级 GCC 支持C++11. (2)解决/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found的问题方法总结. 一.错误发生情景: 使用sh setup.sh安装软件时,报以下错误: ... configure: error: *** A c