obs-cross-compiling

Cross-compile OBS Studio plugins from Linux to Windows with MinGW-w64 and CMake presets.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/meriley/claude-code-skills --skill obs-cross-compiling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obs-cross-compiling
Source: https://github.com/meriley/claude-code-skills/tree/main/skills/obs-cross-compiling
Command: npx skills add https://github.com/meriley/claude-code-skills --skill obs-cross-compiling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and templates (resource) components.

What problem does it solve?

This Skill enables developers to cross-compile OBS Studio plugins from a Linux environment to target Windows, streamlining the build process for multi-platform plugin development.

Core Features & Use Cases

  • Cross-Compilation Setup: Provides detailed steps and configurations for setting up a Linux environment to build Windows executables.
  • Toolchain & CMake Configuration: Includes essential CMake toolchain files and CMakePresets.json for managing build configurations across different platforms.
  • Headers-Only Linking: Implements the headers-only linking pattern crucial for OBS plugin development, ensuring compatibility and correct symbol resolution.
  • CI/CD Integration: Offers example workflows for automating the cross-compilation process in CI/CD pipelines.
  • Use Case: A plugin developer working primarily on Linux needs to build and test their plugin on Windows without needing a separate Windows machine or VM.

Quick Start

Follow the 5-step quick start guide to cross-compile your OBS plugin for Windows.

Frequently Asked Questions about obs-cross-compiling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cross-compile OBS Studio plugins for Windows from Linux?

Cross-compiling OBS Studio plugins for Windows from Linux requires configuring MinGW-w64 toolchains and CMake presets to manage build configurations. This Skill provides templates and references to streamline setting up the Linux environment and fetching the necessary OBS SDK.

What is headers-only linking in OBS plugin development?

Headers-only linking in OBS plugin development ensures compatibility and correct symbol resolution without requiring full library compilation. This Skill implements this pattern crucial for cross-compilation, enabling plugins built on Linux to correctly link against the OBS SDK for Windows targets.

Can I build OBS plugins for Windows without a Windows machine or VM?

Building OBS plugins for Windows without a dedicated Windows machine or VM is possible by using Linux cross-compilation. This Skill facilitates the process by providing CMake toolchain files and configurations needed to generate Windows executables directly from a Linux environment.

How do I set up CMake presets for multi-platform OBS plugin builds?

Setting up CMake presets for multi-platform OBS plugin builds involves defining specific toolchain files and build configurations. This Skill includes essential CMakePresets.json templates to manage these configurations across different platforms and streamline the cross-compilation process.

How do I automate OBS plugin cross-compilation in CI/CD pipelines?

Automating OBS plugin cross-compilation in CI/CD pipelines uses example workflows that integrate MinGW-w64 and CMake presets. This Skill offers CI/CD integration templates to automatically build and package multi-platform artifacts whenever code changes are committed.

What do I need to configure MinGW-w64 for OBS Studio cross-compilation?

Configuring MinGW-w64 for OBS Studio cross-compilation requires setting up the appropriate toolchain files and fetching the OBS SDK. This Skill addresses toolchain configuration and provides the necessary references to establish a functional Linux to Windows build environment.