analytics-zoo 在mac上的测试报错:
[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/descriptor_database.cc:393] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
[libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/descriptor.cc:1367] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
解决方案:
一般是protobuf的版本有问题,升级protibuf到3.12.0。
protobuf 3.11.2在linux上可以正常使用,Mac上会出错,mac上使用protobuf 3.9.2或3.12.0
https://github.com/intel-analytics/analytics-zoo/issues/4074