原文: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