VS2013添加boost头文件和库文件路径后,代码编译报错:
错误 LNK2019 无法解析的外部符号 “void __cdecl boost::throw_exception(class std::exception const &)” (?throw_exception@boost@@YAXAEBVexception@std@@@Z),该符号在函数 “public: __cdecl boost::gregorian:📅:date(class boost::gregorian::greg_year,class boost::gregorian::greg_month,class boost::gregorian::greg_day)” (??0date@gregorian@boost@@QEAA@Vgreg_year@12@Vgreg_month@12@Vgreg_day@12@@Z) 中被引用 asiotest
修改编译选项: