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

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

Get Qt 5.10.1 provided by OBS folks

Configure system environment variables

  • DepsPath: mine is c:\obs-deps\win64
  • QTDIR: mine is C:\Qt\5.10.1\msvc2017_64
  • Qt5Widgets_DIR: mine is C:\Qt\5.10.1\msvc2017_64\lib\cmake\Qt5Widgets
  • Qt5Svg_DIR: mine is C:\Qt\5.10.1\msvc2017_64\lib\cmake\Qt5Svg
  • QT_QPA_PLATFORM_PLUGIN_PATH: mine is C:\Qt\5.10.1\msvc2017_64\plugins\platforms

Extend PATH variable to include depency binaries path and Qt binaries path

  • Mine are at C:\obs-deps\win64\bin and C:\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