C++ – Building Boost BCP

boostc

I was trying to build Boost C++ Libraries for last two hours and stopped without any result. Since I am new to C++, I am unable to get the build right. How can I build it correctly using Visual Studio 2008?

I need to use the BCP tool to extract a subset of library. So I need to build BCP first, right? How to do this? When I tried to build it, I got the following error

fatal error LNK1104: cannot open file 'libboost_filesystem-vc90-mt-gd-1_37.lib'.

Where can I get the above given library file?

Best Answer

The current version of Boost (1.50.0) uses Boost.Build. The new workflow for building bcp is as follows:

from the root Boost directory, type:

bootstrap.bat

Then, once Boost.Build has been built, type:

b2 tools/bcp