错误:‘lock_guard’ 在此作用域中尚未声明

解决:修改报错文件,加入#include <boost/thread/lock_guard.hpp>

原文地址:https://www.cnblogs.com/qiumingcheng/p/7711481.html