How to install Boost

How to get Boost working on windows::

1. Download and extract the .zip/.7z etc from boost website to any folder (lets assume: D:\)

2. Open command prompt and goto that folder (D:\boost_1_39_0)

3. Since, boost does not require building code other than the libraries that it provides, go through the following only if you want to install any of the libraries:
At command prompt:
(I am trying to install filesystem,system)

– bootstrap.bat –with-library=filesystem,system stage
– bjam –with-filesystem variant=debug link=static threading=single,multi –libdir=”D:\Libraries\boost_1_39_0\lib”
(PS: These are the options that I chose, one can choose otherwise, as well. Use bjam –help for more options)

You should now have a folder called stage/lib which would have the processed libraries/dll

(WordPress formatting screwed the text which needs to be put in command prompt. I have made a word doc from which commands can be pasted with appropriate changes made to reflect the directory structure)



2 Comments on “How to install Boost”

  1. Freddy says:

    Hello, i have a little offtopic question. I like the Layout of this site, can i get the template somewhere? Thank you in behind and best wishes from austria.


Leave a comment