mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[azure-kinect-sensor-sdk] Fix azure-kinect-sensor-sdk[tool] build error (#13737)
This commit is contained in:
parent
37c412ae07
commit
d6b5fbfef1
@ -1,5 +1,6 @@
|
||||
Source: azure-kinect-sensor-sdk
|
||||
Version: 1.4.0-alpha.0-5
|
||||
Version: 1.4.0-alpha.0
|
||||
Port-Version: 6
|
||||
Homepage: https://github.com/microsoft/Azure-Kinect-Sensor-SDK
|
||||
Description: Azure Kinect SDK is a cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
|
||||
Build-Depends: azure-c-shared-utility, glfw3, gtest, imgui, libusb, spdlog, cjson, ebml, libjpeg-turbo, matroska, libsoundio, libyuv
|
||||
@ -9,4 +10,4 @@ Description: Build K4A doxygen documentation.
|
||||
|
||||
Feature: tool
|
||||
Description: Build tools.
|
||||
Build-Depends: gl3w, glew, imgui[bindings]
|
||||
Build-Depends: gl3w, glew, imgui[glfw-binding,opengl3-glew-binding]
|
@ -1,17 +1,8 @@
|
||||
diff --git a/tools/k4aviewer/CMakeLists.txt b/tools/k4aviewer/CMakeLists.txt
|
||||
index 6ab38d9..e0c5bad 100644
|
||||
index 6ab38d9..f31f570 100644
|
||||
--- a/tools/k4aviewer/CMakeLists.txt
|
||||
+++ b/tools/k4aviewer/CMakeLists.txt
|
||||
@@ -35,6 +35,8 @@ set(SOURCE_FILES
|
||||
k4awindowset.cpp
|
||||
perfcounter.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/version.rc
|
||||
+ ${IMGUI_EXTERNAL_PATH}/imgui_impl_glfw.cpp
|
||||
+ ${IMGUI_EXTERNAL_PATH}/imgui_impl_opengl3.cpp
|
||||
)
|
||||
|
||||
# Include ${CMAKE_CURRENT_BINARY_DIR}/version.rc in the target's sources
|
||||
@@ -54,6 +56,8 @@ include_directories(
|
||||
@@ -54,6 +54,8 @@ include_directories(
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
)
|
||||
|
||||
@ -20,7 +11,7 @@ index 6ab38d9..e0c5bad 100644
|
||||
set(EXTERNAL_LIBRARIES
|
||||
k4a::k4a
|
||||
k4a::k4arecord
|
||||
@@ -65,6 +69,7 @@ set(EXTERNAL_LIBRARIES
|
||||
@@ -65,6 +67,7 @@ set(EXTERNAL_LIBRARIES
|
||||
glfw
|
||||
${OPENGL_LIBRARIES}
|
||||
unofficial::gl3w::gl3w
|
||||
@ -28,18 +19,17 @@ index 6ab38d9..e0c5bad 100644
|
||||
)
|
||||
|
||||
# On Windows, we need to call into setupapi to get USB container ID information
|
||||
diff --git a/tools/k4aviewer/k4aimgui_all.h b/tools/k4aviewer/k4aimgui_all.h
|
||||
index e40ccfb..756fb09 100644
|
||||
--- a/tools/k4aviewer/k4aimgui_all.h
|
||||
+++ b/tools/k4aviewer/k4aimgui_all.h
|
||||
@@ -34,8 +34,8 @@
|
||||
#include <GL/gl3w.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <imgui.h>
|
||||
-#include <imgui_impl_glfw.h>
|
||||
-#include <imgui_impl_opengl3.h>
|
||||
+#include <bindings/imgui_impl_glfw.h>
|
||||
+#include <bindings/imgui_impl_opengl3.h>
|
||||
|
||||
// For disabling buttons, which has not yet been promoted to the public API
|
||||
diff --git a/tools/k4aviewer/k4asoundio_util.h b/tools/k4aviewer/k4asoundio_util.h
|
||||
index c9c2718..011a76e 100644
|
||||
--- a/tools/k4aviewer/k4asoundio_util.h
|
||||
+++ b/tools/k4aviewer/k4asoundio_util.h
|
||||
@@ -16,7 +16,7 @@
|
||||
// This disables that behavior.
|
||||
//
|
||||
#define NOMINMAX
|
||||
-#include <soundio.h>
|
||||
+#include <soundio/soundio.h>
|
||||
|
||||
// Project headers
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user