Skip to content

Commit 3dfdc3a

Browse files
authored
docs: add how-to install boost on windows (#919)
1 parent a4db75d commit 3dfdc3a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/INSTALLATION.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@ of the Microsoft Visual C++ compiler.
6464

6565
You should be able to use other integrated IDE's such as JetBrains' CLion in a similar manner.
6666

67+
### Installing Boost on Windows
68+
69+
The `meetup` and `gigasecond` exercises depend on the [Boost][boost-website] libraries.
70+
The following steps describe how to set that up.
71+
72+
1. Download the [prebuilt windows libraries][sourceforge-boost-binaries] for Boost.
73+
- The exercises require a minimum Boost version of 1.58.
74+
- You can find the version of MSVC by clicking "Modify" in the Visual Studio Installer.
75+
1. Extract the libraries to a local folder.
76+
1. Set the `BOOST_ROOT` environment variable to the folder where you installed the Boost libraries.
77+
1. If you had Visual Studio open while doing this, close it to make sure the value of `BOOST_ROOT` gets picked up.
78+
1. Start Visual Studio and open the folder containing the `gigasecond` or `meetup` exercise.
79+
1. The "Startup Item" should be `gigasecond.exe` or `meetup.exe` and you should get build errors in either `gigasecond_test.cpp` or `meetup_test.cpp` telling you to implement missing items, similar to the other exercises.
80+
6781
## Linux
6882

6983
All recent Linux distribution releases have compatible C++14 compilers, you
@@ -86,3 +100,7 @@ to figure out how to install the minimum compiler version.
86100
MacOS users can install GCC with [Homebrew](http://brew.sh/) via
87101
`brew install gcc`.
88102

103+
104+
105+
[boost-website]: https://www.boost.org/
106+
[sourceforge-boost-binaries]: https://sourceforge.net/projects/boost/files/boost-binaries/

0 commit comments

Comments
 (0)