AAX linking in windows

Howdy,

here’s a patch to make AAX plugins build in Windows without linker errors out of the Introjucer:

https://github.com/yairchu/JUCE/commit/5484d2d2c5de2319a109f94bdadc2c052b00cbb4

Cheers! Yair

Nice one!

I’m using the AAX SDK 1.5.0 and I find these names for the AAXLibrary.lib on Windows to be not matching with those generated by the Visual Studio projects for AAXLibrary.

I’ve patched the code in the AAX wrapper like this:

because the names now are

AAXLibrary.lib
AAXLibrary_D.lib
AAXLibrary_x64.lib
AAXLibrary_x64_D.lib

depending on whether debug and/or 64 bit build are enabled

I haven’t changed the Introjucer code though, because I don’t use it myself and wouldn’t know where to fix things.

Also, there is this warning to be fixed.

Visual Studio is very picky about “const” differences in parameters between declaration and definition