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.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.
    • A
      aaronventure @Mors
      last edited by aaronventure

      @Mors
      Okay, imagine you have a big box of LEGO bricks. Each time you add new bricks or change how they're put together, that's like making changes in a project on the computer. This project lives in two main boxes: one is called "develop," where all the new changes and cool updates are added first, and the other is called "master," where the changes go only after they're sure everything works really well together, like when they're ready to show it to everyone.

      Now, imagine a friend named Chris is building a super special LEGO set version 4.0, but it's not finished yet, so we don't know when it will be ready to play with.

      It's usually more fun to play with the "develop" box because it has all the latest pieces and updates. Sometimes, a piece might not fit right (like how sometimes the new changes don't work on all computers), but you can just swap it with another piece from a little while ago that does fit, and keep playing.

      To make sure you can play with these LEGO bricks on your computer, there's a tool called Fork. It's like a magic book that shows you how to clone (or copy) Chris's LEGO set so you can have it on your computer. You just need to tell the magic book where Chris keeps his LEGO set online (that's the link to HISE), and it will copy everything for you.

      After copying, you can use the magic book to see all the new LEGO pieces Chris and others add to the "develop" box. If you see a piece you like, you can easily grab it and add it to your set, making sure you always have the coolest and latest LEGO set to play with. And if Chris adds something new, the magic book will show you, so you can always have the best LEGO set.

      Though this might be NSFK, 5-year-olds can still be dumb and choke on LEGO.

      I forgot to add that you need to install git first. https://git-scm.com/downloads

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

        @aaronventure Okay i get that thank you! My problem is still the building failing for HISE, you mentioned ' (unlike the latest commit which is not building on MacOS, but you can just roll to the previous one and keep doing it until you find the one that does.) How do i roll to the previous and keep trying? Are you referring to going back releases 3.6.2, then trying 3.6.1 etc etc until it works? Or are you saying there's some other software i should download to do this?

        d.healeyD A 2 Replies Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post

                                            23

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts