错误 No package ‘vulkan‘ found 解决办法

本文介绍了解决在使用video_Codec_SDK进行CMake配置时遇到的'vulkan'包未找到问题的方法。通过安装libvulkan-dev包可以有效解决此问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

错误现象:

在执行video_Codec_SDK的CMake命令时,有时会遇到No package ‘vulkan’ found的问题,如下图所示:

加粗样式

解决方案:

在命令行中输入:

sudo apt-get install  libvulkan-dev

回车执行后,终端输出以下内容:
在这里插入图片描述
问题解决

fatal: not a git repository (or any of the parent directories): .git 。。。。。。CMake Deprecation Warning at 3rdparty/GLFW/CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR) -- Using X11 for window creation -- Found X11: /usr/include CMake Error at 3rdparty/GLFW/CMakeLists.txt:236 (message): The RandR headers were not found -- Configuring incomplete, errors occurred! make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. 这是编译安装Open3D 0.13.0部分报错 。。。。。。。还有另一个报错(cosmix) livvy0102@tong:~/anaconda3/bin$ # 设置 编译器环境变量 export CXX=g++-12 # 强制使用CPU模式编译(因Intel Iris Xe无NVIDIA GPU) export CUDA_HOME=/dev/null # 从源码安装指定版本 pip install -U git+https://github.com/NVIDIA/MinkowskiEngine.git@v0.5.4 \ --install-option="--blas=openblas" \ --install-option="--cpu_only" Usage: pip install [options] <requirement specifier> [package-index-options] ... pip install [options] -r <requirements file> [package-index-options] ... pip install [options] [-e] <vcs project url> ... pip install [options] [-e] <local project path> ... pip install [options] <archive url/path> ... no such option: --install-option
03-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

村北头的码农

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值