Building and Running on Windows - HoneyHazard/obs-studio-atomic-effects GitHub Wiki
Everything is based on the official OBS instructions at: https://github.com/obsproject/obs-studio/wiki/Install-Instructions#windows-build-directions
Check the basics
- 7-zip: https://www.7-zip.org/
- Git for Windows: https://gitforwindows.org/
- CMake: https://cmake.org/download/
Grab Visual Studio 2019 (with Windows 10 SDK)
- Community Edition is free. You may need an account; all is free.
- Download Community Edition here: https://visualstudio.microsoft.com/downloads/
- During installation, make sure you check "Desktop development with C++"
- Make sure you check "Windows 10 SDK" (10.0.18362 or higher)
- To be safe also check "C++/CLI support for v142 build tools(14.26)"
Download prebuilt dependencies provided by OBS folks
- https://obsproject.com/downloads/dependencies2017.zip
- I unpacked mine to
c:\obs-deps
Get Qt 5.10.1 provided by OBS folks
- https://cdn-fastly.obsproject.com/downloads/Qt_5.10.1.7z
- I unpacked mine to
C:\Qt\5.10.1
Configure system environment variables
DepsPath
: mine isc:\obs-deps\win64
QTDIR
: mine isC:\Qt\5.10.1\msvc2017_64
Qt5Widgets_DIR
: mine isC:\Qt\5.10.1\msvc2017_64\lib\cmake\Qt5Widgets
Qt5Svg_DIR
: mine isC:\Qt\5.10.1\msvc2017_64\lib\cmake\Qt5Svg
QT_QPA_PLATFORM_PLUGIN_PATH
: mine isC:\Qt\5.10.1\msvc2017_64\plugins\platforms
PATH
variable to include depency binaries path and Qt binaries path
Extend - Mine are at
C:\obs-deps\win64\bin
andC:\Qt\5.10.1\msvc2017_64\bin
Follow through with the clone and build of our fork
- I recommend setting up SSH keys; you probably know how
git clone --recursive --branch atomic-effects [email protected]:HoneyHazard/obs-studio-atomic-effects.git
- Use CMake or CMake-enabled IDE to configure and generate a build strucutre.
- Make sure you specify "Visual Studio 16 2019" as the generator for the project
- If I've listed all the steps correctly, and you followed them all correctly, you shouldn't need any additional CMake tweakery
- After building (I recommend debug), you will be able to run OBS from the binaries directory. Mine is at
C:\Users\admin\Documents\builds\obs-studio-atomic-effects