Build type: Release -- Using flag -std=c++11. -- No preference for use of exported glog CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported glog CMake configuration if available. -- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake. -- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
解决 安装glog
1 2
git clone https://github.com/boboxxd/glog.git ./autogen.sh && ./configure && make && sudo make install
顺便按照gflags
1 2 3 4 5 6
git clone https://github.com/gflags/gflags sudo apt-get install autoconf automake libtool #进入源码目录(即gflags文件夹) cmake . make -j 24 sudo make install