You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The most reliable way to get a copy of Boost is to download a
64
64
distribution from <aclass="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041">SourceForge</a>:</p>
<li><pclass="first">The path to the <strong>boost root directory</strong> (often <ttclass="docutils literal"><spanclass="pre">/usr/local/</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt>) is
139
+
<li><pclass="first">The path to the <strong>boost root directory</strong> (often <ttclass="docutils literal"><spanclass="pre">/usr/local/</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt>) is
140
140
sometimes referred to as <ttclass="docutils literal"><spanclass="pre">$BOOST_ROOT</span></tt> in documentation and
141
141
mailing lists .</p>
142
142
</li>
@@ -230,7 +230,7 @@ <h1><a class="toc-backref" href="#id21">4 Build a Simple Progra
230
230
<p>Now, in the directory where you saved <ttclass="docutils literal"><spanclass="pre">example.cpp</span></tt>, issue the
231
231
following command:</p>
232
232
<preclass="literal-block">
233
-
c++ -I <em>path/to/</em><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt> example.cpp -o example
233
+
c++ -I <em>path/to/</em><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt> example.cpp -o example
234
234
</pre>
235
235
<p>To test the result, type:</p>
236
236
<preclass="literal-block">
@@ -261,7 +261,7 @@ <h2><a class="toc-backref" href="#id24">5.1 Easy Build and Inst
261
261
<p>Issue the following commands in the shell (don't type <ttclass="docutils literal"><spanclass="pre">$</span></tt>; that
262
262
represents the shell's prompt):</p>
263
263
<preclass="literal-block">
264
-
<strong>$</strong> cd <em>path/to/</em><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt>
264
+
<strong>$</strong> cd <em>path/to/</em><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt>
265
265
<strong>$</strong> ./configure --help
266
266
</pre>
267
267
<p>Select your configuration options and invoke <ttclass="docutils literal"><spanclass="pre">./configure</span></tt> again
<li><pclass="first">You can separately specify a directory to search (with <ttclass="docutils literal"><spanclass="pre">-L</span></tt><em>directory</em>) and a library name to search for (with <ttclass="docutils literal"><spanclass="pre">-l</span></tt><em>library</em>,<aclass="footnote-reference" href="#lowercase-l" id="id12"><sup>2</sup></a> dropping the filename's leading <ttclass="docutils literal"><spanclass="pre">lib</span></tt> and trailing
541
541
suffix (<ttclass="docutils literal"><spanclass="pre">.a</span></tt> in this case):</p>
542
542
<preclass="literal-block">
543
-
$ c++ -I <em>path/to/</em><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt> example.cpp -o example <strong>\</strong>
543
+
$ c++ -I <em>path/to/</em><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt> example.cpp -o example <strong>\</strong>
install the <aclass="reference external" href="../../libs/regex/index.html">Boost.Regex</a> binaries when given the option.</p>
70
70
<p>If you're using an earlier version of Visual Studio or some other
71
71
compiler, or if you prefer to build everything yourself, you can
72
-
download <aclass="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt><ttclass="docutils literal"><spanclass="pre">.exe</span></tt></a> and run it to install a complete Boost
72
+
download <aclass="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt><ttclass="docutils literal"><spanclass="pre">.exe</span></tt></a> and run it to install a complete Boost
<li><pclass="first">The path to the <strong>boost root directory</strong> (often <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt>) is
127
+
<li><pclass="first">The path to the <strong>boost root directory</strong> (often <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt>) is
128
128
sometimes referred to as <ttclass="docutils literal"><spanclass="pre">$BOOST_ROOT</span></tt> in documentation and
129
129
mailing lists .</p>
130
130
</li>
@@ -248,7 +248,7 @@ <h1><a class="toc-backref" href="#id26">4 Build a Simple Progra
248
248
</pre>
249
249
<p>followed by Return. For example,</p>
250
250
<preclass="literal-block">
251
-
cd <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt>
251
+
cd <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt>
252
252
</pre>
253
253
<pclass="last">Long commands can be continued across several lines by typing a
254
254
caret (<ttclass="docutils literal"><spanclass="pre">^</span></tt>) at the end of all but the last line. Some examples
@@ -273,7 +273,7 @@ <h1><a class="toc-backref" href="#id26">4 Build a Simple Progra
273
273
<li><pclass="first">In <em>Configuration Properties</em> > <em>C/C++</em> > <em>General</em> > <em>Additional Include
274
274
Directories</em>, enter the path to the Boost root directory, for example</p>
@@ -342,7 +342,7 @@ <h1><a class="toc-backref" href="#id30">5 Prepare to Use a Boos
342
342
<h2><aclass="toc-backref" href="#id31">5.1 Install Visual Studio (2005 or .NET 2003) Binaries</a></h2>
343
343
<p>The <aclass="reference external" href="http://www.boost-consulting.com/download/windows">installer</a> supplied by Boost Consulting will download and
344
344
install pre-compiled binaries into the <ttclass="docutils literal"><spanclass="pre">lib\</span></tt> subdirectory of the
345
-
boost root, typically <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt><ttclass="docutils literal"><spanclass="pre">\lib\</span></tt>. If you installed
345
+
boost root, typically <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt><ttclass="docutils literal"><spanclass="pre">\lib\</span></tt>. If you installed
346
346
all variants of the <aclass="reference external" href="../../libs/regex/index.html">Boost.Regex</a> binary, you're done with this
347
347
step. Otherwise, please run the installer again and install them
<p>For example, your session might look like this:<aclass="footnote-reference" href="#continuation" id="id13"><sup>4</sup></a></p>
493
493
<preclass="literal-block">
494
-
C:\WINDOWS> cd <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt>
C:\WINDOWS> cd <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt>
Directories</em>, enter the path to the Boost binaries,
621
-
e.g. <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt><ttclass="docutils literal"><spanclass="pre">\lib\</span></tt>.</li>
621
+
e.g. <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt><ttclass="docutils literal"><spanclass="pre">\lib\</span></tt>.</li>
622
622
<li>From the <em>Build</em> menu, select <em>Build Solution</em>.</li>
623
623
</ol>
624
624
<p><aclass="reference internal" href="#test-your-program"><em>skip to the next step</em></a></p>
@@ -628,10 +628,10 @@ <h2><a class="toc-backref" href="#id41">6.2 Or, Link From the C
628
628
<p>For example, we can compile and link the above program from the
629
629
Visual C++ command-line by simply adding the <strong>bold</strong> text below to
630
630
the command line we used earlier, assuming your Boost binaries are
631
-
in <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt><ttclass="docutils literal"><spanclass="pre">\lib</span></tt>:</p>
631
+
in <ttclass="docutils literal"><spanclass="pre">C:\Program</span><spanclass="pre">Files\boost\</span></tt><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt><ttclass="docutils literal"><spanclass="pre">\lib</span></tt>:</p>
@@ -786,7 +786,7 @@ <h1><a class="toc-backref" href="#id44">7 Conclusion and Furthe
786
786
<colgroup><colclass="label" /><col/></colgroup>
787
787
<tbodyvalign="top">
788
788
<tr><tdclass="label"><aclass="fn-backref" href="#id2">[1]</a></td><td>If you prefer not to download executable programs,
789
-
download <aclass="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><ttclass="docutils literal"><spanclass="pre">boost_1_34_0</span></tt><ttclass="docutils literal"><spanclass="pre">.zip</span></tt></a> and use an external tool to decompress
789
+
download <aclass="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><ttclass="docutils literal"><spanclass="pre">boost_1_34_1</span></tt><ttclass="docutils literal"><spanclass="pre">.zip</span></tt></a> and use an external tool to decompress
790
790
it. We don't recommend using Windows' built-in decompression as
791
791
it can be painfully slow for large archives.</td></tr>
0 commit comments