原文:mac安装protobuf2.4.1时报错./include/gtest/internal/gtest-port.h:428:10: fatal error: 'tr1/tuple' file not found和google/protobuf/message.cc:175:16: error: implicit instantiation of undefined template

通过网上下载的protobuf . . 的压缩文件,然后进行安装,. configure和make时遇到了两个问题。 正常的安装步骤如下: . configure make make check make install protoc version 问题一 protobuf . . 通过下载的tar.gz文件安装时. configure报错:. include gtest internal g ...

2016-08-20 19:13 0 3806 推荐指数:

查看详情

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

安装caffemake all会出现这个错误,按照https://github.com/BVLC/caffe/issues/4988说法,可能libprotobuf-dev过时了,需要从源码重新变异protobuf。 首先安装:sudo apt-get install autoconf ...

Sat Sep 30 21:43:00 CST 2017 0 1058
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM