You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first, I install protoc-2.6.1, but I get an error:
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
^
.build_release/src/caffe/proto/caffe.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
^
.build_release/src/caffe/proto/caffe.pb.h:14:2: error: #error your headers.
#error your headers.
^
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:23:35: fatal error: google/protobuf/arena.h: No such file or directory
compilation terminated.
Makefile:582: recipe for target '.build_release/src/caffe/proto/caffe.pb.o' failed
make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1
Then I install protoc-3.6.1 instead, but the error still exists.
I think this is because the protocol compiler (protoc) and the library header (/usr/include/google/protobuf) are inconsistent.
At first, I install protoc-2.6.1, but I get an error:
Then I install protoc-3.6.1 instead, but the error still exists.
I think this is because the protocol compiler (protoc) and the library header (/usr/include/google/protobuf) are inconsistent.
I am not the user of
root
, and the protoc is installed at my own dir.So anyone could help me solve this problem?
Thanks!
The text was updated successfully, but these errors were encountered: