安裝caffe時make all會出現這個錯誤,按照https://github.com/BVLC/caffe/issues/4988說法,可能時libprotobuf-dev過時了,需要從源碼重新變異protobuf。
首先安裝:sudo apt-get install autoconf automake libtool curl make g++ unzip
接下來參考這篇博客就行了:http://blog.csdn.net/yl204/article/details/50478279
另參考:https://github.com/google/protobuf/blob/master/src/README.md