I want to install caffe on my FreeBSD 11.2 by ports, but I get an error like this:
I have googled this, tell me to compile caffe with libprotobuf.a , not with libprotobuf.so
I think opencv and caffe both load the libprotobuf.so, and both use caffe.proto, so I have the error.
Code:
# caffe
[libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: caffe.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1394] CHECK failed: generated_database -> ADD(encode_file_descriptor, size):
Abort ( core dump )
I think opencv and caffe both load the libprotobuf.so, and both use caffe.proto, so I have the error.