主要原因是没有安装和配置boost库。 解决:http://www.programlife.net/boost-compile-and-config.html 转载于:https://www.cnblogs.com/xuqiulin/p/5415047.html