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.
    • hisefiloH
      hisefilo @Christoph Hart
      last edited by

      @christoph-hart I've ignored yelow stuff since my first attempt on Hise ;)

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

        @dustbro said in Idiot's guide to compile on MAC:

        it's easier to install ;)
        0_1541871811263_Screen Shot 2018-11-10 at 12.42.44 PM.png

        thanks!!

        For XCode 8 you need xcpretty. I'm not sure it's required for XCode 10 but you might need it too.

        Link Preview Image
        GitHub - xcpretty/xcpretty: Flexible and fast xcodebuild formatter

        Flexible and fast xcodebuild formatter. Contribute to xcpretty/xcpretty development by creating an account on GitHub.

        favicon

        GitHub (github.com)

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

          NOt HISE specific, but I need some help compiling vstPluginHost on Mac.
          I'm getting an error, but not sure where to start looking:
          0_1542126201098_Screen Shot 2018-11-13 at 11.20.57 AM.png

          Dan Korneff - Producer / Mixer / Audio Nerd

          1 Reply Last reply Reply Quote 0
          • 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

                              45

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              101.9k

                              Posts