1.获取源码

git clone https://github.com/obsproject/obs-studio.git
// 切换分支
git switch -c remotes/origin/release/30.0
// 获取 obs 子模块
git submodule update --init --recursive

2.获取依赖库obs-deps repo releases

3.Cmake gui配置

(1)Where is the source code: 源码目录

(2)Where to build the binaries: 输出目录

(3)点击 Add Entry 添加配置项 :

CMAKE_PREFIX_PATH:依赖库目录

QTDIR:QT目录

CEF_ROOT_DIR:依赖库目录

4.configure & Generate & Open Project

更多推荐