我想从 azure kinect sdk 运行这个示例并且在构建时遇到问题。我正在使用 cmake 构建,但它找不到目标库。
错误行:
Target "transformation_example" links to target "k4a::k4a" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
This warning is for project developers. Use -Wno-dev to suppress it.
Target "transformation_example" links to target "k4a::k4arecord" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
This warning is for project developers. Use -Wno-dev to suppress it
Target "transformation_example" links to target "libjpeg-turbo::libjpeg-turbo" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it.
完成这些步骤后,我仍然在 Visual Studio 中打开了解决方案窗口。如您所见,缺少头文件。
在使用 nugget 安装 sdk 并添加 turbojpeh include.dir 之后,我认为它们没有问题。
现在,当我尝试构建时,我看到以下错误:
对不起,对视觉工作室不熟悉。我应该怎么办?
操作系统:Windows 10 SDK 版本:1.4.0 当前固件版本:RGB 相机固件:1.6.98 深度相机固件:1.6.70 深度配置文件:6109.7