I’m trying to port over my plugin code from JUCE 2 to JUCE 5.
My VS solution is set up such that my code is in a single project which builds a single DLL (with all three formats), followed by a post-build event that creates the AAX packages and copies is to a file with the aaxplugin extension.
The build fails (only when requesting AAX) with a “DllMain already defined” error.
As a test of sorts, I took a stab at modifying the Audio Plugin Demo (from the provided examples) to build AAX (which it doesn’t do by default), and noticed that the Projucer adds a separate project to the solution which is meant solely for building the AAX plugin, while the JuceDemoPlugin_VST project builds the VST/AU formats.
Am I to conclude that JUCE now makes it a requirement to set up a separate project to build the AAX format plugin, or is there a way to build all three formats out of a single VS project?