编译
windows 使用qtcreater编译boost 库命令;
bjam install stage --toolset=gcc --stagedir="./lib" link=static runtime-link=static threading=multi debug release
使用
qtcreater添加头文件目录;
INCLUDEPATH += C:/boost_1_60_0/boost_1_60_0
qtcreater添加静态库;
LIBS += C:/boost_1_60_0/boost_1_60_0/stage/lib/libboost_system-mgw53-mt-sd-1_60.a
LIBS += C:/boost_1_60_0/boost_1_60_0/stage/lib/libboost_thread-mgw53-mt-sd-1_60.a