Skip to content

Commit 34605d0

Browse files
authored
Merge pull request #563 from garethsb/docs/tested-versions
Update the tested versions in the documents and CMake
2 parents 466494f + 6dddb88 commit 34605d0

4 files changed

Lines changed: 13 additions & 15 deletions

File tree

‎Development/cmake/NmosCppDependencies.cmake‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ add_library(nmos-cpp::Boost ALIAS Boost)
103103

104104
# cpprestsdk
105105

106-
# note: 2.10.16 or higher is recommended (which is the first version with cpprestsdk-configVersion.cmake)
107-
set(CPPRESTSDK_VERSION_MIN "2.10.11")
106+
set(CPPRESTSDK_VERSION_MIN "2.10.19")
108107
set(CPPRESTSDK_VERSION_CUR "2.10.21")
109108
find_package(cpprestsdk REQUIRED)
110109
if(NOT cpprestsdk_VERSION)
@@ -137,7 +136,7 @@ add_library(nmos-cpp::cpprestsdk ALIAS cpprestsdk)
137136
if(DEFINED WEBSOCKETPP_INCLUDE_DIR)
138137
message(STATUS "Using configured websocketpp include directory at " ${WEBSOCKETPP_INCLUDE_DIR})
139138
else()
140-
set(WEBSOCKETPP_VERSION_MIN "0.5.1")
139+
set(WEBSOCKETPP_VERSION_MIN "0.8.0")
141140
set(WEBSOCKETPP_VERSION_CUR "0.8.4")
142141
find_package(websocketpp REQUIRED)
143142
if(NOT websocketpp_VERSION)

‎Documents/Dependencies.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The following instructions describe how to prepare these external dependencies w
2424

2525
On Windows, Visual Studio 2015 or higher is required.
2626

27-
On Linux, ``g++`` (the GNU project C++ compiler) is supported; GCC 11, GCC 13 and GCC 15 are tested.
27+
On Linux, ``g++`` (the GNU project C++ compiler) is supported; versions including GCC 15 and GCC 11 have been tested.
2828

