You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@jasjuang Please test this change on your environments. Thanks,
UnaNancyOwen
changed the title
Fix Deploy Azure Kinect Sensor SDK on Windows
[azure-kinect-sensor-sdk] Fix Deploy Azure Kinect Sensor SDK on Windows
May 3, 2020
DLLs should not be present in a static build, but the following DLLs were found:
C:/agent/_work/2/s/packages/azure-kinect-sensor-sdk_x64-windows-static/bin/depthengine_2_0.dll
C:/agent/_work/2/s/packages/azure-kinect-sensor-sdk_x64-windows-static/debug/bin/depthengine_2_0.dll
There should be no bin\ directory in a static build, but C:\agent\_work\2\s\packages\azure-kinect-sensor-sdk_x64-windows-static\bin is present.
There should be no debug\bin\ directory in a static build, but C:\agent\_work\2\s\packages\azure-kinect-sensor-sdk_x64-windows-static\debug\bin is present.
If the creation of bin\ and/or debug\bin\ cannot be disabled, use this in the portfile to remove them
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
Found 2 error(s). Please correct the portfile:
C:\agent\_work\2\s\ports\azure-kinect-sensor-sdk\portfile.cmake
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix deploy Azure Kinect Sensor SDK on Windows by copy Depth Engine.
Get Depth Engine from NuGet package.
Describe the pull request
What does your PR fix? Fixes issue [azure-kinect-sensor-sdk] depth engine dll is required to be fully functional #9668
Which triplets are supported/not supported? Have you updated the CI baseline? No
Does your PR follow the maintainer guide? Yes