Skip to content

Commit 44fa15a

Browse files
Updated build instructions to include gcc v10.2 requirement for C++20 support.
1 parent f100c5e commit 44fa15a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Code includes STTP functionality for both "subscribers" and "publishers".
44

55
Build instructions follow:
66

7-
* [Windows](#compiling-in-visual-studio) (using [Visual Studio](https://visualstudio.microsoft.com/))
7+
* [Windows](#compiling-in-visual-studio) (using [Visual Studio 2019](https://visualstudio.microsoft.com/vs/community/))
88
* [Unix Variants](#compiling-in-linux) (using [CMake](https://cmake.org/))
99

1010
## Compiling in Visual Studio
@@ -39,7 +39,7 @@ link to the folder, e.g.:
3939

4040
Alternately you can adjust the additional include directories to your own
4141
Boost installation location for each of the build configurations. The code
42-
has been tested with version v1.66, v1.71 and v1.75 of Boost.
42+
has been tested with v1.66, v1.71 and v1.75 of Boost.
4343

4444
Note that you will need to compile Boost in order to execute the sample
4545
applications found in:
@@ -72,6 +72,8 @@ Earlier versions of the libraries listed may not work properly.
7272

7373
* GNU Make (http://www.gnu.org/software/make/)
7474

75+
* gcc v10.2 (for C++20 support)
76+
7577
* zlib Library, e.g.: `sudo apt install zlib1g-dev`
7678

7779
* bzip2 Library, e.g.: `sudo apt install libbz2-dev`
@@ -93,6 +95,8 @@ For Ubuntu, here are some common steps (don't type `$`; that represents the shel
9395
$ sudo apt update
9496
$ sudo apt install build-essential
9597
$ sudo apt install cmake
98+
$ sudo apt install gcc-10 g++-10
99+
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
96100
97101
$ sudo apt install zlib1g-dev
98102
$ sudo apt install libbz2-dev

0 commit comments

Comments
 (0)