1. Under MAC xcode compiles obs-studio
1. Preparation
- install brew
- install other tools
brew install ffmpeg x264 qt5
- download code
git clone --recursive https://github.com/obsproject/obs-studio.git
2. Generate xcode project
1. cd obs-studio
2. mkdir -p builds/xcode
3. cd builds/xcode
4. CMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.11.1/ cmake ../../ -G Xcode
3. FAQ
set the working directory to {obs-studio build dir}build/rundir/Deubug(or Release)/bin, and set the method to Product-> Scheme-> Edit Scheme-> options-> working diectory.
Obs-studio
is compiled by visual studio under Windows 2017
1. Preparation
- install cmake- GUI
- download dependency
- vs2017 dependency
https://obsproject.com/downloads/dependencies2017.zip
li>
- download QT
http://download.qt.io/archive/qt/5.11/5.11.1/qt-opensource-windows-x86-5.11.1.exe
- download code
git clone --recursive https://github.com/obsproject/obs-studio.git //--recursive 会下载依赖包
- vs2017 dependency
2. Generate project
- configure cmake and Add Entry
1. 添加 DepsPath 路径为下载vs2017依赖 2. 添加 QTDIR 为 msvc2017_64路径 3. 配置生成工程即可,然后指定目录打开sln文件编译即可。
- start project set to ALL_BUILD can step debugging, do not set to obs project, that will lead to step debugging.
Read More:
- Flash back when compiling Visual Studio
- Compiling TPC-H tools for Mac
- Prompt “namespace ‘app’ not bound” when compiling Android studio
- How to Add migrations in Visual Studio for Mac
- Solve the error when installing apk after compiling Android Studio: Error while Installing APK
- [VTK] cmake compiling VTK
- Vs2012 compiling PCL dependency library vtk7.0
- Detailed steps for installing Visual Studio 2010 + Intel parallel studio Xe 2013 and configuring mpich2
- Qt5 when compiling VTK_ The solution of dir-notfound
- Ffmpeg (libx264) compiling for IOS
- Vs2013 compiling ffmpeg
- Vs2015 compiling ffmpeg source code
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- An error is reported when compiling OpenVPN
- Mac: how to show hidden files under Apple Mac operating system
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- Methods of compiling and installing ffmpeg and libx264 in Linux
- ninja Compiling the C compiler identification source file CMakeCCompilerId.c failed
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- Problems in compiling and using node FFI under electron