Skip to content

Instantly share code, notes, and snippets.

@UnaNancyOwen
Last active July 31, 2021 01:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UnaNancyOwen/00d2549c315504eba543ea1c31249865 to your computer and use it in GitHub Desktop.
Save UnaNancyOwen/00d2549c315504eba543ea1c31249865 to your computer and use it in GitHub Desktop.
Install Script for Azure Kinect Sensor SDK
ver
cmake --version
git --version
cd C:\
git clone https://github.com/microsoft/Azure-Kinect-Sensor-SDK.git --recursive
cd Azure-Kinect-Sensor-SDK
git checkout -b v1.4.1 refs/tags/v1.4.1
curl -O https://patch-diff.githubusercontent.com/raw/microsoft/Azure-Kinect-Sensor-SDK/pull/1560.patch
git apply 1560.patch
mkdir build && cd build
cmake .. -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX="C:/Program Files/K4A"
cmake --build . --config Release
cmake --build . --target install --config Release
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment