HISE Logo Forum
    • Categories
    • Register
    • Login

    Failing to build HISE for the first time - Mac OS Sonoma

    Scheduled Pinned Locked Moved General Questions
    36 Posts 7 Posters 1.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.
    • d.healeyD
      d.healey @Mors
      last edited by

      @Mors To follow Aaron's steps you need to install git and (optionally) a separate app to interact with git. Then you need to learn and understand git. I think this is a bit much for a beginner.

      So instead you can download the commit Aaron is referring to from this link - https://github.com/christophhart/HISE/archive/0d0251e59052c121d1b12c686254fa7ba77d27f5.zip

      Make sure you delete all copies of the HISE code that you've already downloaded, you should only ever have one on your system at a time. Once you get comfortable building HISE you should dig into using git to easily move around different versions.

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

      MorsM 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @Mors
        last edited by

        @Mors Here you can see the main releases https://github.com/christophhart/HISE/commits/master/

        Here you can see the latest versions which still haven't been merged to the master and signed off as "main versions"https://github.com/christophhart/HISE/commits/develop

        What you need to do is get the commit I mentioned, and that one is on the develop branch, so the second link.

        HISE gets updated very often and as such you ideally want to be up to date. Sometimes you might run into a bug or request a feature and that can be fixed or added anytime from a few hours to a few weeks, usually a few days. You don't want to wait months for a "release" on the master branch in order to get that.

        However, using HISE by downloading the source from Github for every new commit is beyond masochistic. Instead, download Git https://git-scm.com/downloads (you'll use it for source control anyway), then I suggest you download Fork https://fork.dev/ (it has a free evaluation including private repos unlike GitKraken), clone the HISE repository and use it that way. Fork is just a user interface for Git so you don't have to be a hardcore and use the command line.

        Then you can click on Fetch so that it loads all the branches, and move over to the develop branch.

        You'll be greeted with a scene like in my screenshot. What you see are the commits on the develop branch. You can see what was changed in that commit, what's the timestamp etc. Think of commits like snapshots of the entire repository created by referring to all the previous ones, all the way from the initial commit, and only storing changes. If you double click a commit, your repository will time-travel to that state.

        This will explain version control.
        https://youtu.be/2ReR1YJrNOM
        https://youtu.be/IeXhYROClZk

        1 Reply Last reply Reply Quote 0
        • MorsM
          Mors @d.healey
          last edited by

          @d-healey Yeah I tried with that commit but still getting build failed, perhaps I may have bit off more than I can chew with diving in this deep haha

          A 1 Reply Last reply Reply Quote 0
          • A
            aaronventure @Mors
            last edited by

            @Mors Is the JUCE path error still showing? The directory is inside the HISE directory, called JUCE.

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

              If you just want to play around with HISE without building it yourself, you can always download the prebuilt version - https://github.com/christophhart/HISE/releases/download/3.6.2/HISE.3.6.2.pkg

              But this is from last September so won't have the latest features, bug fixes, and bugs. And you won't be able to compile your own projects until you're able to compile HISE.

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

              1 Reply Last reply Reply Quote 0
              • MorsM
                Mors @aaronventure
                last edited by

                @aaronventure When that first happened i just clicked the 'dont ask me again button'

                1 Reply Last reply Reply Quote 0
                • clevername27C
                  clevername27
                  last edited by

                  Did you modify any parameters in the project? If so, then try building it EXACTLY as it comes.

                  MorsM 1 Reply Last reply Reply Quote 0
                  • MorsM
                    Mors @clevername27
                    last edited by

                    @clevername27 not at all, just followed the steps on the website!

                    clevername27C 1 Reply Last reply Reply Quote 0
                    • clevername27C
                      clevername27 @Mors
                      last edited by

                      @Mors As I recall, you cannot build 3.6.2 with Xcode 15. You need either 14, or the Development branch, which contains a modification to allow building with 15. If you go that route, don't include anything past February 11th, as the current Dev won't build on macOS.

                      MorsM 1 Reply Last reply Reply Quote 0
                      • MorsM
                        Mors @clevername27
                        last edited by

                        @clevername27 tried and failed unfortunately, don't suppose theres a way to get an older version of xcode?

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

                          @Mors said in Failing to build HISE for the first time - Mac OS Sonoma:

                          don't suppose theres a way to get an older version of xcode?

                          Xcode Releases

                          More than you ever wanted to know™

                          favicon

                          xcodereleases.com (xcodereleases.com)

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

                          MorsM 1 Reply Last reply Reply Quote 0
                          • MorsM
                            Mors @d.healey
                            last edited by

                            @d-healey need an apple developer account, did find a download for an older version but alas, cannot be used on my current OS so i have to use 15

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              aaronventure @Mors
                              last edited by

                              @Mors well you can, right click and open the package, find the command line version in there, that will run. Then, while that is running (you can pin it to the dock), launch the project from projucer.

                              Also, xcodebuild works fine with older versions of Xcode, you can build HISE that way.

                              Btw. you installed xcpretty, right?

                              MorsM 2 Replies Last reply Reply Quote 1
                              • MorsM
                                Mors @aaronventure
                                last edited by

                                @aaronventure I'll try that! and yeah i just followed the instructions and ran the line 'sudo gem install xcpretty' in the terminal, please tell me i did something wrong there haha!

                                1 Reply Last reply Reply Quote 0
                                • MorsM
                                  Mors @aaronventure
                                  last edited by

                                  @aaronventure no luck

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

                                    @Mors said in Failing to build HISE for the first time - Mac OS Sonoma:

                                    @aaronventure no luck

                                    you need to show us the errors you are getting...

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      @Lindon errors are shown in the first screenshot at the top of this page, in terms of using an older version of xcode, i could get it to run from terminal but whenever i tried to open the projucer file into it it just said i need to install the latest version of xcode, wouldnt even recognise it

                                      d.healeyD HISEnbergH 2 Replies Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @Mors
                                        last edited by

                                        @Mors Are you getting the same errors even with a more recent version of the source code?

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

                                        MorsM 1 Reply Last reply Reply Quote 0
                                        • HISEnbergH
                                          HISEnberg @Mors
                                          last edited by

                                          @Mors Had this same issue a few weeks ago. I think there are some issues with Xcode14 and the new mac Chips as I had tried a few different versions and had no success building HISE. I suggest removing any copies of HISE you may have installed already, use the develop branch that @aaronventure recommends on Xcode15, and restart the same process.

                                          MorsM 1 Reply Last reply Reply Quote 0
                                          • MorsM
                                            Mors @d.healey
                                            last edited by

                                            @d-healey Yep, same errors everytime!

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

                                            20

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts