-
Notifications
You must be signed in to change notification settings - Fork 0
Build Instructions
Prateeksha Das edited this page May 26, 2023
·
1 revision
- Windows
- macOS
- Microsoft Visual Studio 2022
- cmake
- Powershell 7
- OpenSSL
-
Download OpenSSL installer - Download the full version and select copy OpenSSL DLLs to
OpenSSLbinaries(/bin) directory - Add
OPENSSL_ROOT_DIRpath\to\openssl\dirandOPENSSL_LIBRARIESpath\to\openssl\dir\binto system variables
-
Download OpenSSL installer - Download the full version and select copy OpenSSL DLLs to
- Run the script in Powershell 7
scripts\Build-Windows.ps1 - After running successfully dlls are created in
<project-root>/release - Copy
release/data/obs-plugins/caffeine-obs-pluginfolder into<path-to-obs-studio>/data/obs-plugins - Go to
release/obs-plugins/64bitfolder, copycaffeine-obs-plugin.dllandcaffeine-obs-plugin.pdbinto<path-to-obs-studio>/obs-plugins/64bit - Launch
OBS-Studioto verify Caffeine plugin is available by selectingCaffeinefromDocks
- XCode 14.2 or newer
- brew
- cmake - brew install cmake
- openssl
- Intel:
- brew install openssl
- Add to path:
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 export OPENSSL_LIBRARIES=/usr/local/opt/openssl@1.1/lib
- arm64:
- Add to path:
export OPENSSL_LIBRARIES=/opt/homebrew/Cellar/openssl@1.1/1.1.1t/lib export OPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@1.1/1.1.1t
- Add to path:
- Intel:
- Run the script in Terminal
scripts\build-macos.zsh - After running successfully
.pluginare created in<project-root>/release - Copy
caffeine-obs-plugin.pluginfrom<project-root>/releaseinto~/Library/Application Support/obs-studio/pluginsfolder - Launch OBS-Studio to verify Caffeine plugin is available by selecting
CaffeinefromDocks