diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-02 17:50:13 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-02 17:50:13 +0200 |
commit | ecf48766545e6f4546fcb6aa2f34ea3d125cfabc (patch) | |
tree | 0cda2c62f8c4dc69da2e50ef01f1776128b7ded9 | |
parent | 07a843747c8a1885c0783c3234a145d7e3c5f56e (diff) |
vulkan-headers as dependency
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/encoder/video/vulkan.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,7 @@ GPU Screen Recorder uses meson build system so you need to install `meson` to bu These are the dependencies needed to build GPU Screen Recorder: * libglvnd (which provides libgl, libglx and libegl) +* vulkan-headers * ffmpeg (libavcodec, libavformat, libavutil, libswresample, libavfilter) * x11 (libx11, libxcomposite, libxrandr, libxfixes, libxdamage) * libpulse diff --git a/src/encoder/video/vulkan.c b/src/encoder/video/vulkan.c index 15536d0..712952f 100644 --- a/src/encoder/video/vulkan.c +++ b/src/encoder/video/vulkan.c @@ -3,6 +3,7 @@ #include "../../../include/egl.h" #include <libavcodec/avcodec.h> +#define VK_NO_PROTOTYPES #include <libavutil/hwcontext_vulkan.h> //#include <vulkan/vulkan_core.h> |