Cross-Compiling Plugins


(David O'Rourke) #1

Up until now I’ve been working on both a Linux (Ubuntu) laptop and a Windows desktop machine. I compile and test my plugins for both linux and windows, and rely on very helpful others in the community to compile for Mac, so that people can get my plugins before they land in the plugin manager.

Going forward windows may not be a practical option for me, so I was wondering if anyone is successfully cross-compiling windows and mac versions on a linux installation. If so, I would appreciate some pointers.

Obviously ‘cross-testing’ is not on my wishlist.


(Lars Bjerregaard) #2

I think Andrew is cross compiling that way, from Linux.


(Andrew Belt) #3

I use Arch Linux with Docker with Ubuntu 16.04 for Linux, mingw-w64 for Windows, and oscross with the MacOS 10.11 SDK for Mac.


(Christoph) #4

Similar to Andrew’s setup I can cross compile on Linux to Windows and Mac. Windows is no problem at all with mingw. Mac is a little more involved to set up the osxcross tool chain and technically requires you to have a Mac and access to the SDKs (licensing).


(David O'Rourke) #5

Well, i didnt do mac compilation previously, so its no great loss. I’ll look into mingw on linux. Thank you for the hint.