AAX SDK missing?
-
This post is deleted! -
Ok I don't know this is true but this is what I did;
- Firstly I've tried
AAX\Libs\AAXLibrary\WinBuild\vs2013\AAXLibrary.sln
in VS2017 and it gaveCompiler Error C2220
- After a google research, I've disabled all of the warnings in VS2017 and tried to comply again and it complied AAXLibraries successfully.
- The AAXLibrary_x64 file automatically created in
AAX\Libs\Release
folder - Then I tried recompilig my project in HISE, and then it gave this errors below :(
Maybe it is related to including header thing. But how can I do that? Is the above procedure right?
2>include_juce_audio_plugin_client_AAX.cpp 2>AAXLibrary_x64.lib(AAX_CEffectParameters.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_Init.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_CParameter.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_IEffectGUI.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_IEffectParameters.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_CACFUnknown.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_CEffectGUI.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_CParameterManager.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_CPacketDispatcher.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_CString.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_CChunkDataParser.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_VController.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_VCollection.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_VPropertyMap.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_VDescriptionHost.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_VEffectDescriptor.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_VComponentDescriptor.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj 2>AAXLibrary_x64.lib(AAX_VFeatureInfo.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj
- Firstly I've tried
-
@Christoph-Hart can you make a suggestment for that?
-
You need to change the runtime library link settings to static in the AAX library and recompile them.
-
@christoph-hart After that, do I need to do something? how can we make "including headers in project"?
-
The header files should be included automatically. It's the .lib files that you need to create on your own using the AAX SDK Solution file.
-
@christoph-hart Thank you so much bro. Yes you are right, building AAX plugins are like a pain in the ass. I've compiled plugin. Now it's digitally signings' turn :( I think the wraptool will be used. It's really long procedure....
-
@Christoph-Hart Do I need to compile the AAX SDK on each computer I use it on? Since AMD is a no- go at the moment, I've moved over to an Intel machine. I just copied the AAX SDK folder to the new machine, and I'm getting this error on export:
c:\program files\hise-master\juce\modules\juce_audio_plugin_client\aax\juce_aax_wrapper.cpp(51): error C2065: 'AAX_SDK_2p3p0_REVISION': undeclared identifier [F:\SNARE\Binaries\Builds\VisualStudio2017\SNARE_AAX.vcxproj] c:\program files\hise-master\juce\modules\juce_audio_plugin_client\aax\juce_aax_wrapper.cpp(70): fatal error C1083: Can not open include file: 'AAX_IDescriptionHost.h': No such file or directory [F:\SNARE\Binaries\Builds\VisualStu dio2017\SNARE_AAX.vcxproj]
HISE latest build on PC.
It's working on my MAC though... so.... ?? -
maybe it's me? I just tried to use a file synchronizer to compare the SDK folders and get this error:
Gonna look a little closer
-
Cleaned the build directory and tried again.
Got this:LINK : fatal error C1047: The object or library file 'C:\Program Files\HISE-master\tools\SDK\AAX\Libs\Release\AAXLibrar y_x64.lib' was created with an older compiler than other objects; rebuild old objects and libraries [F:\SNARE\ Binaries\Builds\VisualStudio2017\SNARE_AAX.vcxproj] LINK : fatal error LNK1257: code generation failed [F:\SNARE\Binaries\Builds\VisualStudio2017\SNARE_A AX.vcxproj]
-
re-downloaded all. re-compiled. same error
¯ \ (ツ) / ¯
Anyone seen this before? -
Upgraded to SDK 2.3.1 and it finally worked