HISE Logo Forum
    • Categories
    • Register
    • Login

    AAX compile on a Mac

    Scheduled Pinned Locked Moved General Questions
    44 Posts 6 Posters 2.6k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      Looks to me as if you don‘t run Xcode as admin because the copy step to the root library folder fails.

      LindonL 2 Replies Last reply Reply Quote 0
      • LindonL
        Lindon @Christoph Hart
        last edited by Lindon

        @Christoph-Hart yeah thats probably it - so how would I do that from projucer? -- complete Mac novice here..

        HISE Development for hire.
        www.channelrobot.com

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

          @Christoph-Hart said in AAX compile on a Mac:

          Looks to me as if you don‘t run Xcode as admin because the copy step to the root library folder fails.

          well I checked my system preferences and I am the admin...so is there something I need to set for XCode?

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon -- OK tried again --same access denied problem.... any ideas?

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon I see you spoke about compiling the SDK. I don't understand if you succeeded though, so that might be your problem here...
              I just compiled the last SDK yesterday and it works...

              Can't help pressing F5 in the forum...

              LindonL 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                Try starting xcode from the command line with sudo, then it should work.

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

                  @ustk -- nope not compiled the SDK -- what did you do to get it to compile?

                  HISE Development for hire.
                  www.channelrobot.com

                  LindonL ustkU 2 Replies Last reply Reply Quote 0
                  • LindonL
                    Lindon @Lindon
                    last edited by Lindon

                    OK so I ran XCode as sudo, and it still fails like this

                    f4f783c5-2c36-4ce6-aa2b-4c3dff3fc221-image.png

                    that "ld: library not found for -lAAXLibrary_libpp" might be the indicator that Im missing something in the AAX SDK....

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon Open HISE/tools/SDK/AAX/Libs/AAXLibrary/MacBuild/AAXLibrary.xcodeproj and perform a standard "Build for profiling"
                      Note that the root folder has been renamed just AAX

                      Can't help pressing F5 in the forum...

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

                        @Lindon Yes that's it, library not found means you are compiling without having the lib in the SDK... Compile the SDK first and it should work

                        Can't help pressing F5 in the forum...

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

                          @ustk OK so I down load the SDK (AAX_SDK_2p2p2) extract it to a drive.

                          -- go to: /AAXSDK_2p2p2/libs/MacBuild and double click on AAXLibrary.xcodeproj

                          -- xcode opens and tells me:

                          43dbf5bb-650b-4f01-a8b1-7d490fce4a65-image.png

                          --stuck!

                          HISE Development for hire.
                          www.channelrobot.com

                          ustkU LindonL 2 Replies Last reply Reply Quote 0
                          • ustkU
                            ustk @Lindon
                            last edited by

                            @Lindon Why don't you use the 2.3.2 version?

                            Can't help pressing F5 in the forum...

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

                              @Lindon oh hang on 2p3p2 seems to be compiling....

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @ustk sorry yeah I had tried 2p3p2 I thought - perhaps not...

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon fingers crossed ;)

                                  Can't help pressing F5 in the forum...

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

                                    @ustk yep well that worked - so what do put in the tools/SDK folder for HISE now? the entire AAX_SDK_2p3p2 folder? do I rename it AAX SDK ?

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      sigh---- ok well now I get these errors:

                                      ❌ error: You don’t have permission to save the file “Info.plist” in the folder “Contents”.

                                      ❌ error: couldn't remove '/Library/Application Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin/Contents/PkgInfo' after command failed: Permission denied

                                      ❌ error: couldn't remove '/Library/Application Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin/Contents/Info.plist' after command failed: Permission denied

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        @Lindon https://forum.hise.audio/topic/2432/aax-compile-on-a-mac/13

                                        Can't help pressing F5 in the forum...

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

                                          oh no --so close...

                                          So I opened up permission on everything in this chain and ran again - this time it built the plug but failed at the end:

                                          ** BUILD FAILED **

                                          The following build commands failed:
                                          SetOwnerAndGroup lindon:staff /Library/Application\ Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin
                                          (1 failure)
                                          Compiling finished. Cleaning up...
                                          logout
                                          Saving session...
                                          ...copying shared history...
                                          ...saving history...truncating history files...
                                          ...completed.

                                          HISE Development for hire.
                                          www.channelrobot.com

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

                                            @ustk said in AAX compile on a Mac:

                                            @Lindon https://forum.hise.audio/topic/2432/aax-compile-on-a-mac/13

                                            yes I've done all this and compiled the AAX SDK and loaded it in as AAX and run my builds and still I'm getting these permission errors....

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            45

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts