当前位置:网站首页>Cmake compiling obs-studio-27.2.0
Cmake compiling obs-studio-27.2.0
2022-07-26 21:45:00 【Longcheng ne goods 92923】
Official compilation instructions
Windows Compile below obs, There are two ways of doing this , Here we choose cmake To compile the
One 、 Use cmake compile obs
(1) Compilation preparation environment
- Visual Studio 2019 (recommended)
- Windows 10 SDK (minimum 10.0.20348.0). Latest SDK
- Development packages of FFmpeg, x264, cURL, and mbedTLS
- Pre-built Windows dependencies for Visual Studio 2019 can be found in the obs-deps repo releases
- Qt 5.15.2 (Grab the MSVC package for your version of Visual Studio)
- CEF Wrapper (x64, x86)
- Windows version of CMake (3.20 or higher, latest preferred)
- Windows version of Git (Git binaries must exist in path)
(2) Compilation steps
- Clone source code
git clone --recursive https://github.com/obsproject/obs-studio.git - open cmake Configure environment variables

- DepsPath:D:/sourcecode/obs/windows-deps-2022-07-18-x64
- QTDIR64:C:/Qt/5.15.2/msvc2019_64
- CEF_ROOT_DIR:D:/sourcecode/obs/cef_binary_4638_windows_x64
- Click on Configure And then click Generate Build solution

Two 、VS2019 Open the project
(1) use vs2019 Open the solution
- Set the executable item as the startup item

- vs install qt plug-in unit

- To configure qt The plug-in qmake route


(2) Compile the entire project
Prompt encoding error 
resolvent : Right click the wrong item -> attribute ->C/C+±> All options -> Additional options Add /utf-8
Finally, compile again 
Be careful :vs2019 Before debugging and running, you have to set the executable path and working directory , Otherwise, the debugging start fails 
边栏推荐
- 2022年简历石沉大海,别投了,软件测试岗位饱和了....
- In depth study of efcore migrations
- <button> 与 <input type=“button“ />
- A unified label space for entity relationship extraction
- word-break: break-all VS word-wrap: break-word
- Flask对token的解码&挂载&装饰器&七牛云上传
- Alkbh1
- Can I view the history in the "stealth" mode of the secure browser?
- Happens-Before原则深入解读
- Kalibr calibration realsensed435i -- multi camera calibration
猜你喜欢

TypeScript中的类型断言

FreeRTOS个人笔记-事件

2022年简历石沉大海,别投了,软件测试岗位饱和了....

Summary of common interview questions of operating system, including answers

Content management tools, blue bookmarks are enough

Golang version management GVM

Summer vacation daily question week 7:7.18 - 7.24

Devops has been practiced for many years. What is the most painful thing?

一种用于实体关系抽取的统一标签空间

仅需一个依赖给Swagger换上新皮肤,既简单又炫酷
随机推荐
LDAP -- realize unified login management of users
Alkbh1
Four solutions of distributed session
Talk about TCP time_ WAIT
工业基础类IFC—提取模型结构树
encodeURI VS encodeURIComponent
Samsung releases 108million pixel image sensor isocell bright HMX, and Xiaomi will launch
Japan approves the export of EUV photoresist to South Korea, and the crisis of Samsung and SK Hynix may be alleviated
伟创力回应“扣押华为物料”事件:深感遗憾,期待继续合作!
华为发布2025十大趋势:5G、机器人、AI等上榜
Pytorch squeeze() unsqueeze() 用法
Object.getOwnPropertyNames() VS Object.keys()
Alkbh1
Deepfake pinches his face. It's hard to tell whether it's true or false. Tom Cruise is more like himself than himself!
Flag decodes token, mounts token, decorator, and seven cattle cloud upload
平滑滚动到元素
Flextronics responded to the "seizure of Huawei materials" incident: deeply regretted, looking forward to continuing cooperation!
Pbootcms一级栏目下的二级三级栏目高亮
golang版本管理gvm
event. preventDefault VS return false