1 | #################################################
|
---|
2 | # ___________ ____ ______ __ __ _____ #
|
---|
3 | # \____ \__ \ _/ ___\\____ \| | \/ ___/ #
|
---|
4 | # | |_> > __ \\ \___| |_> > | /\___ \ #
|
---|
5 | # | __(____ /\___ > __/|____//____ > #
|
---|
6 | # |__| \/ \/|__| \/ #
|
---|
7 | # #
|
---|
8 | #################################################
|
---|
9 |
|
---|
10 | ========================================
|
---|
11 | Boost
|
---|
12 | ========================================
|
---|
13 | See:
|
---|
14 | * http://www.boost.org
|
---|
15 | * http://www.boost.org/doc/libs/release/more/getting_started/
|
---|
16 | * http://www.boost.org/doc/libs/release/more/getting_started/windows.html
|
---|
17 | * http://www.boost.org/doc/libs/release/more/getting_started/unix-variants.html
|
---|
18 |
|
---|
19 | You can directly install Boost binaries for Windows from
|
---|
20 | * http://sourceforge.net/projects/winbin/files/boost/
|
---|
21 |
|
---|
22 | If you want to build it on your own. Please follow these steps:
|
---|
23 |
|
---|
24 | 1. Download boost archive (let's call it BOOST.ZIP) for your system from:
|
---|
25 | * http://sourceforge.net/projects/boost/files/boost/
|
---|
26 | or get latest directly:
|
---|
27 | * http://sourceforge.net/projects/boost/files/latest/download?source=files
|
---|
28 |
|
---|
29 | 2. Unpack the downloaded boost archive BOOST.ZIP to some directory (e.g. HOME_DIR).
|
---|
30 |
|
---|
31 | 3. Go to HOME_DIR.
|
---|
32 |
|
---|
33 | 4. Run `bootstrap` in HOME_DIR.
|
---|
34 | bootstrap.bat
|
---|
35 | or
|
---|
36 | ./booststrap.sh
|
---|
37 |
|
---|
38 | Note: Run `bootstrap --help` for more info.
|
---|
39 |
|
---|
40 | 5. Run `b2` in HOME_DIR.
|
---|
41 | b2 --with-log install
|
---|
42 | or
|
---|
43 | ./b2 --with-log install
|
---|
44 |
|
---|
45 | 5.1
|
---|
46 | a. If needed, you can run `b2` with additional parameters to specify the installation directory
|
---|
47 | b2 --prefix="C:\lib\boost" install
|
---|
48 |
|
---|
49 | b. In this case you'll have to add environment variables:
|
---|
50 | BOOST_ROOT="c:\lib\Boost"
|
---|
51 | BOOST_LIBRARYDIR="c:\lib\Boost\lib"
|
---|
52 |
|
---|
53 | 5.2. You can install full Boost using:
|
---|
54 | b2 --build-type=complete install
|
---|