Hise source code build fails in Xcode - Macbook M1 Pro
-
@Giuseppe You need to use the develop branch, currently you are using the master branch
-
@d-healey Thanks. Downloaded from the develop branch, having the same issue though. Also , both the versions from the master branch as develop come with a damaged ProJucer file, I copied and pasted from a separate download of Juce
-
@Giuseppe You can't use IPP on an M1 Mac. You need to disable it in Projucer.
-
@d-healey Ok, I'have disabled the IPPs from Projucer and deleted all the lines referring to them as suggested on GitHub. Now I have this big Parse Issue, including many items all referring to the hi_core module (.h refers to C++ header? Out of curiosity). I'll paste just a part here as it's long and doesn't fit in the whole screen width.
-
@Giuseppe Did you clean the build folder before rebuilding? What architectures are enabled in Projucer?
-
@d-healey Succeeded! I have disabled the arm options and deleted all the previous builds. Hise crashed the first time I opened it (I just clicked something random on the master chain), tried to open it again and it seems to work (toying with interface controls right now). Thanks very much David
-
@d-healey I'm still having an issue with the release build on my M1 with Monterey with the error 'Command Ld failed with a nonzero exit code'. I see that everything builds for release except Link HISE(x86_64)
I'm using the Dev branch and x86_64 architecture for the standalone. Also default architecture is set to that of build machine.
USE_IPP is disabled in the hi_core module and there's nothing in the header search paths.
Thanks for any help,
James -
@James I'm guessing your on a version of xcode newer than 13.2.1?
-
@d-healey Hi David. Yes 13.4.
-
@James Use Xcode 12, XCode 13 has some weird issues that I don't want to spend time investigating. Monterey doesn't support Xcode 12 officially (LOL), so you have to launch it from the terminal each time you want to use it (double LOL).
-
Xcode 13.2.1 works fine on Monterey.
-
@d-healey Ok cool. Just downloading 13.2.1. I'll see what happens!
-
@d-healey @Christoph-Hart Release and Debug versions compiled successfully on 13.2.1! Thanks for the help.
-
@James Good to know. It's so annoying to start Xcode from terminal...