AAX Build on MacOS
-
So for the first time in a long time Im having to build AAX versions of my project...
So I downloaded the latest(ish) AAX SDK (2.8.0) and fired it up in XCode, and it built successfully...
I then renamed the AAX_2_8_0 folder to AAX and HISE finds it and starts the build of my project...
But then I get these errors:
⚠️ ld: ignoring file '/Users/lindonparker/HISE/tools/SDK/AAX/Libs/Release/libAAXLibrary_libcpp.a[3](AAX_CEffectParameters.o)': found architecture 'arm64', required architecture 'x86_64' ⚠️ ld: ignoring file '/Users/lindonparker/HISE/tools/SDK/AAX/Libs/Release/libAAXLibrary_libcpp.a[2](AAX_VDescriptionHost.o)': found architecture 'arm64', required architecture 'x86_64' ❌ Undefined symbols for architecture x86_64 > Symbol: AAXStartup(IACFUnknown*) > Referenced from: _ACFStartup in lto.o ❌ ld: symbol(s) not found for architecture x86_64 ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation) ** BUILD FAILED **So Im guessing I've done something wrong and not set a flag for building on an Arm machine(which is what Im doing). I've looked thru as much as I can find in XCode but I dont see anywhere that X86_64 is mentioned and Arm isnt....
What do I need to do?
-
@Lindon Yeah I suspect the issue is with building the aax library rather than building your project. I don't have an arm machine though so I can't test it.
-
@Lindon Perhaps a version compatibility issue, I'm running 2.6.1 without any issue.
-
@ustk I've built both architectures:

-
@ustk yeah mine doesn't look anything like yours - but lets start right from the beginning...
what are you running (the path) from HISE>tools>SDK> ?????????
in order to compile the AAX SDK???
-
-
@ustk sigh well nope I compile that and I get the same problems...
Im using Sonoma 14.6.1 and XCode 15.4 and AAX SDK V2.0.8
..anyone think this is wrong? got a better suggestion?
-
@Lindon I guess you meant 2.8.0...
Can your mac support a more recent OS?
Can you try downgrading the SDK?
-
@ustk said in AAX Build on MacOS:
Can your mac support a more recent OS?
I'm still on Ventura, so not sure a newer OS will help Lindon here.
-
@David-Healey Well so an SDK downgrade would be the best thing to test, at least to see if the process is the good one
-
@ustk OK can someone point me at a download for an earlier SDK please.
-
@Lindon I reckon you need to use the links of the actual version, and change the version number manually so:
https://cdn.avid.com/aax-toolkit/aax-sdk-2-8-0.zip
becomes:
https://cdn.avid.com/aax-toolkit/aax-sdk-2-6-1.zip
All legacy versions "should" be available this way
-
I just ran into an issue with the latest SDK on Windows, might be related. By default the Visual Studio project is set to dynamic linking. I had to change it to static linking and rebuild.
-
@David-Healey said in AAX Build on MacOS:
I just ran into an issue with the latest SDK on Windows, might be related. By default the Visual Studio project is set to dynamic linking. I had to change it to static linking and rebuild.
hmm, AAX builds and works fine for me on windows, its MacOS where I have problems (when is it never?)
-
@Lindon Have you tried the version I pointed you at?
-
@ustk trying it now.....
-
@Lindon well that failed with these errors:
ld: library 'AAXLibrary_libcpp' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)▸ Linking KeyEngine
ld: library 'AAXLibrary_libcpp' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)So Im still doing something wrong.....
-
@Lindon Im just opening this file:
/xcode/AAX_SDK.xcworkspace in xcode and hitting Build for Profiling right???
-
@Lindon ok so I went away and rebuilt HISe....
and tried again: now Im getting this;
Undefined symbols for architecture x86_64: "AAXStartup(IACFUnknown*)", referenced from: ❌ "AAXShutdown(IACFUnknown*)", referenced from: ❌ "AAXCanUnloadNow(IACFUnknown*)", referenced from: ❌ "AAXGetSDKVersion(unsigned long long*)", referenced from: ❌ "AAXRegisterPlugin(IACFUnknown*, IACFPluginDefinition**)", referenced from: ❌ "AAXGetClassFactory(IACFUnknown*, _acfUID const&, _acfUID const&, void**)", referenced from: ❌ "AAXRegisterComponent(IACFUnknown*, unsigned int, IACFComponentDefinition**)", referenced from: ❌ ld: symbol(s) not found for architecture x86_64 ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation) [KeyEngine - AAX] Linking KeyEngine ** BUILD FAILED ** -
@Lindon yep its def the AAX config. VST3 builds fine and other projects build fine for VST3 but fail with the above for AAX, so Im doing something wrong here.....
