Sometimes the autolinking functionality of Boost on win32 causes trouble. Disabling this is easy, just add to the preprocessor the definition BOOST_ALL_NO_LIB.

I use CMake to build all my projects these days and doing this is very simple, just add:

ADD_DEFINITIONS("-DBOOST_ALL_NO_LIB")

If you want to do this on Visual Studio, go to the properties of the project and add it under Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions as shown below.

Setting BOOST_ALL_NO_LIB preprocessor definition on Visual Studio

Setting BOOST_ALL_NO_LIB preprocessor definition on Visual Studio

0