How do I develop a plugin for Mac (OSX) on Windows?

SDK for VST 3 audio plug-in and host development.
Post Reply
midiosh
Posts: 8
Joined: Fri Feb 07, 2020 8:40 pm

How do I develop a plugin for Mac (OSX) on Windows?

Post by midiosh »

This seems like a simple question, but I havent been able to find anything about it in the SDK documentation...

I have been developing VST plugins using Visual Studio on Windows and have had no problem exporting them for use in Windows. Now I want to expoert the same plugins for use on Mac, but can't seem to figure out how to do this. Do I literally have to build a Mac VST from a Mac computer? That seems highly unlikely...

Thanks in advance!

rhansen
Posts: 26
Joined: Mon Jun 20, 2016 7:43 am
Location: Hamburg

Re: How do I develop a plugin for Mac (OSX) on Windows?

Post by rhansen »

midiosh wrote:
Tue Mar 17, 2020 11:21 pm
...Do I literally have to build a Mac VST from a Mac computer? That seems highly unlikely...
Hey midiosh,

yes, you need to build on a mac. Otherwise you need to cross compile. But cross compilation from windows to macos is not possible, never heard of that.

Cross compilation does work though with the VST3 SDK. If you build for Android (which is not supported yet but still, it is possible with some tweaks), run a Linux Ubuntu, get the Android SDK which contains an Android toolchain and build for Android successfully. The toolchain contains all the necessary libraries and compilers needed.

Does it answer your question?

Cheers,
René

midiosh
Posts: 8
Joined: Fri Feb 07, 2020 8:40 pm

Re: How do I develop a plugin for Mac (OSX) on Windows?

Post by midiosh »

Hey René,

So I'll have to create the project on a Mac and compile it using that SDK. Yeah that answers my question, although it's pretty unfortunate...

Thanks for the reply!
Kyle

User avatar
pongasoft
Posts: 99
Joined: Sun Mar 11, 2018 5:57 pm
Location: Las Vegas, USA
Contact:

Re: How do I develop a plugin for Mac (OSX) on Windows?

Post by pongasoft »

midiosh wrote:
Wed Mar 18, 2020 5:25 pm
Hey René,

So I'll have to create the project on a Mac and compile it using that SDK. Yeah that answers my question, although it's pretty unfortunate...

Thanks for the reply!
Kyle
You don't have to "create the project on a Mac". The CMakefile that comes with the SDK work both on Mac and PC. So as long as you use a CMakefile to compile your own source you should be good (I have an example plugin on github https://github.com/pongasoft/vst3-again-sample). So you only need to "compile" the project on the Mac. You cannot indeed use a PC to compile the Mac version.

I personally develop on Mac and then simply use a PC to compile the project for the PC version.

Note that my mini framework Jamba (https://jamba.dev/) creates the proper CMakefile...

Yan

midiosh
Posts: 8
Joined: Fri Feb 07, 2020 8:40 pm

Re: How do I develop a plugin for Mac (OSX) on Windows?

Post by midiosh »

Thanks for your help, I was able to compile it for Windows, Mac and Linux each by completing the build from a computer running the target OS.

Post Reply