Development Release Instructions 4 2023 - HoneyHazard/PixelMatchSwitcher GitHub Wiki
Original instructions here: https://obsproject.com/wiki/Build-Instructions-For-Windows
- https://visualstudio.microsoft.com/vs/
- At the time of writing VS2022 Community Edition is suggested:
- You must select Desktop development with C++; keep other checkboxes at defaults
- Under sub-menu of Desktop development with C++ also check Windows 10 SDK
- At the time of writing version 10.0.20348.0 is the latest and recommended
2. Download a copy of obs-deps, containing development packages of Qt6 and the rest: FFmpeg, x264, cURL, and mbedTLS:
- https://github.com/obsproject/obs-deps/releases?q=windows
- X64 at the time of writing:
- X86 (check later if needed)
- extract to
c:\obs-build-dependencies\windows-deps
- https://github.com/obsproject/obs-deps/releases/download/2023-04-12/windows-deps-qt6-2023-04-12-x64.zip
- extract to
c:\Qt\Qt6
- https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_windows_x64.zip
- https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_windows_x86.zip
- extract to
c:\obs-build-dependencies\cef-binary
- open git bash
cd /c/Users/<username>/Documents
- For vanilla OBS:
git clone --recursive https://github.com/obsproject/obs-studio.git
- For OBS with atomic effects:
git clone --recursive https://github.com/HoneyHazard/obs-studio-atomic-effects.git git checkout results_stable
- For OBS with PixelMatchSwitcher:
git clone --recursive https://github.com/PixelMatchSwitcher/obs-studio-pixel-match-switcher.git
-
install CMake GUI 3.24+ (or use cmake however way floats your boat):
https://cmake.org/download/ -
add/configure cmake variables:
variable name CMAKE_PREFIX_PATH
c:/obs-build-dependencies/windows-deps
CEF_ROOT_DIR
c:/obs-build-dependencies/cef-binary
CEF_INCLUDE_DIR
c:/obs-build-dependencies/cef-binary
CEF_LIBRARY
c:/obs-build-dependencies/cef-binary/Release/libcef.lib
CEFWRAPPER_LIBRARY
c:/obs-build-dependencies/cef-binary/build/libcef_dll_wrapper/Release/libcef_dll_wrapper.lib
CEFWRAPPER_LIBRARY_DEBUG
c:/obs-build-dependencies/cef-binary/build/libcef_dll_wrapper/Debug/libcef_dll_wrapper.lib
VIRTUALCAM_GUID
A3FCE0F5-3493-419F-958A-ABA1250EC20B
TWITCH_CLIENTID
secret! TWITCH_HASH
secret! RESTREAM_CLIENTID
secret! RESTREAM_HASH
secret! YOUTUBE_CLIENTID
secret! YOUTUBE_SECRET
secret! YOUTUBE_CLIENTID_HASH
secret! YOUTUBE_SECRET_HASH
secret! -
Click Configure, then Generate