I am programming some VST-Plugins with Juce with Windows. Now I want to get a MAC-OS Version of my Plugin and I have two problems.
1. How can I use the pre-compiler commands to differentiate between MAC and WINDOWS Code-parts. Something like:
#if WIN
....
#elseif MAC
...
#endif
2. My Second problem is, that I can succesfully build my Plugin an MAC but the Plugin is not detected by Nuendo/Cubase or should I better say If I update my Plugins, Nuendo crashes while detecting my Plugin and then by the next startup the Plugin is not in the list. So there must be a error in it.
thank you fpr the helpful tips! I think I can use this Pre-compiler Commands to solve the first problem.
But the bigger problem is the second one, why the plugin isn't detected, better said the host crashes after loading.
I dont know where I can search the problems, im a little bit confused at the moment