Skip to content

Instantly share code, notes, and snippets.

@danrossi
Created April 23, 2026 13:15
Show Gist options
  • Select an option

  • Save danrossi/c5dbece34cf1644b3fad67734261eb48 to your computer and use it in GitHub Desktop.

Select an option

Save danrossi/c5dbece34cf1644b3fad67734261eb48 to your computer and use it in GitHub Desktop.
OBS Windows Build Setup
The information was not straightforward enough. There is a missing step to modify the VS Studio build tools and install the desktop development tools option.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install -y git
choco install visualstudio2026buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
Locate "Visual Studio Installer". Click "Modify". Choose "Desktop Development with C++". Check C++ ATL For x64
git clone --recursive https://github.com/obsproject/obs-studio.git
cd obs-studio
Set the newer VS 2026 first as it failed to find it.
cmake -G "Visual Studio 18 2026" -A x64 --preset windows-x64
cmake --build --preset windows-x64
@danrossi
Copy link
Copy Markdown
Author

Visual Studio Installer

Screenshot 2026-04-23 230000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment