fatal error: google/protobuf/arena.h:没有那个文件或目录

安装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

 

posted @ 2017-09-30 13:43  牧马人夏峥  阅读(1935)  评论(0编辑  收藏  举报