proto/caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc

Steps to recompile caffe:
make clean;
make all -j4 ;
make test ;
make runtest ;
make pycaffe
error: After recompiling the new version of protobuf, an error proto/caffe.pb.h:17:2: error is reported when compiling caffe : #error This file was generated by an older version of protoc
Solution: Re-open a session in xshell to connect to the server and compile caffe
Finally , when I compile caffe, I use version 2.5 of protobuf, and use 3 .The above version of protobuf can not compile caffe

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324842614&siteId=291194637