Update references to depthengine to version 2.0

This commit is contained in:
Christian Makela 2019-08-01 10:03:05 -07:00
Родитель f04baac66a
Коммит a28dcf52cd
4 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -273,11 +273,11 @@ jobs:
- powershell: |
if ("$(BuildGenerator)" -eq "Ninja")
{
IF(-Not (Test-Path "$(Build.BinariesDirectory)\bin\depthengine_1_0.dll")) { Add-Content "$(Build.BinariesDirectory)\bin\depthengine_1_0.dll" "Placeholder file, please download real depth engine." }
IF(-Not (Test-Path "$(Build.BinariesDirectory)\bin\depthengine_2_0.dll")) { Add-Content "$(Build.BinariesDirectory)\bin\depthengine_2_0.dll" "Placeholder file, please download real depth engine." }
}
elseif ("$(BuildGenerator)" -like "Visual Studio *")
{
IF(-Not (Test-Path "$(Build.BinariesDirectory)\bin\$(CMakeConfiguration)\depthengine_1_0.dll")) { Add-Content "$(Build.BinariesDirectory)\bin\$(CMakeConfiguration)\depthengine_1_0.dll" "Placeholder file, please download real depth engine." }
IF(-Not (Test-Path "$(Build.BinariesDirectory)\bin\$(CMakeConfiguration)\depthengine_2_0.dll")) { Add-Content "$(Build.BinariesDirectory)\bin\$(CMakeConfiguration)\depthengine_2_0.dll" "Placeholder file, please download real depth engine." }
}
else
{

Просмотреть файл

@ -114,7 +114,7 @@ include/k4arecord/playback.h | :white_check_ma
include/k4arecord/record.h | :white_check_mark: | :white_check_mark: | | :white_check_mark: |
include/k4arecord/types.h | :white_check_mark: | :white_check_mark: | | :white_check_mark: |
linux-ubuntu/x64/release/libdepthengine.so \* | | | :white_check_mark: | |
linux-ubuntu/x64/release/libdepthengine.so.1.0 \* | | | :white_check_mark: | |
linux-ubuntu/x64/release/libdepthengine.so.2.0 \* | | | :white_check_mark: | |
linux-ubuntu/x64/release/libk4a.so (symlink) | | | | :white_check_mark: |
linux-ubuntu/x64/release/libk4a.so.1.1 (symlink) | | | :white_check_mark: | |
linux-ubuntu/x64/release/libk4a.so.1.1.0 | | | :white_check_mark: | |
@ -128,7 +128,7 @@ netstandard2.0/AnyCpu/release/Microsoft.AzureKinect.deps.json | :two:
netstandard2.0/AnyCpu/release/Microsoft.AzureKinect.dll | :two: | :two: | | |
netstandard2.0/AnyCpu/release/Microsoft.AzureKinect.pdb | :two: | :two: | | |
netstandard2.0/AnyCpu/release/Microsoft.AzureKinect.xml | :two: | :two: | | |
windows-desktop/amd64/release/depthengine_1_0.dll \* | :white_check_mark: | :white_check_mark: | | |
windows-desktop/amd64/release/depthengine_2_0.dll \* | :white_check_mark: | :white_check_mark: | | |
windows-desktop/amd64/release/k4a.dll | :white_check_mark: | :white_check_mark: | | |
windows-desktop/amd64/release/k4a.lib | :white_check_mark: | :white_check_mark: | | |
windows-desktop/amd64/release/k4a.pdb | :white_check_mark: | :white_check_mark: | | |

Просмотреть файл

@ -73,7 +73,7 @@ available in the installer 'tools' directory.
## Including the SDK in your project
If you are including the Azure Kinect SDK in a C or C++ project, update your project to link to **k4a.lib** and
add the include path such that you can `#include <k4a/k4a.h>`. You also need to ensure that **k4a.dll** and **depthengine_1_0.dll** are in your path or in the same directory as your application.
add the include path such that you can `#include <k4a/k4a.h>`. You also need to ensure that **k4a.dll** and **depthengine_2_0.dll** are in your path or in the same directory as your application.
For recording and playback you will need to also reference **k4arecord.lib** and the headers in include/k4arecord and have
**k4arecord.dll** in your path.

Просмотреть файл

@ -58,8 +58,8 @@ K4A_DECLARE_HANDLE(dynlib_t);
* This function only supports relative path libraries. If you try to load an
* explicit path this will fail.
*
* For example: dynlib_create("depthengine", 1, 0, &handle) will search for
* depthengine_1_0.dll on Windows and libdepthengine.so.1.0 on Linux
* For example: dynlib_create("depthengine", 2, 0, &handle) will search for
* depthengine_2_0.dll on Windows and libdepthengine.so.2.0 on Linux
*
* \return K4A_RESULT_SUCCEEDED if the library was loaded, K4A_RESULT_FAILED
* otherwise