AAX Build on MacOS
-
@Lindon I might have pointed you to the wrong xcode project. you should build
Libs/AAXLibrary/MacBuild/AAXLibrary.xcodeprojIf you tried to build the SDK itself then it's probably my bad. I just updated the screenshot to the good project path so people won't get confused.
-
@ustk ok here is what I did:
- downloaded aax-sdk-2-6-1.zip
- unzipped it and got aax-sdk-2-6-1 folder
- copied this folder to HISE/tools/SDK/
- opened SDK/aax-sdk-2-6-1/Libs/AAXLibrary/MacBuild/AAXLibrary.xcodeproj in xcode
- ran Product>Build For/Profiling. xcode tells me this was a success...
- renamed aax-sdk-2-6-1. to AAX in the HISE/SDK folder
- opened my project in HISE
- ran Export>Export As Instrument and selected AAX as my target....
got this in the console window:
⚠️ 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: "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 ** The following build commands failed: Ld /Volumes/Untitled/Nomad\ Sounds/KeyEngine/Binaries/Builds/MacOSX/build/KeyEngine.build/Release/KeyEngine\ -\ AAX.build/Objects-normal/x86_64/Binary/KeyEngine normal x86_64 (in target 'KeyEngine - AAX' from project 'KeyEngine') (1 failure) ⚠️ /Volumes/Untitled/Nomad Sounds/KeyEngine/Binaries/Builds/MacOSX/KeyEngine.xcodeproj: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 14.5.99. (in target 'KeyEngine - All' from project 'KeyEngine')so its something about this:
found architecture 'arm64', required architecture 'x86_64'.
for some reason its not set up to build properly on my M1 mac...