HISE Logo Forum
    • Categories
    • Register
    • Login

    ..and now we try and build HISE on M1 Monterey...but build errors...

    Scheduled Pinned Locked Moved General Questions
    23 Posts 6 Posters 1.1k 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.
    • LindonL
      Lindon
      last edited by Lindon

      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:

      Screenshot 2022-09-24 at 15.15.00.png

      Anyway.. I set valid architectures like this:
      Screenshot 2022-09-24 at 15.16.07.png

      ..and save and opened in IDE...then ran a compile...unsurprisingly I have errors like this:

      Screenshot 2022-09-24 at 15.09.40.png

      What am I doing wrong?

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon HISE only runs under Rosetta so no need to enable arm architecture.

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey - ok let me turn that off...

          HISE Development for hire.
          www.channelrobot.com

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

            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

            HISE Development for hire.
            www.channelrobot.com

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

              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?

              HISE Development for hire.
              www.channelrobot.com

              Dan KorneffD d.healeyD 2 Replies Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @Lindon
                last edited by

                @Lindon you have to run it as a super user

                sudo gem install xcpretty
                

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  @Lindon Probably sudo is required

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

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey @Dan-Korneff -- thanks yeah got there myself installed now...

                    HISE Development for hire.
                    www.channelrobot.com

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

                      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 Succeeded

                      Saving 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?)
                      Screenshot 2022-09-24 at 16.39.57.png

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Lindon as usual - the newbie problem - didnt have "Show Library folder" turned on for my lindonparker user folder...

                        HISE Development for hire.
                        www.channelrobot.com

                        Dan KorneffD 1 Reply Last reply Reply Quote 1
                        • Dan KorneffD
                          Dan Korneff @Lindon
                          last edited by

                          @Lindon yeah... plugs get compiled to the user library, not system library.

                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                            @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

                            HISE Development for hire.
                            www.channelrobot.com

                            1 Reply Last reply Reply Quote 1
                            • virtuscapeaudioV
                              virtuscapeaudio
                              last edited by

                              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.1

                              Can someone maybe walk me through the build for a 2023 version?

                              Thanks for the help!!

                              ulrikU 1 Reply Last reply Reply Quote 0
                              • ulrikU
                                ulrik @virtuscapeaudio
                                last edited by

                                @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 suppose

                                I 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.1

                                Can someone maybe walk me through the build for a 2023 version?

                                Thanks for the help!!

                                Hise Develop branch
                                MacOs 15.3.1, Xcode 16.2
                                http://musikboden.se

                                1 Reply Last reply Reply Quote 0
                                • virtuscapeaudioV
                                  virtuscapeaudio
                                  last edited by

                                  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.

                                  ulrikU 1 Reply Last reply Reply Quote 0
                                  • virtuscapeaudioV
                                    virtuscapeaudio
                                    last edited by

                                    de7894d1-9d81-4d77-96f9-aeb17a677d43-Screen Shot 2023-08-06 at 9.24.36 AM.png 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?

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

                                      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

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

                                      1 Reply Last reply Reply Quote 0
                                      • ulrikU
                                        ulrik @virtuscapeaudio
                                        last edited by

                                        @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

                                        Hise Develop branch
                                        MacOs 15.3.1, Xcode 16.2
                                        http://musikboden.se

                                        virtuscapeaudioV 1 Reply Last reply Reply Quote 0
                                        • virtuscapeaudioV
                                          virtuscapeaudio @ulrik
                                          last edited by

                                          @ulrik Yes .component, I misspoke.

                                          @d-healey Trying 13.3 instead of 13.4.1...will update asap.

                                          Thank you for the help thus far...it's been 2 days now haha

                                          virtuscapeaudioV 1 Reply Last reply Reply Quote 0
                                          • virtuscapeaudioV
                                            virtuscapeaudio @virtuscapeaudio
                                            last edited by

                                            @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!

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

                                            27

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts