HISE Logo Forum
    • Categories
    • Register
    • Login

    Idiot's guide to compile on MAC

    Scheduled Pinned Locked Moved General Questions
    21 Posts 5 Posters 1.7k 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      Updating to the latest JUCE + Projucer fixed the issue

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff
        last edited by

        I'm having an issue Compiling AAX on mac.... and I think it's just a permissions problem. Anyone have some tips to fix this?

        ❌ error: unable to create directory '/Library/Application Support/Avid/Audio/Plug-Ins/Test.aaxplugin/Contents/Resources'

        ❌ error: unable to create directory '/Library/Application Support/Avid/Audio/Plug-Ins/Test.aaxplugin/Contents/MacOS'

        ** BUILD FAILED **

        The following build commands failed:
        MkDir /Library/Application\ Support/Avid/Audio/Plug-Ins/Test.aaxplugin/Contents/Resources
        MkDir /Library/Application\ Support/Avid/Audio/Plug-Ins/Test.aaxplugin/Contents/MacOS
        (2 failures)
        Compiling finished. Cleaning up...

        Dan Korneff - Producer / Mixer / Audio Nerd

        Dan KorneffD 1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff @Dan Korneff
          last edited by

          I'm running latest HISE-develop plugin within Reaper.

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            You need admin rights to write to this directory. Make sure your user has the privilege.

            Try to create a folder within this directory from the Finder.

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @Christoph Hart
              last edited by

              @christoph-hart It appears that my account does have admin rights, and I'm able to create a folder within the Application Support folder.

              Dan Korneff - Producer / Mixer / Audio Nerd

              1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff
                last edited by

                @Christoph-Hart I've gotten a little closer, but not working yet. I've created a root account which gets me closer but I'm still encountering errors.
                Build command Ld fails.

                ** BUILD FAILED **
                
                
                The following build commands failed:
                	Ld /Library/Application\ Support/Avid/Audio/Plug-Ins/test.aaxplugin/Contents/MacOS/test normal x86_64
                (1 failure)
                Compiling finished. Cleaning up...
                logout
                -n Saving session...
                -ne 
                ...copying shared history...
                -ne 
                ...saving history...
                -n truncating history files...
                -ne 
                ...
                completed.
                
                [Process completed]
                
                

                Dan Korneff - Producer / Mixer / Audio Nerd

                hisefiloH 1 Reply Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @Dan Korneff
                  last edited by

                  @dustbro maybe you can use chmod to change permissions on that folder? Via terminal

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

                    Have you tried compiling the project from within XCode? Maybe the command line call messes up the permissions.

                    1 Reply Last reply Reply Quote 1
                    • Dan KorneffD
                      Dan Korneff @hisefilo
                      last edited by

                      @hisefilo Gonna try that now.
                      @Christoph-Hart Compiling directly in Xcode:
                      0_1542313979349_Screen Shot 2018-11-15 at 3.30.39 PM.png

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff
                        last edited by

                        Finally figured out the problem. My Project Name had spaces in it. Apparently Macs don't like that? I removed the spaces and all worked as expected.

                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                        26

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.0k

                        Posts