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

      Hey guys, I just got a Mac to compile my osx projects. It's the first time I've touched a Mac in 15 years, so my troubleshooting skills are zero on this OS.
      I need some help getting HISE up and running on this thing. I've downloaded the latest version of HISE from the develop branch and tried compiling with Xcode 10, but I got some error about not allowing 32bit anymore... so I downgraded to Xcode 8, but getting errors which make the build fail.
      Does any of this make sense to any of you guys?
      0_1541865489084_Screen Shot 2018-11-10 at 10.57.09 AM.png

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @dustbro I think you can use xCode 10 now, Christoph added a checkbox in the project preferences window to disable/enable 32bit compilation on Mac and believe it solves this problem.

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

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

          Yellow stuff is me being lazy. Red stuff is you not having IPP installed ;)

          Dan KorneffD hisefiloH 3 Replies Last reply Reply Quote 3
          • Dan KorneffD
            Dan Korneff @d.healey
            last edited by

            @d-healey I'm trying to compile HISE, not a project. Is there a setting in projucer that would do the same thing?

            Dan Korneff - Producer / Mixer / Audio Nerd

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

              @christoph-hart I'm pretty sure I disabled that in the Projucer settings. Lemme check again

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                @christoph-hart It's disabled
                0_1541869510058_Screen Shot 2018-11-10 at 12.04.11 PM.png

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  Ah, you need to do this:

                  Link Preview Image
                  HISE/README.md at master · christophhart/HISE

                  The open source framework for sample based instruments - HISE/README.md at master · christophhart/HISE

                  favicon

                  GitHub (github.com)

                  Scroll down to compile on osx without IPP.

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

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

                    thanks!!

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    orangeO 1 Reply Last reply Reply Quote 1
                    • 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
                                            • First post
                                              Last post

                                            42

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts