Crosscompiling OpenFrameworks Sketches

Hello,

I am wondering if it is possible/advisable/feasible to crosscompile openFrameworks apps. I am running Linux, but most of the people I would share my apps with run macOS or Windows. The problem is most of them are not computer-savvy enough to clone a github repo and compile the code themselves, so the only way to share apps with them would be to send executables.

Probably the easiest way to do this would be to build via Github Actions.
We do this for the nightly builds of OF.

For building on different OS see:

For the updating a release see the last step here: openFrameworks/build-linux-nightly.yml at master · openframeworks/openFrameworks · GitHub

It is definitely a bit of work, but might be easier than cross compiling from Linux?

1 Like