缺少glog表现

执行make命令时报错

/usr/bin/ld: cannot find -lglog
collect2: error: ld returned 1 exit status

安装glog命令

  1. 下载glog
git clone https://github.com/google/glog
  1. 安装依赖包
sudo apt-get install autoconf automake libtool
  1. 安装glog
cd glog
./autogen.sh
./configure
make
sudo make install
Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