[158] | 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 | 1. Download boost archive (let's call it BOOST.ZIP) for your system from:
|
---|
| 20 | * http://sourceforge.net/projects/boost/files/boost/
|
---|
| 21 | or get latest directly:
|
---|
| 22 | * http://sourceforge.net/projects/boost/files/latest/download?source=files
|
---|
| 23 |
|
---|
| 24 | 2. Unpack the downloaded boost archive BOOST.ZIP to some directory (e.g. HOME_DIR).
|
---|
| 25 |
|
---|
| 26 | 3. Go to HOME_DIR.
|
---|
| 27 |
|
---|
| 28 | 4. Run `bootstrap` in HOME_DIR.
|
---|
| 29 | bootstrap.bat
|
---|
| 30 | or
|
---|
| 31 | ./booststrap.sh
|
---|
| 32 |
|
---|
| 33 | Note: Run `bootstrap --help` for more info.
|
---|
| 34 |
|
---|
| 35 | 5. Run `b2` in HOME_DIR.
|
---|
| 36 | b2 --with-log install
|
---|
| 37 | or
|
---|
| 38 | ./b2 --with-log install
|
---|
| 39 |
|
---|
| 40 | 5.1
|
---|
| 41 | a. If needed, you can run `b2` with additional parameters to specify the installation directory
|
---|
| 42 | b2 --prefix="C:\lib\boost" install
|
---|
| 43 |
|
---|
| 44 | b. In this case you'll have to add environment variables:
|
---|
| 45 | BOOST_ROOT="c:\lib\Boost"
|
---|
| 46 | BOOST_LIBRARYDIR="c:\lib\Boost\lib"
|
---|
| 47 |
|
---|
| 48 | 5.2. You can install full Boost using:
|
---|
| 49 | b2 --build-type=complete install
|
---|