当我制作caffe时出现以下错误:make runtest -j8
ERROR: something wrong with flag 'logtostderr' in file '/glog/src/logging.cc'. One possibility: file '/glog/src/logging.cc' is being linked both statically and dynamically into this executable.
我不知道如何解决它。
答案 0 :(得分:0)
您似乎有两个版本的libgflags。
#Remove libgflags:
sudo apt-get remove -y libgflags-dev
# Check the path first before proceeding:
sudo rm -f /usr/local/lib/libgflags.a /usr/local/lib/libgflags_nothreads.a
sudo rm -rf /usr/local/include/gflags
#Reinstall it:
sudo apt-get install -y libgflags-dev
Rebuild caffe