1、 “boost::throw_exception”: 未找到匹配的重载函数
方法: boost::system::system_category,后面增加(),修改后如下
boost::throw_exception(boost::system::system_error(::GetLastError(), boost::system::system_category(), "boost::process::detail::pipe::pipe: CreatePipe failed"));
2、无法解析的外部符号 "char * * __cdecl __p__environ(void)"
方法1:process.hpp 开头宏定义后增加 #undef environ
方法2: 修改environ 为其他变量(为尝试)