fzwoch / obs-gstreamer

GStreamer OBS Studio plugin
GNU General Public License v2.0
349 stars 34 forks source link

How to cross-compile for Windows? #103

Closed lucaspontoexe closed 1 year ago

lucaspontoexe commented 1 year ago

I am trying to cross-build this plugin for Windows, using the mingw Dockerfile as a starting point. But I don't know how to proceed.

The Gitlab CI didn't produce any artifacts for the latest commit. It failed macos and skipped the others. How can I build locally to test in Windows?

lucaspontoexe commented 1 year ago

update: I found https://github.com/fzwoch/obs-gstreamer/blob/master/.gitlab-ci.yml and got it working

I created a container using the file, cloned the repo inside of it, moved all the files to the root and ran every command of the script section.