LNK1104 无法打开文件 'k4a::k4a.lib'
LNK1104 cannot open file 'k4a::k4a.lib'
我想从 azure kinect sdk 运行 this example 构建时遇到问题。我正在使用 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中打开了解决方案window。如您所见,缺少头文件。
在使用nugget安装sdk,并添加turbojpeh后include.dir,我觉得没问题。
现在,当我尝试构建时,我看到以下错误:
附加依赖项:
不好意思,不熟悉visual studio。我该怎么办?
OS : Windows 10
SDK 版本:1.4.0
当前固件版本:
RGB相机固件:1.6.98
深度相机固件:1.6.70
深度配置文件:6109.7
很抱歉这么晚才看到问题。我遇到了同样的问题,我也不熟悉visual studio。只需在项目属性 -> 链接器 -> 中将“k4a::k4a.lib”修改为“k4a.lib” Input -> Additional dependencies as the screenshot shown 将简单地解决这个问题。 (当然你必须确保你的lib文件按照官方文档中的说明正确链接)。
我是中国人,软件界面全是中文,英文也不是特别好。希望不会造成误会。
不管你有没有解决这个问题,希望能帮助到有同样问题的人。
The highlighted ones in this screenshot are the places that need to be modified
我想从 azure kinect sdk 运行 this example 构建时遇到问题。我正在使用 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中打开了解决方案window。如您所见,缺少头文件。
在使用nugget安装sdk,并添加turbojpeh后include.dir,我觉得没问题。
现在,当我尝试构建时,我看到以下错误:
附加依赖项:
不好意思,不熟悉visual studio。我该怎么办?
OS : Windows 10 SDK 版本:1.4.0 当前固件版本: RGB相机固件:1.6.98 深度相机固件:1.6.70 深度配置文件:6109.7
很抱歉这么晚才看到问题。我遇到了同样的问题,我也不熟悉visual studio。只需在项目属性 -> 链接器 -> 中将“k4a::k4a.lib”修改为“k4a.lib” Input -> Additional dependencies as the screenshot shown 将简单地解决这个问题。 (当然你必须确保你的lib文件按照官方文档中的说明正确链接)。
我是中国人,软件界面全是中文,英文也不是特别好。希望不会造成误会。 不管你有没有解决这个问题,希望能帮助到有同样问题的人。
The highlighted ones in this screenshot are the places that need to be modified