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.
    • 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
      • ustkU
        ustk @Lindon
        last edited by

        @Lindon What do you mean by "loaded it in as"? You just place the whole folder in the hise/tool/SDK, rename it AAX and compile right?

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

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

          @ustk yes.

          Now I ran xcode using sudo and it tells me it was a success -- but I cant find the AAX plugin anywhere... do you know where it should be I thought it would be in: library/Audio/plugins/DigiDesign

          -- where would it be any ideas?

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon said in AAX compile on a Mac:

            @ustk yes.

            Now I ran xcode using sudo and it tells me it was a success -- but I cant find the AAX plugin anywhere... do you know where it should be I thought it would be in: library/Audio/plugins/DigiDesign

            -- where would it be any ideas?

            Oh hang on is it in:

            Library/Application Support/Avid/Plug-Ins/.aaxplugin

            Is that it?

            Why oh why in heavens name cant all plugins get put in a common place on the Mac?

            HISE Development for hire.
            www.channelrobot.com

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

              OK so if I run xcode as sudo I can get this to compile, but its a PITA, so I'd really really like it to compile "out of the box" in HISE...

              So here's whats happening when I ask HISE to build me an AAX plugin:

              We start with the fairly standard:

              Lindons-Mac-mini:~ lindon$ /Volumes/Untitled/BeatskillzTemplate/Binaries/batchCompileOSX ; exit;
              Re-saving file: /Volumes/Untitled/BeatskillzTemplate/Binaries/AutogeneratedProject.jucer
              Finished saving: Visual Studio 2017
              Finished saving: Xcode (MacOSX)
              Finished saving: Xcode (iOS)
              Finished saving: Linux Makefile
              Compiling Instrument plugin RetroVolt ...
              

              this is followed by the usual array of warning messages... then we get to the business end of things:

              ▸ Building library libRetroVolt.a
              ▸ Building RetroVolt/RetroVolt - VST3 [Release]
              ▸ Check Dependencies
              ▸ Compiling include_juce_audio_plugin_client_VST3.cpp
              ▸ Linking RetroVolt
              ▸ Touching RetroVolt.vst3
              ▸ Building RetroVolt/RetroVolt - AAX [Release]
              ▸ Check Dependencies
              ▸ Compiling include_juce_audio_plugin_client_AAX.mm
              ▸ Linking RetroVolt
              
              
              
              
              ❌  ld: can't write output file: /Library/Application Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin/Contents/MacOS/RetroVolt for architecture x86_64
              
              
              
              ❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)
              
              
              ** BUILD FAILED **
              
              
              The following build commands failed:
              	Ld /Library/Application\ Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin/Contents/MacOS/RetroVolt normal x86_64
              (1 failure)
              Compiling finished. Cleaning up...
              logout
              Saving session...
              ...copying shared history...
              ...saving history...truncating history files...
              ...completed.
              

              Is it something I've set up wrong?

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon Have you selected the Support32 Bit Mac OS flag in Hise Preferences/Development?

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

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

                  @ustk --er not that I am aware....

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon x86 errors are related to 32bit issues. And AAX can't be 32bit afaik, so it might be a lead...

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

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

                      @ustk --as OK htat looks like it might be it.. let me try that...

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @ustk damnit - nope that flag is not set in my preferences...so thats not it.

                        HISE Development for hire.
                        www.channelrobot.com

                        1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey
                          last edited by d.healey

                          Might help...

                          Link Preview Image
                          Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3

                          I can't get rid of this error! I have tried all sorts of things like clearing Derived Data(Preferences->Locations->click gray arrow to open Derived Data folder in Finder->right-click, move to tras...

                          favicon

                          Stack Overflow (stackoverflow.com)

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

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

                            @d-healey wow I have literally no idea where to start with that stuff - they all seem to be IN xcode....and I'm not Im IN Hise - so I cant "reveal in log".

                            I tried another run at it now I get this:

                            ▸ Compiling PresetData.cpp
                            ▸ Building library libRetroVolt.a
                            ▸ Building RetroVolt/RetroVolt - VST3 [Release]
                            ▸ Check Dependencies
                            ▸ Linking RetroVolt
                            ▸ Touching RetroVolt.vst3
                            ▸ Building RetroVolt/RetroVolt - AAX [Release]
                            ▸ Check Dependencies
                            ▸ Linking RetroVolt
                            ▸ Touching RetroVolt.aaxplugin
                            ** 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.
                            
                            [Process completed]
                            
                            
                            

                            so now its refusing to set the owner and group for the thing its making....but it made a plugin at:

                            /Application Support/Avid/Audio/Plug-Ins/RetroVot.aaxplugin

                            so this is all very very flakey...

                            HISE Development for hire.
                            www.channelrobot.com

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

                              Has anyone any idea where the log file might be for an AAX build on a Mac?

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon Another thing, have you tried to throw out to the trash the Binaries folder in your project folder?

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

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

                                  @ustk nope I'll try that then.

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon And are you sure Hise is pointing to the good path in your preferences?

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

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

                                      @ustk yep Im pretty sure about pointing at the correct path....

                                      But in any case good call well done and thank you - I trashed the build folder and it now compiles... so lets hope it also runs... thanks for your support.

                                      Now on to the AAX Windows build - and the first thing I'm going to do is trash the build folder on that machine too...

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      1 Reply Last reply Reply Quote 1
                                      • T
                                        tomekslesicki
                                        last edited by tomekslesicki

                                        Hey @Lindon, how did you get past the

                                        error: Unable to create directory: /Library/Application Support/Avid/Audio/Plug-Ins/Lekko.aaxplugin/Contents (Permission denied)
                                        

                                        problem? Are you able to build AAX in HISE on a Mac now? If so, what helped you? I tried trashing the Build folder but it doesn’t seem to help.

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

                                          @tomekslesicki said in AAX compile on a Mac:

                                          Hey @Lindon, how did you get past the

                                          error: Unable to create directory: /Library/Application Support/Avid/Audio/Plug-Ins/Lekko.aaxplugin/Contents (Permission denied)
                                          

                                          problem? Are you able to build AAX in HISE on a Mac now? If so, what helped you? I tried trashing the Build folder but it doesn’t seem to help.

                                          make sure you are using AAX SDK 2p3p2

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tomekslesicki
                                            last edited by

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            45

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts