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_PATHc:/obs-build-dependencies/windows-depsCEF_ROOT_DIRc:/obs-build-dependencies/cef-binaryCEF_INCLUDE_DIRc:/obs-build-dependencies/cef-binaryCEF_LIBRARYc:/obs-build-dependencies/cef-binary/Release/libcef.libCEFWRAPPER_LIBRARYc:/obs-build-dependencies/cef-binary/build/libcef_dll_wrapper/Release/libcef_dll_wrapper.libCEFWRAPPER_LIBRARY_DEBUGc:/obs-build-dependencies/cef-binary/build/libcef_dll_wrapper/Debug/libcef_dll_wrapper.libVIRTUALCAM_GUIDA3FCE0F5-3493-419F-958A-ABA1250EC20BTWITCH_CLIENTIDsecret! TWITCH_HASHsecret! RESTREAM_CLIENTIDsecret! RESTREAM_HASHsecret! YOUTUBE_CLIENTIDsecret! YOUTUBE_SECRETsecret! YOUTUBE_CLIENTID_HASHsecret! YOUTUBE_SECRET_HASHsecret! -
Click Configure, then Generate