mirror of
https://github.com/boostorg/more.git
synced 2025-03-15 11:50:11 +08:00
Prepare for 1.45
[SVN r64862]
This commit is contained in:
parent
dedd5422f5
commit
a442aa8c16
@ -5,8 +5,8 @@
|
|||||||
.. This file contains all the definitions that need to be updated
|
.. This file contains all the definitions that need to be updated
|
||||||
.. for each new release of Boost.
|
.. for each new release of Boost.
|
||||||
|
|
||||||
.. |boost-version-number| replace:: 1.44.0
|
.. |boost-version-number| replace:: 1.45.0
|
||||||
.. |boost_ver| replace:: ``boost_1_44_0``
|
.. |boost_ver| replace:: ``boost_1_45_0``
|
||||||
.. |boost_ver-bold| replace:: **boost_1_44_0**
|
.. |boost_ver-bold| replace:: **boost_1_45_0**
|
||||||
|
|
||||||
.. _sf-download: http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041
|
.. _sf-download: http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041
|
||||||
|
@ -2,21 +2,15 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
|
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
|
||||||
<title>Boost Getting Started</title>
|
<title>Boost Getting Started</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../rst.css" type="text/css" />
|
<link rel="stylesheet" href="../../rst.css" type="text/css" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="document" id="logo-getting-started">
|
<div class="document" id="logo-getting-started">
|
||||||
|
|
||||||
<h1 class="title"><a class="reference external" href="../../index.htm"><img alt="Boost" class="boost-logo" src="../../boost.png" /></a> Getting Started</h1>
|
<h1 class="title"><a class="reference external" href="../../index.htm"><img alt="Boost" class="boost-logo" src="../../boost.png" /></a> Getting Started</h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||||
<!-- Software License, Version 1.0. (See accompanying -->
|
<!-- Software License, Version 1.0. (See accompanying -->
|
||||||
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
||||||
@ -58,7 +52,6 @@ your actual name.</p>
|
|||||||
<h1>Ready?</h1>
|
<h1>Ready?</h1>
|
||||||
<p>Let's go!</p>
|
<p>Let's go!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr class="footer" />
|
<hr class="footer" />
|
||||||
@ -70,4 +63,3 @@ your actual name.</p>
|
|||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
@ -2,22 +2,16 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
|
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
|
||||||
<title>Boost Getting Started on Unix Variants</title>
|
<title>Boost Getting Started on Unix Variants</title>
|
||||||
<meta content="Getting Started with Boost on Unix Variants (including Linux and MacOS)" name="description" />
|
<meta content="Getting Started with Boost on Unix Variants (including Linux and MacOS)" name="description" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../rst.css" type="text/css" />
|
<link rel="stylesheet" href="../../rst.css" type="text/css" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="document" id="logo-getting-started-on-unix-variants">
|
<div class="document" id="logo-getting-started-on-unix-variants">
|
||||||
|
|
||||||
<h1 class="title"><a class="reference external" href="../../index.htm"><img alt="Boost" class="boost-logo" src="../../boost.png" /></a> Getting Started on Unix Variants</h1>
|
<h1 class="title"><a class="reference external" href="../../index.htm"><img alt="Boost" class="boost-logo" src="../../boost.png" /></a> Getting Started on Unix Variants</h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||||
<!-- Software License, Version 1.0. (See accompanying -->
|
<!-- Software License, Version 1.0. (See accompanying -->
|
||||||
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
||||||
@ -69,12 +63,12 @@
|
|||||||
<p>The most reliable way to get a copy of Boost is to download a
|
<p>The most reliable way to get a copy of Boost is to download a
|
||||||
distribution from <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041">SourceForge</a>:</p>
|
distribution from <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041">SourceForge</a>:</p>
|
||||||
<ol class="arabic">
|
<ol class="arabic">
|
||||||
<li><p class="first">Download <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_44_0</tt><tt class="docutils literal">.tar.bz2</tt></a>.</p>
|
<li><p class="first">Download <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_45_0</tt><tt class="docutils literal">.tar.bz2</tt></a>.</p>
|
||||||
</li>
|
</li>
|
||||||
<li><p class="first">In the directory where you want to put the Boost installation,
|
<li><p class="first">In the directory where you want to put the Boost installation,
|
||||||
execute</p>
|
execute</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
tar --bzip2 -xf <em>/path/to/</em><tt class="docutils literal">boost_1_44_0</tt>.tar.bz2
|
tar --bzip2 -xf <em>/path/to/</em><tt class="docutils literal">boost_1_45_0</tt>.tar.bz2
|
||||||
</pre>
|
</pre>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
@ -97,7 +91,7 @@ from <a class="reference external" href="http://sourceforge.net/project/showfile
|
|||||||
<h1><a class="toc-backref" href="#id21">2 The Boost Distribution</a></h1>
|
<h1><a class="toc-backref" href="#id21">2 The Boost Distribution</a></h1>
|
||||||
<p>This is a sketch of the resulting directory structure:</p>
|
<p>This is a sketch of the resulting directory structure:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
<strong>boost_1_44_0</strong><strong>/</strong> .................<em>The “boost root directory”</em>
|
<strong>boost_1_45_0</strong><strong>/</strong> .................<em>The “boost root directory”</em>
|
||||||
<strong>index.htm</strong> .........<em>A copy of www.boost.org starts here</em>
|
<strong>index.htm</strong> .........<em>A copy of www.boost.org starts here</em>
|
||||||
<strong>boost</strong><strong>/</strong> .........................<em>All Boost Header files</em>
|
<strong>boost</strong><strong>/</strong> .........................<em>All Boost Header files</em>
|
||||||
<tt class="docutils literal"> </tt>
|
<tt class="docutils literal"> </tt>
|
||||||
@ -142,7 +136,7 @@ anything you can use in these directories.</p>
|
|||||||
</div>
|
</div>
|
||||||
<p>It's important to note the following:</p>
|
<p>It's important to note the following:</p>
|
||||||
<ol class="arabic" id="boost-root-directory">
|
<ol class="arabic" id="boost-root-directory">
|
||||||
<li><p class="first">The path to the <strong>boost root directory</strong> (often <tt class="docutils literal">/usr/local/</tt><tt class="docutils literal">boost_1_44_0</tt>) is
|
<li><p class="first">The path to the <strong>boost root directory</strong> (often <tt class="docutils literal">/usr/local/</tt><tt class="docutils literal">boost_1_45_0</tt>) is
|
||||||
sometimes referred to as <tt class="docutils literal">$BOOST_ROOT</tt> in documentation and
|
sometimes referred to as <tt class="docutils literal">$BOOST_ROOT</tt> in documentation and
|
||||||
mailing lists .</p>
|
mailing lists .</p>
|
||||||
</li>
|
</li>
|
||||||
@ -243,7 +237,7 @@ int main()
|
|||||||
<p>Now, in the directory where you saved <tt class="docutils literal">example.cpp</tt>, issue the
|
<p>Now, in the directory where you saved <tt class="docutils literal">example.cpp</tt>, issue the
|
||||||
following command:</p>
|
following command:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
c++ -I <em>path/to/</em><tt class="docutils literal">boost_1_44_0</tt> example.cpp -o example
|
c++ -I <em>path/to/</em><tt class="docutils literal">boost_1_45_0</tt> example.cpp -o example
|
||||||
</pre>
|
</pre>
|
||||||
<p>To test the result, type:</p>
|
<p>To test the result, type:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
@ -274,7 +268,7 @@ you'll need to acquire library binaries.</p>
|
|||||||
<p>Issue the following commands in the shell (don't type <tt class="docutils literal">$</tt>; that
|
<p>Issue the following commands in the shell (don't type <tt class="docutils literal">$</tt>; that
|
||||||
represents the shell's prompt):</p>
|
represents the shell's prompt):</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
<strong>$</strong> cd <em>path/to/</em><tt class="docutils literal">boost_1_44_0</tt>
|
<strong>$</strong> cd <em>path/to/</em><tt class="docutils literal">boost_1_45_0</tt>
|
||||||
<strong>$</strong> ./bootstrap.sh --help
|
<strong>$</strong> ./bootstrap.sh --help
|
||||||
</pre>
|
</pre>
|
||||||
<p>Select your configuration options and invoke <tt class="docutils literal">./bootstrap.sh</tt> again
|
<p>Select your configuration options and invoke <tt class="docutils literal">./bootstrap.sh</tt> again
|
||||||
@ -446,7 +440,7 @@ bjam <strong>--build-dir=</strong><a class="reference internal" href="#id11"><em
|
|||||||
please see the <a class="reference external" href="http://www.boost.org/boost-build2/doc/html/bbv2/advanced/invocation.html">Boost.Build documentation</a>.</p>
|
please see the <a class="reference external" href="http://www.boost.org/boost-build2/doc/html/bbv2/advanced/invocation.html">Boost.Build documentation</a>.</p>
|
||||||
<p>For example, your session might look like this:</p>
|
<p>For example, your session might look like this:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
$ cd ~/<tt class="docutils literal">boost_1_44_0</tt>
|
$ cd ~/<tt class="docutils literal">boost_1_45_0</tt>
|
||||||
$ bjam <strong>--build-dir=</strong>/tmp/build-boost <strong>toolset=</strong>gcc stage
|
$ bjam <strong>--build-dir=</strong>/tmp/build-boost <strong>toolset=</strong>gcc stage
|
||||||
</pre>
|
</pre>
|
||||||
<p>That will build static and shared non-debug multi-threaded variants of the libraries. To build all variants, pass the additional option, “<tt class="docutils literal"><span class="pre">--build-type=complete</span></tt>”.</p>
|
<p>That will build static and shared non-debug multi-threaded variants of the libraries. To build all variants, pass the additional option, “<tt class="docutils literal"><span class="pre">--build-type=complete</span></tt>”.</p>
|
||||||
@ -562,14 +556,14 @@ project.</li>
|
|||||||
<ol class="upperalpha">
|
<ol class="upperalpha">
|
||||||
<li><p class="first">You can specify the full path to each library:</p>
|
<li><p class="first">You can specify the full path to each library:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
$ c++ -I <em>path/to/</em><tt class="docutils literal">boost_1_44_0</tt> example.cpp -o example <strong>\</strong>
|
$ c++ -I <em>path/to/</em><tt class="docutils literal">boost_1_45_0</tt> example.cpp -o example <strong>\</strong>
|
||||||
<strong>~/boost/stage/lib/libboost_regex-gcc34-mt-d-1_36.a</strong>
|
<strong>~/boost/stage/lib/libboost_regex-gcc34-mt-d-1_36.a</strong>
|
||||||
</pre>
|
</pre>
|
||||||
</li>
|
</li>
|
||||||
<li><p class="first">You can separately specify a directory to search (with <tt class="docutils literal"><span class="pre">-L</span></tt><em>directory</em>) and a library name to search for (with <tt class="docutils literal"><span class="pre">-l</span></tt><em>library</em>,<a class="footnote-reference" href="#lowercase-l" id="id15"><sup>2</sup></a> dropping the filename's leading <tt class="docutils literal">lib</tt> and trailing
|
<li><p class="first">You can separately specify a directory to search (with <tt class="docutils literal"><span class="pre">-L</span></tt><em>directory</em>) and a library name to search for (with <tt class="docutils literal"><span class="pre">-l</span></tt><em>library</em>,<a class="footnote-reference" href="#lowercase-l" id="id15"><sup>2</sup></a> dropping the filename's leading <tt class="docutils literal">lib</tt> and trailing
|
||||||
suffix (<tt class="docutils literal">.a</tt> in this case):</p>
|
suffix (<tt class="docutils literal">.a</tt> in this case):</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
$ c++ -I <em>path/to/</em><tt class="docutils literal">boost_1_44_0</tt> example.cpp -o example <strong>\</strong>
|
$ c++ -I <em>path/to/</em><tt class="docutils literal">boost_1_45_0</tt> example.cpp -o example <strong>\</strong>
|
||||||
<strong>-L~/boost/stage/lib/ -lboost_regex-gcc34-mt-d-1_36</strong>
|
<strong>-L~/boost/stage/lib/ -lboost_regex-gcc34-mt-d-1_36</strong>
|
||||||
</pre>
|
</pre>
|
||||||
<p>As you can see, this method is just as terse as method A for one
|
<p>As you can see, this method is just as terse as method A for one
|
||||||
@ -731,7 +725,7 @@ make this document clearer, please post it to the <a class="reference external"
|
|||||||
mailing list</a>.</p>
|
mailing list</a>.</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><a class="reference external" href="../../tools/build/v2/index.html">Boost.Build reference manual</a></li>
|
<li><a class="reference external" href="../../tools/build/v2/index.html">Boost.Build reference manual</a></li>
|
||||||
<li><a class="reference external" href="../../tools/jam/index.html">Boost.Jam reference manual</a></li>
|
<li><a class="reference external" href="../../tools/build/v2/engine/index.html">Boost.Jam reference manual</a></li>
|
||||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a></li>
|
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a></li>
|
||||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a></li>
|
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a></li>
|
||||||
<li><a class="reference external" href="http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost.Build_V2">Boost.Build Wiki</a></li>
|
<li><a class="reference external" href="http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost.Build_V2">Boost.Build Wiki</a></li>
|
||||||
@ -817,8 +811,6 @@ recommend it.</td></tr>
|
|||||||
<!-- Software License, Version 1.0. (See accompanying -->
|
<!-- Software License, Version 1.0. (See accompanying -->
|
||||||
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ least install the Static Multithreaded variants of the <a class="reference exter
|
|||||||
binaries when given the option.</p>
|
binaries when given the option.</p>
|
||||||
<p>If you're using an earlier version of Visual Studio or some other
|
<p>If you're using an earlier version of Visual Studio or some other
|
||||||
compiler, or if you prefer to build everything yourself, you can
|
compiler, or if you prefer to build everything yourself, you can
|
||||||
download <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_44_0</tt><tt class="docutils literal">.7z</tt></a> or <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_44_0</tt><tt class="docutils literal">.zip</tt></a> and unpack it to install a complete Boost
|
download <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_45_0</tt><tt class="docutils literal">.7z</tt></a> or <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_45_0</tt><tt class="docutils literal">.zip</tt></a> and unpack it to install a complete Boost
|
||||||
distribution.<a class="footnote-reference" href="#zip" id="id2"><sup>1</sup></a></p>
|
distribution.<a class="footnote-reference" href="#zip" id="id2"><sup>1</sup></a></p>
|
||||||
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||||
<!-- Software License, Version 1.0. (See accompanying -->
|
<!-- Software License, Version 1.0. (See accompanying -->
|
||||||
@ -83,7 +83,7 @@ distribution.<a class="footnote-reference" href="#zip" id="id2"><sup>1</sup></a>
|
|||||||
<h1><a class="toc-backref" href="#id30">2 The Boost Distribution</a></h1>
|
<h1><a class="toc-backref" href="#id30">2 The Boost Distribution</a></h1>
|
||||||
<p>This is a sketch of the resulting directory structure:</p>
|
<p>This is a sketch of the resulting directory structure:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
<strong>boost_1_44_0</strong><strong>\</strong> .................<em>The “boost root directory”</em>
|
<strong>boost_1_45_0</strong><strong>\</strong> .................<em>The “boost root directory”</em>
|
||||||
<strong>index.htm</strong> .........<em>A copy of www.boost.org starts here</em>
|
<strong>index.htm</strong> .........<em>A copy of www.boost.org starts here</em>
|
||||||
<strong>boost</strong><strong>\</strong> .........................<em>All Boost Header files</em>
|
<strong>boost</strong><strong>\</strong> .........................<em>All Boost Header files</em>
|
||||||
<strong>lib</strong><strong>\</strong> .....................<em>precompiled library binaries</em>
|
<strong>lib</strong><strong>\</strong> .....................<em>precompiled library binaries</em>
|
||||||
@ -128,7 +128,7 @@ anything you can use in these directories.</p>
|
|||||||
</div>
|
</div>
|
||||||
<p>It's important to note the following:</p>
|
<p>It's important to note the following:</p>
|
||||||
<ol class="arabic" id="boost-root-directory">
|
<ol class="arabic" id="boost-root-directory">
|
||||||
<li><p class="first">The path to the <strong>boost root directory</strong> (often <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt>) is
|
<li><p class="first">The path to the <strong>boost root directory</strong> (often <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt>) is
|
||||||
sometimes referred to as <tt class="docutils literal">$BOOST_ROOT</tt> in documentation and
|
sometimes referred to as <tt class="docutils literal">$BOOST_ROOT</tt> in documentation and
|
||||||
mailing lists .</p>
|
mailing lists .</p>
|
||||||
</li>
|
</li>
|
||||||
@ -259,7 +259,7 @@ cd <em>path</em>\<em>to</em>\<em>some</em>\<em>directory</em>
|
|||||||
</pre>
|
</pre>
|
||||||
<p>followed by Return. For example,</p>
|
<p>followed by Return. For example,</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
cd <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt>
|
cd <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt>
|
||||||
</pre>
|
</pre>
|
||||||
<p class="last">Long commands can be continued across several lines by typing a
|
<p class="last">Long commands can be continued across several lines by typing a
|
||||||
caret (<tt class="docutils literal">^</tt>) at the end of all but the last line. Some examples
|
caret (<tt class="docutils literal">^</tt>) at the end of all but the last line. Some examples
|
||||||
@ -284,7 +284,7 @@ select <em>Properties</em> from the resulting pop-up menu</p>
|
|||||||
<li><p class="first">In <em>Configuration Properties</em> > <em>C/C++</em> > <em>General</em> > <em>Additional Include
|
<li><p class="first">In <em>Configuration Properties</em> > <em>C/C++</em> > <em>General</em> > <em>Additional Include
|
||||||
Directories</em>, enter the path to the Boost root directory, for example</p>
|
Directories</em>, enter the path to the Boost root directory, for example</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt></p>
|
<p><tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt></p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</li>
|
</li>
|
||||||
<li><p class="first">In <em>Configuration Properties</em> > <em>C/C++</em> > <em>Precompiled Headers</em>, change
|
<li><p class="first">In <em>Configuration Properties</em> > <em>C/C++</em> > <em>Precompiled Headers</em>, change
|
||||||
@ -322,7 +322,7 @@ Visual Studio compiler. In that window, set the <a class="reference internal" h
|
|||||||
directory</a> to a suitable location for creating some temporary
|
directory</a> to a suitable location for creating some temporary
|
||||||
files and type the following command followed by the Return key:</p>
|
files and type the following command followed by the Return key:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
cl /EHsc /I <em>path\to\</em><tt class="docutils literal">boost_1_44_0</tt> <em>path</em>\<em>to</em>\example.cpp
|
cl /EHsc /I <em>path\to\</em><tt class="docutils literal">boost_1_45_0</tt> <em>path</em>\<em>to</em>\example.cpp
|
||||||
</pre>
|
</pre>
|
||||||
<p>To test the result, type:</p>
|
<p>To test the result, type:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
@ -353,7 +353,7 @@ you'll need to acquire library binaries.</p>
|
|||||||
<h2><a class="toc-backref" href="#id37">5.1 Install Visual Studio Binaries</a></h2>
|
<h2><a class="toc-backref" href="#id37">5.1 Install Visual Studio Binaries</a></h2>
|
||||||
<p>The installers supplied by BoostPro Computing will download and
|
<p>The installers supplied by BoostPro Computing will download and
|
||||||
install pre-compiled binaries into the <tt class="docutils literal">lib\</tt> subdirectory of the
|
install pre-compiled binaries into the <tt class="docutils literal">lib\</tt> subdirectory of the
|
||||||
boost root, typically <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt><tt class="docutils literal">\lib\</tt>. If you installed
|
boost root, typically <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt><tt class="docutils literal">\lib\</tt>. If you installed
|
||||||
all variants of the <a class="reference external" href="../../libs/regex/index.html">Boost.Regex</a> binary, you're done with this
|
all variants of the <a class="reference external" href="../../libs/regex/index.html">Boost.Regex</a> binary, you're done with this
|
||||||
step. Otherwise, please run the installer again and install them
|
step. Otherwise, please run the installer again and install them
|
||||||
now.</p>
|
now.</p>
|
||||||
@ -524,8 +524,8 @@ bjam <strong>--build-dir=</strong><a class="reference internal" href="#id14"><em
|
|||||||
please see the <a class="reference external" href="http://www.boost.org/boost-build2/doc/html/bbv2/advanced/invocation.html">Boost.Build documentation</a>.</p>
|
please see the <a class="reference external" href="http://www.boost.org/boost-build2/doc/html/bbv2/advanced/invocation.html">Boost.Build documentation</a>.</p>
|
||||||
<p>For example, your session might look like this:<a class="footnote-reference" href="#continuation" id="id16"><sup>4</sup></a></p>
|
<p>For example, your session might look like this:<a class="footnote-reference" href="#continuation" id="id16"><sup>4</sup></a></p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
C:\WINDOWS> cd <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt>
|
C:\WINDOWS> cd <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt>
|
||||||
<tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt>> bjam <strong>^</strong>
|
<tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt>> bjam <strong>^</strong>
|
||||||
More? <strong>--build-dir=</strong>"C:\Documents and Settings\dave\build-boost" <strong>^</strong>
|
More? <strong>--build-dir=</strong>"C:\Documents and Settings\dave\build-boost" <strong>^</strong>
|
||||||
More? <strong>--build-type=complete</strong> <strong>msvc</strong> stage
|
More? <strong>--build-type=complete</strong> <strong>msvc</strong> stage
|
||||||
</pre>
|
</pre>
|
||||||
@ -664,7 +664,7 @@ earlier:</p>
|
|||||||
select <em>Properties</em> from the resulting pop-up menu</li>
|
select <em>Properties</em> from the resulting pop-up menu</li>
|
||||||
<li>In <em>Configuration Properties</em> > <em>Linker</em> > <em>Additional Library
|
<li>In <em>Configuration Properties</em> > <em>Linker</em> > <em>Additional Library
|
||||||
Directories</em>, enter the path to the Boost binaries,
|
Directories</em>, enter the path to the Boost binaries,
|
||||||
e.g. <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt><tt class="docutils literal">\lib\</tt>.</li>
|
e.g. <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt><tt class="docutils literal">\lib\</tt>.</li>
|
||||||
<li>From the <em>Build</em> menu, select <em>Build Solution</em>.</li>
|
<li>From the <em>Build</em> menu, select <em>Build Solution</em>.</li>
|
||||||
</ol>
|
</ol>
|
||||||
<p><a class="reference internal" href="#test-your-program"><em>skip to the next step</em></a></p>
|
<p><a class="reference internal" href="#test-your-program"><em>skip to the next step</em></a></p>
|
||||||
@ -674,10 +674,10 @@ e.g. <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boos
|
|||||||
<p>For example, we can compile and link the above program from the
|
<p>For example, we can compile and link the above program from the
|
||||||
Visual C++ command-line by simply adding the <strong>bold</strong> text below to
|
Visual C++ command-line by simply adding the <strong>bold</strong> text below to
|
||||||
the command line we used earlier, assuming your Boost binaries are
|
the command line we used earlier, assuming your Boost binaries are
|
||||||
in <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_44_0</tt><tt class="docutils literal">\lib</tt>:</p>
|
in <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_45_0</tt><tt class="docutils literal">\lib</tt>:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
cl /EHsc /I <em>path\to\</em><tt class="docutils literal">boost_1_44_0</tt> example.cpp <strong>^</strong>
|
cl /EHsc /I <em>path\to\</em><tt class="docutils literal">boost_1_45_0</tt> example.cpp <strong>^</strong>
|
||||||
<strong>/link /LIBPATH:</strong><strong>C:\Program Files\boost\</strong><strong>boost_1_44_0</strong><strong>\lib</strong>
|
<strong>/link /LIBPATH:</strong><strong>C:\Program Files\boost\</strong><strong>boost_1_45_0</strong><strong>\lib</strong>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="library-naming">
|
<div class="section" id="library-naming">
|
||||||
@ -817,7 +817,7 @@ make this document clearer, please post it to the <a class="reference external"
|
|||||||
mailing list</a>.</p>
|
mailing list</a>.</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><a class="reference external" href="../../tools/build/v2/index.html">Boost.Build reference manual</a></li>
|
<li><a class="reference external" href="../../tools/build/v2/index.html">Boost.Build reference manual</a></li>
|
||||||
<li><a class="reference external" href="../../tools/jam/index.html">Boost.Jam reference manual</a></li>
|
<li><a class="reference external" href="../../tools/build/v2/engine/index.html">Boost.Jam reference manual</a></li>
|
||||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a></li>
|
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a></li>
|
||||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a></li>
|
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a></li>
|
||||||
<li><a class="reference external" href="http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost.Build_V2">Boost.Build Wiki</a></li>
|
<li><a class="reference external" href="http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost.Build_V2">Boost.Build Wiki</a></li>
|
||||||
@ -835,7 +835,7 @@ mailing list</a>.</p>
|
|||||||
<colgroup><col class="label" /><col /></colgroup>
|
<colgroup><col class="label" /><col /></colgroup>
|
||||||
<tbody valign="top">
|
<tbody valign="top">
|
||||||
<tr><td class="label"><a class="fn-backref" href="#id2">[1]</a></td><td>We recommend
|
<tr><td class="label"><a class="fn-backref" href="#id2">[1]</a></td><td>We recommend
|
||||||
downloading <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_44_0</tt><tt class="docutils literal">.7z</tt></a> and using <a class="reference external" href="http://www.7-zip.org">7-Zip</a> to decompress
|
downloading <a class="reference external" href="http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041"><tt class="docutils literal">boost_1_45_0</tt><tt class="docutils literal">.7z</tt></a> and using <a class="reference external" href="http://www.7-zip.org">7-Zip</a> to decompress
|
||||||
it. We no longer recommend .zip files for Boost because they are twice
|
it. We no longer recommend .zip files for Boost because they are twice
|
||||||
as large as the equivalent .7z files. We don't recommend using Windows'
|
as large as the equivalent .7z files. We don't recommend using Windows'
|
||||||
built-in decompression as it can be painfully slow for large archives.</td></tr>
|
built-in decompression as it can be painfully slow for large archives.</td></tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user