Compiling AAX LNK mismatch error
-
Attempting to compile an AAX plugin on Windows for the first time. I've compiled the demo gain plugin sucessfully and opened it in pro-tools, now I'm exporting my HISE project.
I've added the SDK to the tools folder.
When I compile I'm seeing some errors related to link mismatch. I'm assuming I've built the wrong library or something, but not 100% sure. Any ideas?
AAXLibrary_x64.lib(AAX_CEffectParameters.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_Dynami cRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj [C:\Users\John\Desktop\Pro jects\sordinaBuild\Sordina\Binaries\Builds\VisualStudio2022\Sordina 2_AAX.vcxproj]
-
@d-healey You need to compile the AAX binary as static. I'll post a pic in a sec
-
-
yup what dan said :)
-
@Dan-Korneff Worked perfectly, thanks! Is it a similar thing on Mac?
-
@d-healey On Mac, just a straight up library build with no adjustments works for me