2929
Notes:
3030
- C++11 [thread-safe function-local static initialization](https://en.cppreference.com/w/cpp/language/storage_duration#Static_local_variables) is required, so **Visual Studio 2013 is not supported**.
@@ -61,7 +61,7 @@ By default nmos-cpp uses [Conan](https://conan.io) to download most of its depen
6161
2. Install or upgrade Conan using `pip install --upgrade conan~=2.20`
6262
Notes:
6363
- On some platforms with Python 2 and Python 3 both installed this may need to be `pip3 install --upgrade conan~=2.20`
64-
- Conan 2.2 or higher is required; dependencies may require a higher version; version 2.34.0 has been tested
64+
- Conan 2.2 or higher is required; dependencies may require a higher version; version 2.35.0 has been tested
6565
- Conan 1.X is no longer supported
6666
3. Install a [DNS Service Discovery](#dns-service-discovery) implementation, since this isn't currently handled by Conan
6767

@@ -78,7 +78,7 @@ If using Conan, this section can be skipped.
7878
1. Download a [recent release](http://www.boost.org/users/download/)
7979
Notes:
8080
- Boost 1.66.0 or higher is required
81-
- Several Boost releases have been tested, including Version 1.91.0, Version 1.90.0 and Version 1.66.0
81+
- Versions including 1.91.0 and 1.66.0 have been tested
8282
- On Linux distributions, a Boost libraries package may already be installed, e.g. Ubuntu 24.04 LTS has Version 1.83.0
8383
2. Expand the archive so that, for example, the boost\_1\_91\_0 directory is at the same level as the nmos-cpp directory
8484
3. Build and stage (or install) the following Boost libraries for your platform/toolset:
@@ -219,7 +219,6 @@ If using Conan, this section can be skipped.
219219
<summary>If not using Conan...</summary>
220220

221221
WebSocket++ v0.8.4+cpprest-lts is included as a submodule within the C++ REST SDK source tree, so a separate installation is not necessary.
222-
Note: WebSocket++ v0.5.1 and v0.7.0 have also been tested.
223222

224223
(The [Getting Started](Getting-Started.md) instructions explain how to set ``WEBSOCKETPP_INCLUDE_DIR`` in order to use the included version when building nmos-cpp.)
225224

@@ -234,7 +233,7 @@ If using Conan, this section can be skipped.
234233
The C++ REST SDK depends on [OpenSSL](https://www.openssl.org/) (to implement secure HTTP and/or secure WebSockets).
235234
The nmos-cpp codebase also uses OpenSSL directly to implement the specific requirements of [AMWA BCP-003-01 Secure Communication in NMOS Systems](https://specs.amwa.tv/bcp-003-01/) and [AMWA BCP-003-02 Authorization in NMOS Systems](https://specs.amwa.tv/bcp-003-02/).
236235

237-
OpenSSL version 3 is recommended, and version 3.5.7 (latest 3.5 LTS release at the time) has been tested.
236+
OpenSSL version 3 is recommended, and versions including 3.5.9 and 3.0.13 have been tested.
238237
It is currently also possible to use OpenSSL v1.1.1, although [this OpenSSL release is now end of life](https://www.openssl.org/blog/blog/2023/09/11/eol-111/index.html).
239238

240239
1. Download and install a recent release

‎Documents/Getting-Started.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The following instructions describe how to set up and build this software.
44

5-
The test platforms include Windows with Visual Studio 2022 and 2026, and Linux with GCC 11.4.0 and GCC 13.3.0 (see [Build Status](../README.md#build-status)).
5+
The test platforms include Windows with Visual Studio 2026 and 2022, and Linux with GCC 15.2.0 and GCC 11.4.0 (see [Build Status](../README.md#build-status)).
66
Specific instructions for [cross-compiling for Raspberry Pi](Raspberry-Pi.md) are also provided.
77

88
Notes:
@@ -32,8 +32,8 @@ Notes:
3232

3333
- If CMake cannot find it automatically, set hints for [finding Boost](https://cmake.org/cmake/help/latest/module/FindBoost.html), for example:
3434
- *Either* set ``Boost_DIR`` (PATH) to the location of the installed *BoostConfig.cmake* (since Boost 1.70.0)
35-
- *Or* set ``BOOST_INCLUDEDIR`` (PATH) and ``BOOST_LIBRARYDIR`` (PATH) to the appropriate full paths, e.g. *``<home-dir>``*``/boost_1_86_0``
36-
and *``<home-dir>``*``/boost_1_86_0/x64/lib`` respectively to match the suggested ``b2`` command
35+
- *Or* set ``BOOST_INCLUDEDIR`` (PATH) and ``BOOST_LIBRARYDIR`` (PATH) to the appropriate full paths, e.g. *``<home-dir>``*``/boost_1_91_0``
36+
and *``<home-dir>``*``/boost_1_91_0/x64/lib`` respectively to match the suggested ``b2`` command
3737
- If CMake cannot find them automatically, set hints for finding the C++ REST SDK and WebSocket++, for example:
3838
- Set ``cpprestsdk_DIR`` (PATH) to the location of the installed *cpprestsdk-config.cmake*
3939
- *Either* set ``websocketpp_DIR`` (PATH) to the location of the installed *websocketpp-config.cmake*
@@ -80,8 +80,8 @@ cmake .. ^
8080
-G "Visual Studio 17 2022" ^
8181
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release" ^
8282
-DBoost_USE_STATIC_LIBS:BOOL="1" ^
83-
-DBOOST_INCLUDEDIR:PATH="<home-dir>/boost_1_86_0" ^
84-
-DBOOST_LIBRARYDIR:PATH="<home-dir>/boost_1_86_0/x64/lib" ^
83+
-DBOOST_INCLUDEDIR:PATH="<home-dir>/boost_1_91_0" ^
84+
-DBOOST_LIBRARYDIR:PATH="<home-dir>/boost_1_91_0/x64/lib" ^
8585
-DWEBSOCKETPP_INCLUDE_DIR:PATH="<home-dir>/cpprestsdk/Release/libs/websocketpp" ^
8686
-DNMOS_CPP_USE_SUPPLIED_JSON_SCHEMA_VALIDATOR:BOOL="1" ^
8787
-DNMOS_CPP_USE_SUPPLIED_JWT_CPP:BOOL="1"
@@ -165,7 +165,7 @@ The application can also be run with other options, for example to run a single
165165
Use ``--help`` to display usage information.
166166

167167
Notes:
168-
- On Windows, the correct configuration of the C++ REST SDK library (e.g. cpprestsdk140_2_10.dll or cpprest140_2_10d.dll) needs to be on the ``PATH`` or copied into the output directory.
168+
- On Windows, the correct configuration of the C++ REST SDK library (e.g. cpprest143_2_10.dll or cpprest143_2_10d.dll) needs to be on the ``PATH`` or copied into the output directory.
169169
- Intermittent failures of the DNS Service Discovery (DNS-SD) tests may be encountered because short time-outs and no retries are used in the test code.
170170
However if these tests fail repeatedly a system problem may need to be diagnosed.
171171

‎Documents/Tutorial.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The following instructions describe how to run the NMOS Registry and some exampl
77
Follow the [Getting Started](Getting-Started.md) instructions before proceeding.
88

99
Notes:
10-
- On Windows, the correct configuration of the C++ REST SDK library (e.g. cpprestsdk140_2_10.dll or cpprest140d_2_10.dll) needs to be on the ``PATH``.
10+
- On Windows, the correct configuration of the C++ REST SDK library (e.g. cpprest143_2_10.dll or cpprest143_2_10d.dll) needs to be on the ``PATH``.
1111
- On Windows, the nmos-cpp apps may need to be run with administrator privileges on Windows. This is explained in the [build instructions for the C++ REST SDK](Dependencies.md#c-rest-sdk).
1212
- The Bonjour service (Windows) or ``mdnsd`` daemon (Linux) must be started to enable NMOS Nodes, and the Registry, to use DNS Service Discovery.
1313
- When running more than one nmos-cpp application on the same host, configuration parameters **must** be used to select unique port numbers, as described below.

0 commit comments

Comments
 (0)