问题描述
我在 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 时才有效