Failing to build HISE for the first time - Mac OS Sonoma
-
@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?
-
@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.
-
@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 -
@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
-
@Mors Is the JUCE path error still showing? The directory is inside the HISE directory, called JUCE.
-
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.
-
@aaronventure When that first happened i just clicked the 'dont ask me again button'
-
Did you modify any parameters in the project? If so, then try building it EXACTLY as it comes.
-
@clevername27 not at all, just followed the steps on the website!
-
@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.
-
@clevername27 tried and failed unfortunately, don't suppose theres a way to get an older version of xcode?
-
@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?
-
@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
-
@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?
-
@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!
-
@aaronventure no luck
-
@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...
-
@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
-
@Mors Are you getting the same errors even with a more recent version of the source code?
-
@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.