..and now we try and build HISE on M1 Monterey...but build errors...
-
So it arrived ahead of time, so I unboxed my all new M1 Mac mini, and set it up...
I downloaded and installed XCode 13.1, then downloaded the latest HISE source.
I added the VST/ASIO SDKs as usual to the HISE folder structure,
Stated up projucer - got past the "unknown developer not running it" issues, and looked at the project file in projucer.
I couldn't see where to set the HISE source path anywhere any more...so my projucer looks like this:
Anyway.. I set valid architectures like this:
..and save and opened in IDE...then ran a compile...unsurprisingly I have errors like this:
What am I doing wrong?
-
@Lindon HISE only runs under Rosetta so no need to enable arm architecture.
-
@d-healey - ok let me turn that off...
-
Okay well that was nightmarish...
I had to delete the HISE folder and reinstall it, but now it builds properly.. thanks Dave. As usual you are a god-send.
LMP
-
Okay ever onwards - now trying to compile a prject in the new HISE gives me these errors:
Finished saving: Visual Studio 2017 Finished saving: Xcode (macOS) Finished saving: Xcode (iOS) Finished saving: Linux Makefile Compiling Instrument plugin DoubleScoop ... /Volumes/Untitled/DoubleScoop/Binaries/batchCompileOSX: line 7: xcpretty: command not found objc[4719]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1ffae7620) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10954c598). One of the two will be used. Which one is undefined. objc[4719]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1ffae7670) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10954c5e8). One of the two will be used. Which one is undefined. objc[4719]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1ffae76c0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10954c638). One of the two will be used. Which one is undefined. objc[4719]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x1ffae7710) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10954c688). One of the two will be used. Which one is undefined. objc[4719]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x1ffae7760) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10954c6d8). One of the two will be used. Which one is undefined. objc[4719]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x1ffae77b0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10954c728). One of the two will be used. Which one is undefined. ** BUILD FAILED ** The following build commands failed: CompileC /Volumes/Untitled/DoubleScoop/Binaries/Builds/MacOSX/build/DoubleScoop.build/Release/DoubleScoop\ -\ Shared\ Code.build/Objects-normal/x86_64/include_hi_streaming.o /Volumes/Untitled/DoubleScoop/Binaries/JuceLibraryCode/include_hi_streaming.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'DoubleScoop - Shared Code' from project 'DoubleScoop') (1 failure) Saving session... ...saving history...truncating history files... ...completed. Deleting expired sessions...none found. [Process completed]
Well I dont have xcpretty for a start - so I open a terminal window and type:
gem install xcpretty
..and get this back:
lindonparker@Mac-mini ~ % gem install xcpretty Fetching xcpretty-0.3.0.gem Fetching rouge-2.0.7.gem ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory. lindonparker@Mac-mini ~ %
..anyone know how to do this with the correct permissions?
-
@Lindon you have to run it as a super user
sudo gem install xcpretty
-
@Lindon Probably sudo is required
-
@d-healey @Dan-Korneff -- thanks yeah got there myself installed now...
-
Okay - wellI had to remember to turn ipp OFF... but it seems to have worked...and compiles are quicker - though linking not so much(maybe a bit but not a great deal).
So it tells me:
▸ Compiling include_juce_audio_plugin_client_VST3.cpp
▸ Compiling include_juce_audio_plugin_client_VST3.cpp
▸ Linking DoubleScoop
▸ Linking DoubleScoop
▸ Touching DoubleScoop.vst3 (in target 'DoubleScoop - VST3' from project 'DoubleScoop')
▸ Build SucceededSaving session...
...copying shared history...
...saving history...truncating history files...
...completed.[Process completed]
I went looking for my .vst in the usual places, the Library/...etc folders and couldnt find it , ..all the lib sub folders are empty of vsts... any clues?
Heres mypref settings:
(I can probably turn off support 32 bit mac no?)
-
@Lindon as usual - the newbie problem - didnt have "Show Library folder" turned on for my lindonparker user folder...
-
@Lindon yeah... plugs get compiled to the user library, not system library.
-
@Dan-Korneff - yeah I sorta knew that - but I was wandering around looking in System/Library and HD/Library knowing there were a couple of places where this thing can get put...and I obviously have "Show Library folder" turned ON in the old mac, but new machine (my 2nd ever mac) and I forgot I needed to do that...fixed now tho!
- Thanks for all your Mac based support.
lindon
-
Greetings! I’m trying to compile HISE from the ground up using the Git clone from Christoph’s repository. (I think I’m using the correct one, at least)
A build was successful but when I try to export as AU or standalone, all I see or get is an Xcode project…am I supposed to do something after this step?
I started over and tried again and now I’m getting errors and build fails…not sure what I did wrong.
MacOS 12.2
Apple M1 MBP 14
Xcode 13.1Can someone maybe walk me through the build for a 2023 version?
Thanks for the help!!
-
@virtuscapeaudio said in ..and now we try and build HISE on M1 Monterey...but build errors...:
Greetings! I’m trying to compile HISE from the ground up using the Git clone from Christoph’s repository. (I think I’m using the correct one, at least)
A build was successful but when I try to export as AU or standalone, all I see or get is an Xcode project…am I supposed to do something after this step?
When I export to au, vst or standalone, the terminal automatically launch and compiles the plugin or stand alone
Does your terminal launch?
If not you should be able to load the Xcode project and build it inside Xcode I supposeI started over and tried again and now I’m getting errors and build fails…not sure what I did wrong.
What did try over and over, compile a plugin, build Hise or...?
MacOS 12.2
Apple M1 MBP 14
Xcode 13.1Can someone maybe walk me through the build for a 2023 version?
Thanks for the help!!
-
Yes the terminal opened and I do actually see the info-AU.plst file but cannot locate the actual .AU for some reason. Does it get sent to the components folder after Terminal compiles?
I want to build HISE again as It might have been the Debug version by accident.
-
Screen Shot 2023-08-06 at 9.24.36 AM
I simply cloned the repository, opened Projucer in GPL mode, opened the Standalond HISE project, save and open in IDE, and chose Build for Profiling.
any ideas?
-
That error means you need to use a different version of xcode because that one is buggy.
The au plugin will have a .component extension, not .au
-
@virtuscapeaudio said in ..and now we try and build HISE on M1 Monterey...but build errors...:
Yes the terminal opened and I do actually see the info-AU.plst file but cannot locate the actual .AU for some reason. Does it get sent to the components folder after Terminal compiles?
Yes, probably in User/Library/Audio/Plug-Ins(Components
-
-
@virtuscapeaudio Same error on Xcode 13.3
I downloaded Xcode 14.3 but won't run on OS12.2
Downloading Xcode 12 and lets see.
I'm trying everything until I get HISE built!