We have 2 methods for installing on Windows. In one instance, we lean heavily on pre-built binaries being packaged with SSP (recommended). In the second method we manually install all necessary dependencies.
These steps have been tested on Windows 10 Build 19041, Visual Studio 2019 Community Edition (VS) and Visual Studio Code 1.53
Pre-built binaries (recommended)
Dependencies are prebuilt and stored on a server and downloaded by cmake using FetchContent feature
To rebuild dependencies:
This will download/build/install dependencies in a tmp directory. The result is a *_windep.tar.gz file.
download prebuilt ffmpeg 4.3.2
OpenCV 3.4.13 as a static library, only core, imgproc, imgcodecs and highgui modules are built
Cereal 1.3.0, header only
spdlog 1.8.2, header only but built as static library for faster compile
Zdepth (commit 9b333d9aec520 which includes a patch to generate zdepthConfig.cmake)
yaml-cpp 0.6.3 as a static library
libzmq 4.3.4 as a static library
cppzmq 4.7.1, header only
This will provide download instructions for each library
4.6 Prepare a directory in your home directory (or where ever you usually save repos) to place the remaining dependencies, /libs (referred henceforth as $LIBS). Create subfolders /include and /lib within /libs
4.7 Copy the contents of Zdepth\include into $LIBS\include and output lib folders (e.g. ZDepth\out\*) to $LIBS\lib.
Azure Kinect Body Tracking SDK (optional)
4.9 Install Azure Body Tracker SDK from the instructions available here.
4.10 Copy the SDK include and lib files from the SDK install list to $LIBS, or add the SDK path to SSP CMakeLists (see below)
C:\Program Files\Azure Kinect Body Tracking SDK\sdk\include
C:\Program Files\Azure Kinect Body Tracking SDK\sdk\netstandard2.0 and C:\Program Files\Azure Kinect Body Tracking SDK\sdk\windows-desktop
5.0 Building Sensor Stream Pipe
5.1 Clone the SSP repo to your home directory (or where ever you usually save repos)