前言 在mac环境下编译rocksdb,需要配置依赖的编译环境,其中有一项比较麻烦:c++编译要支持C++11,但是在mac环境安装xcode-select --install之后,已经安装有了gcc-4.2.1,而且不容易升级,因为已经存在/usr/bin/gcc,想覆盖这个命令文件比较麻烦. OS X: Install latest C++ compiler that supports C++ 11: Update XCode: run xcode-select --install (or
在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