Windows – How to install Boost on Windows 7 with VS

boostwindows

So I am trying for whole day to integrate Boost with Visual Studio (2008) on Windows 7.
I firstly I went twice trough this How to use Boost in Visual Studio 2010.

I searched over all (there are at least 3 of them) simiral topics and none of them worked.

Some people proposed using this one : www.boostpro.com/download/ but link is not active.
Someone proposed to change runtime library to Multi-threaded DLL but is also didnt work.

I just try to include #include <boost/thread.hpp> and got this error

fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-s-1_53.lib'.

Before installing Boost the error was that it cannot find the thread.hpp so it seems like the Boost is installed somewhat correctly.

The problem is that the libraries were not build while I was using the tutorial. How can I build them manually?

Best Answer

There's no such thing like one-click boost install, you still need to do something manually. In your case it seems you need to compile Boost.Thread library and then add directory where resulting .lib file is to your library path. The link you provided looks pretty good. If you followed it probably you already built Boost.Thread. Make sure you did #6 from the second part.