AAX linking in windows


#1

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


#2

Nice one!


#3

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.


#4

Also, there is this warning to be fixed.

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