Skip to main content

Building from Source

This guide is for developers who want to build the Daydream OBS plugin from source code.
For most users, we recommend downloading the pre-built releases from GitHub.

Prerequisites

Platform Toolchains

macOS

Build

Install for Development

Create a symlink for rapid iteration:
Now when you rebuild, OBS will automatically load the new version (after restart).

Build Release

The plugin will be at build_macos/Release/daydream-obs.plugin.

Windows

Build

Install

Copy the built plugin to OBS:
Or open the solution in Visual Studio:

Linux

Dependencies

Build

Install

Project Structure

Development Tips

Logging

The plugin uses OBS’s logging system:
View logs in OBS: HelpLog FilesView Current Log

Debugging

On macOS, you can attach a debugger:
On Windows, attach Visual Studio to the running OBS process.

Hot Reload

OBS caches plugins, so you need to restart OBS after rebuilding. For faster iteration:
  1. Use a Debug build
  2. Symlink the plugin (macOS) or copy after each build
  3. Restart OBS to test changes

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request
See the GitHub repository for contribution guidelines.

Next Steps