我正在尝试将 Libtorrent 与 Visual Studio 2013 静态链接,但在构建 Libtorrent 然后编译我的项目后,我不断收到这个错误:
LINK : fatal error LNK1104: cannot open file 'libboost_system-vc120-mt-1_55.lib'
当我静态构建时,我没有libboost_system-vc120-mt-1_55.lib而是有libboost_system-vc120-mt-s-1_55.lib。我使用以下参数构建了提升:
"toolset=msvc-12.0 variant=release link=static runtime-link=static --with-date_time --with-system --with-thread"
和 Libtorrent 与这些:
"toolset=msvc-12.0 boost=source boost-link=static geoip=off encryption=tommath link=static dht=on logging=none statistics=off i2p=on variant=release"
当构建的 Libtorrent 认为它是共享的而不是静态的时,我缺少什么?