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

时间:2017-09-30 15:00:56   收藏:0   阅读:5569

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

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!