Raspbain Buster 上的 obs-studio 构建失败

问题描述

我在 RaspBerry pi 4B 8GB 上使用 Raspbian buster 5.10.52-v7l+

构建 obs-studio 失败: CMake 错误 plugins/linux-capture/CMakeLists.txt:53 (message): PipeWire library not found! Please install PipeWire or set ENABLE_PIPEWIRE=OFF

Raspbian Buster 安装的 pipewire 版本为 0.2.5-1 bbs-studio 构建失败需要 pipewire0.3。

从源构建管道失败

/spa/plugins/libcamera/libcamera_wrapper.cpp:52:10: Fatal error: libcamera/framebuffer.h: No such file or directory #include <libcamera/framebuffer.h>

有什么解决办法。升级操作系统版本。换操作系统?谢谢。

解决方法

将以下参数添加到您的 cmake 命令中:

-DENABLE_WAYLAND=OFF -DENABLE_PIPEWIRE=OFF

这仅在您不使用 wayland 时才有效