CHECK failed: (scc->visit_status.load(std::memory_order_relaxed)) == (SCCInfoBase::kRunning):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (scc->visit_status.load(std::memory_order_relaxed)) == (SCCInfoBase::kRunning):
Aborted (core dumped)
编译项目时需要在命令最后加上 -lpthread选项
g++ main.cc messagetest.pb.cc -o test -std=c++11 -lprotobuf -lpthread