Help porting a PC plugin to Mac, coded with the SDK
Hello gang;
I'm at a loss here and I need some serious help. Let me explain the situation.
I learned how to code AE plugins on my PC using an older Visual Studio Express 2012 and the After Effects CS6 SDK. Again, I know it's old but it was easier to understand. I've since coded a few plugins and one complex one which I wish to port to have a Mac version as well.
That's where all the issues arise.
- I picked up a mid 2015 MacBook Pro with Catalina MacOS.
- I installed XCode 11.1 because I cannot install older XCode versions since they won't work with Catalina. (For instance, the After Effects CS6 SDK says it was meant for XCode 3.5 but Catalina won't allow me to install that)
- I installed the CS6 SDK for Mac and after fiddling with some settings, I think I actually got it to compile the skeleton project (after changing the BASE SDK). At least it seems to export skeleton.plugin but I don't yet have After Effects installed to check.
- Then I try it with my project. When I open my project, it has a bunch of errors. Things like not recognizing min and instead asking to switch it to fmin. There are a lot of code errors. I suspect it is doing this because the C version in Visual Studio Express 2012 is the older one (c99?) while the XCode 11.1 is probably using the new one. Is my hunch correct?
So I am caught between a rock and a hard place. I cannot go through and change all my code for every plugin to make it compatible with the newer C in XCode 11.1. That's a ton of work. I cannot install an older, more compatible version of XCode because it won't work with Catalina. I could install an older OS so as to be able to run an older version of XCode but that seems like a huge amount of work and time to get a ported plugin to work.
So what are you recommendations? Is there a simpler way to do this? Updating my Visual Studio Express 2012 and the After Effects CS6 SDK isn't an option as it took a lot of work to get it to compile succesfully. Surely it cannot be this challening to develop a port?
Any suggestions are welcome!
