Forum
    • Categories
    • Register
    • Login

    AAX Build on MacOS

    Scheduled Pinned Locked Moved General Questions
    22 Posts 3 Posters 354 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • David HealeyD
      David Healey
      last edited by

      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.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - HISE tutorials
      My Patreon - More HISE tutorials

      LindonL 1 Reply Last reply Reply Quote 1
      • LindonL
        Lindon @David Healey
        last edited by

        @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?)

        HISE Development for hire.
        www.channelrobot.com

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @Lindon
          last edited by

          @Lindon Have you tried the version I pointed you at?

          Hise made me an F5 dude, any other app just suffers...

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @ustk
            last edited by

            @ustk trying it now.....

            HISE Development for hire.
            www.channelrobot.com

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @Lindon
              last edited by Lindon

              @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.....

              HISE Development for hire.
              www.channelrobot.com

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @Lindon
                last edited by Lindon

                @Lindon Im just opening this file:

                /xcode/AAX_SDK.xcworkspace in xcode and hitting Build for Profiling right???

                HISE Development for hire.
                www.channelrobot.com

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @Lindon
                  last edited by

                  @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 **
                  

                  HISE Development for hire.
                  www.channelrobot.com

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @Lindon
                    last edited by

                    @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.....

                    HISE Development for hire.
                    www.channelrobot.com

                    ustkU 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @Lindon
                      last edited by ustk

                      @Lindon I might have pointed you to the wrong xcode project. you should build Libs/AAXLibrary/MacBuild/AAXLibrary.xcodeproj

                      If 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.

                      Hise made me an F5 dude, any other app just suffers...

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @ustk
                        last edited by Lindon

                        @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...

                        HISE Development for hire.
                        www.channelrobot.com

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        24

                        Online

                        2.4k

                        Users

                        13.8k

                        Topics

                        120.3k

                        Posts