Closed rodrigomorales1 closed 1 month ago
You need to have vulkan headers v1.3.238 to build everything.
Ubuntu 22.04.4 LTS provides v1.3.204. So you have to download newer headers or disable vulkan.
@kasper93 Thanks, that indeed solved the issue.
Here's how I solved it for reference: I downloaded Vulkan headers from https://github.com/KhronosGroup/Vulkan-Headers/releases/tag/v1.3.238 . I decompressed the zip file and I executed the command shown below (I got those commands from the file BUILD.md: https://github.com/KhronosGroup/Vulkan-Headers/blob/main/BUILD.md)
$ cd ~/Downloads/Vulkan-Headers-1.3.238/ \
&& cmake -S . -B build/ \
&& sudo cmake --install build --prefix '/usr'
You need to have vulkan headers v1.3.238 to build everything.
Ubuntu 22.04.4 LTS provides v1.3.204. So you have to download newer headers or disable vulkan.
@kasper93 Thanks, how do you know the version requirement? I also meet the problem and found the solution, but I donot know how to find the version requirement by myself. Thanks!
I'm trying to compile mpv in Ubuntu 22.04.4 LTS.
I cloned the repository and I executed
./rebuild
as indicated in the README.rst file, but I got an error.