AAX Build Fail, Windows
-
Hi guys, getting this build fail in case anyone recognises it. I built the aax sdk with VS2022, even though they only supply a VS2017 project. It wouldn't build with VS2017. I was asked if I wanted to upgrade the project when building in 2022, I said yes. Any ideas let me know! Cheers
HALO-2_SharedCode.vcxproj -> D:\HALO-2-LAYOUT\Binaries\Builds\VisualStudio2017\.\..\..\Compiled\Shared Code\HALO-2.li b include_juce_audio_plugin_client_AAX.cpp LINK : fatal error C1007: unrecognized flag '-pdbrpc' in 'p2' [D:\HALO-2-LAYOUT\Binaries\Builds\VisualStudio2017\HALO-2 _AAX.vcxproj] LINK : fatal error LNK1257: code generation failed [D:\HALO-2-LAYOUT\Binaries\Builds\VisualStudio2017\HALO-2_AAX.vcxpro j] Press any key to continue . . .
-
Found this online:
https://stackoverflow.com/questions/54664134/cannot-compile-unknown-flag-pdbrpc-in-p2@DanH I built without upgrading and it seems to be working here. Give that a try and see if anything changes.
-
@Dan-Korneff will do , thanks!
-
@Dan-Korneff hmmmm. I get this error now in both VS2017 and VS2022 when trying to build the AAX library (no upgrade in 2022). Feels like I've buggered up VS2017 when installing VS2022 and the new ipp/OneAPI.
Build started... 1>------ Build started: Project: AAXLibrary, Configuration: Release x64 ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". 1>Done building project "AAXLibrary.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== Elapsed 00:00.926 ==========
-
@DanH It's not as bad as you think. You just need to install the 10.0.16299 SDK for VS2017
-
@Dan-Korneff I think it's already installed.
So I went back to building the AAX library with VS2022, as this is what I built HISE with and what I export my plugins with.
It seems happy enough until I now hit a bunch of mismatch errors. Searching on google isn't giving me loads of joy.
Severity Code Description Project File Line Suppression State Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in include_juce_audio_plugin_client_AAX.obj HALO-2_AAX D:\HALO-2-LAYOUT\Binaries\Builds\VisualStudio2022\AAXLibrary_x64.lib(AAX_CEffectParameters.obj) 1
-
@DanH I've rebuilt the AAX library with MT selected. Trying again now
-
@Dan-Korneff ok I've built something! In Binaries/Compiled I have a file with an .axxdll extension. It this correct? Is that a normal AAX extension on windows?
-
@DanH said in AAX Build Fail, Windows:
@Dan-Korneff ok I've built something! In Binaries/Compiled I have a file with an .axxdll extension. It this correct? Is that a normal AAX extension on windows?
you should also see something called: .aaxplugin
- it may appear as a folder....
This is in fact your shipable/ notarizable product.
-
@Lindon yes found that too. Ok great, hopefully that's done!
Cheers mate