1>LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc141-mt-gd-x64-1_73.lib'

在windows下使用boost的时候遇到这个问题,需要编译一下。

在boost目录下运行bootstrap.bat

然后运行生成的b2.exe,时间有点久,耐心等待一下

编译完成后,添加路径

Project-->右键-->Properties-->C/C++-->General-->Additional Include Derectories-->增加boost的路径

Project-->右键-->Properties-->Linker-->General-->Additional Library Derectories-->增加boost下stage/lib的路径

原文地址:https://www.cnblogs.com/studywithallofyou/p/13163445.html