Building a windows mxe64 external in Xcode

George Collins's icon

Heya,

Apologies in advance as I guess this is probably quite a basic question, but I haven't been able to solve it with the API doc or on previous forum posts...

My external is working wonderfully on Mac OS with the .mxo external I've made. How do I setup Xcode to make a mxe64 extension to work on windows? I've been using the example projects given in the Max SDK. Anyone able to point me in the right direction?

I'll put this down to my lack of basic knowledge in programming....

Cheers! George

Rob Ramirez's icon

there is no way to cross-compile an mxe from Xcode.

you can utilize something like Github Actions, if your repo lives on GitHub. But this requires using cmake to generate your project files, which is not a basic task by any stretch. However if you switch over to the min-devkit, there are scripts that will handle the setup for you.

George Collins's icon

Hey Rob, that helps a lot thanks! Downloading the min-devkit now...

Rob Ramirez's icon

cool! couple things, the Package Manager version was just now updated, so make sure you update if that's the version you've installed - https://cycling74.com/forums/min-devkit-version-0-5-7

George Collins's icon

Great thanks Rob, saved me from downgrading my Xcode ha!