Open amiltonwong opened 7 years ago
Hi, I am having a similar problem, but in my case it says (I don't know why make messes output like this)
`CXX .build_release/src/caffe/proto/caffe.pb.cc In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0: .build_release/src/caffe/proto/caffe.pb.h:17:2: error: #error This file was generated by an older ver sion of protoc which is
^~~~~ .build_release/src/caffe/proto/caffe.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
^~~~~ .build_release/src/caffe/proto/caffe.pb.h:19:2: error: #error regenerate this file with a newer versi on of protoc.
^~~~~
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:1182:10: error: ‘PROTOBUF_CONSTEXPR’ does not name a type
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
^~~~~~
.build_release/src/caffe/proto/caffe.pb.h:1300:10: error: ‘PROTOBUF_CONSTEXPR’ does not name a type
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
^~~~~~
`
etc. (there are many errors like the last two then)
I have protobuf version 3.6.0.
Hi, @hszhao ,
Which version of protobuf do you use? Mine is 2.5.0 and it isn't compatible with PSPNet package.