我正在用 msys 和 mingw 编译 libtorrent-rasterbar-0.16.16。./configure 运行良好,直到进入 boost 库检查。我有 boost 1.51,我设置了 $BOOST_ROOT,但这不起作用。
Checking for boost libraries:
checking for boostlib >= 1.36... expr: syntax error
configure: We could not detect the boost libraries (version 1.36 or higher). If
you have a staged boost library (still not installed) please specify $BOOST_ROOT
in your environment and do not give a PATH to --with-boost option. If you are
sure you have boost installed, then check your version number looking in <boost/
version.hpp>. See http://randspringer.de/boost for more documentation.
checking whether the Boost::System library is available... no
configure: error: Boost.System library not found. Try using --with-boost-system=
lib
我尝试了 --with-boost-system= 选项,但也没有用。我还将 libboost_system-mgw47-mt-1_51.a 复制到与 libtorrent 相同的目录中......但它不起作用。
我错过了什么?