terminate called after throwing an instance of 'std::system_error' what(): Unknown error -1 Aborted (core dumped)

编译protobuf的程序,编译没问题,但是一运行就挂了
解决方法:
加上链接参数: -lpthread

posted @ 2020-07-04 09:57  stdpain  阅读(4351)  评论(1编辑  收藏  举报