From 542d04d0d9de4d1fde2575d8c6386e19f190c19e Mon Sep 17 00:00:00 2001
From: Marshall Clow
The most reliable way to get a copy of Boost is to -download boost_1_72_0.7z or boost_1_72_0.zip and unpack it to install a complete Boost +download boost_1_73_0.7z or boost_1_73_0.zip and unpack it to install a complete Boost distribution.1
@@ -71,7 +75,7 @@ distribution.1This is a sketch of the resulting directory structure:
-boost_1_72_0\ .................The “boost root directory” +boost_1_73_0\ .................The “boost root directory” index.htm .........A copy of www.boost.org starts here boost\ .........................All Boost Header files lib\ .....................precompiled library binaries @@ -116,7 +120,7 @@ anything you can use in these directories.
It's important to note the following:
The path to the boost root directory (often C:\Program Files\boost\boost_1_72_0) is +
The path to the boost root directory (often C:\Program Files\boost\boost_1_73_0) is sometimes referred to as $BOOST_ROOT in documentation and mailing lists .
followed by Return. For example,
-cd C:\Program Files\boost\boost_1_72_0 +cd C:\Program Files\boost\boost_1_73_0
Long commands can be continued across several lines by typing a caret (^) at the end of all but the last line. Some examples @@ -282,7 +286,7 @@ select Properties from the resulting pop-up menu
In Configuration Properties > C/C++ > General > Additional Include Directories, enter the path to the Boost root directory, for example
-C:\Program Files\boost\boost_1_72_0
+C:\Program Files\boost\boost_1_73_0
In Configuration Properties > C/C++ > Precompiled Headers, change @@ -320,7 +324,7 @@ Visual Studio compiler. In that window, set the to a suitable location for creating some temporary files and type the following command followed by the Return key:
-cl /EHsc /I path\to\boost_1_72_0 path\to\example.cpp +cl /EHsc /I path\to\boost_1_73_0 path\to\example.cpp
To test the result, type:
@@ -489,8 +493,8 @@ b2 --build-dir=b please see the Boost.Build documentation.For example, your session might look like this:3
-C:\WINDOWS> cd C:\Program Files\boost\boost_1_72_0 -C:\Program Files\boost\boost_1_72_0> b2 ^ +C:\WINDOWS> cd C:\Program Files\boost\boost_1_73_0 +C:\Program Files\boost\boost_1_73_0> b2 ^ More? --build-dir="C:\Documents and Settings\dave\build-boost" ^ More? --build-type=complete msvc stage@@ -629,7 +633,7 @@ earlier: select Properties from the resulting pop-up menu
For example, we can compile and link the above program from the Visual C++ command-line by simply adding the bold text below to the command line we used earlier, assuming your Boost binaries are -in C:\Program Files\boost\boost_1_72_0\lib:
+in C:\Program Files\boost\boost_1_73_0\lib:-cl /EHsc /I path\to\boost_1_72_0 example.cpp ^ - /link /LIBPATH:C:\Program Files\boost\boost_1_72_0\lib +cl /EHsc /I path\to\boost_1_73_0 example.cpp ^ + /link /LIBPATH:C:\Program Files\boost\boost_1_73_0\lib