Azure-kinect-sensor-sdk: Add Azure Kinect Sensor SDK port to Vcpkg

Created on 20 Sep 2019  路  3Comments  路  Source: microsoft/Azure-Kinect-Sensor-SDK


This is a suggestion that add Azure Kinect Sensor SDK to Vcpkg.
What do you think?

Is your feature request related to a problem? Please describe.

Vcpkg is useful C++ library management tool.
It will be helpful for many developers, if Azure Kinect Sensor SDK can be installed using Vcpkg.

Describe the solution you'd like

Add Azure Kinect Sensor SDK port to Vcpkg.

# I hope it looks like this command
vcpkg install k4a:x64-windows
Enhancement More Info Needed

Most helpful comment

Hi @tesych, I think it makes following values.

  • Developers can easily set up Azure Kinect SDK with the same command on any platform (Windows, Linux) by using Vcpkg. It is same for other libraries (e.g. OpenCV) that will be often used with Azure Kinect.

    ./vcpkg install k4a opencv
    
  • It would be difficult for beginners, that to setting properly configurations for Azure Kinect SDK in Visual C++. (e.g. include directories, library directories, additional dependencies, ...) Vcpkg can strongly support it for beginners. Just run following command.

    ./vcpkg integrate install
    

    Apart from this, It also installs CMake related files. Developers can find the Azure Kinect Sensor SDK using find_package(k4a) in CMakeLists.txt.
    BTW, It is not included in installer (.msi). It makes inconvenient for CMake users. https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/370

    find_package(k4a)
    
  • It is useful when setting-up Azure Kinect SDK in CI environment, because it works with commands.

All 3 comments

HI @UnaNancyOwen and thank you for your continues contribution! Can you share more information what is the value to add Vcpkg?

Hi @tesych, I think it makes following values.

  • Developers can easily set up Azure Kinect SDK with the same command on any platform (Windows, Linux) by using Vcpkg. It is same for other libraries (e.g. OpenCV) that will be often used with Azure Kinect.

    ./vcpkg install k4a opencv
    
  • It would be difficult for beginners, that to setting properly configurations for Azure Kinect SDK in Visual C++. (e.g. include directories, library directories, additional dependencies, ...) Vcpkg can strongly support it for beginners. Just run following command.

    ./vcpkg integrate install
    

    Apart from this, It also installs CMake related files. Developers can find the Azure Kinect Sensor SDK using find_package(k4a) in CMakeLists.txt.
    BTW, It is not included in installer (.msi). It makes inconvenient for CMake users. https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/370

    find_package(k4a)
    
  • It is useful when setting-up Azure Kinect SDK in CI environment, because it works with commands.

Azure Kinect Sensor SDK port is merged in Vcpkg. Thanks @JackBoosY!
https://github.com/microsoft/vcpkg/pull/8786

Was this page helpful?
0 / 5 - 0 ratings