# AAX linking in windows

**URL:** <https://forum.juce.com/t/aax-linking-in-windows/9811>\
**Category:** Audio Plugins\
**Created:** [January 13, 2013, 3:31pm UTC](https://forum.juce.com/t/aax-linking-in-windows/9811 "2013-01-13T15:31:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [January 13, 2013, 3:31pm UTC](https://forum.juce.com/t/aax-linking-in-windows/9811/1 "2013-01-13T15:31:33Z")

</div>

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](https://github.com/yairchu/JUCE/commit/5484d2d2c5de2319a109f94bdadc2c052b00cbb4)

Cheers! Yair

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [January 13, 2013, 5:26pm UTC](https://forum.juce.com/t/aax-linking-in-windows/9811/2 "2013-01-13T17:26:45Z")

</div>

Nice one!

---

<div class="post-metadata">

**Author:** ![yfede](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yfede/32/506_2.png) [@yfede](https://forum.juce.com/u/yfede)\
**Post date:** [January 16, 2013, 2:58pm UTC](https://forum.juce.com/t/aax-linking-in-windows/9811/3 "2013-01-16T14:58:12Z")

</div>

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:

> <https://github.com/yfede/JUCE/commit/1d351f8e16b7b501ca1d79976871b92aca76507d>

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.

---

<div class="post-metadata">

**Author:** ![yfede](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yfede/32/506_2.png) [@yfede](https://forum.juce.com/u/yfede)\
**Post date:** [January 16, 2013, 3:14pm UTC](https://forum.juce.com/t/aax-linking-in-windows/9811/4 "2013-01-16T15:14:32Z")

</div>

Also, there is this warning to be fixed.

> <https://github.com/yfede/JUCE/commit/d584d42779a70a1091314ecdbd6d41c743774828>

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