HISE Logo Forum
    • Categories
    • Register
    • Login

    Build for Faust on XCode

    Scheduled Pinned Locked Moved General Questions
    22 Posts 6 Posters 761 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 @Lindon
      last edited by

      @Lindon I get here:

      Screenshot 2024-08-23 at 11.52.47.png

      and set it to Release with Faust, but the Executable has me stumped - it seems to be saying its going to build HISE debug.app and I just want HISE.app

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon well this is turning into the usual cluster f**k: trying to compile I now get thefollowing errors:

        Screenshot 2024-08-23 at 12.15.18.png

        I am on

        Monterey V12.6.5
        XCode 13.1
        Faust 2.74.6
        Latest HISE

        Any got any ideas?

        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 Do you have to mess around in xcode? I thought you just select Release with Faust in Projucer and hit open in IDE. I haven't built it on MacOS with Faust so I could be totally wrong, but that's all I'm doing on Linux.

          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 I will give that a go.

            HISE Development for hire.
            www.channelrobot.com

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

              @d-healey well that approach builds HISE - without Faust

              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 I will try

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

                LindonL 1 Reply Last reply Reply Quote 0
                • A
                  aaronventure
                  last edited by

                  I personally stay away from the projucer workflow.

                  74939343-d14e-4bbe-9b55-9c9bcb8b02a5-image.png

                  Double click and it gets going. Unless I want to change the source code (I don't... yet), I don't see the point of touching Projucer and building from the IDE UI.

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

                    @d-healey well interestingly dropping back to a HISE build for 12th Aug - builds HISE, but if I set the scheme = Build With Faust I get the errors above.

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @aaronventure interestingly - I tried this and this is what I get:

                      ⚠️ ld: dylib (../../../../tools/faust/lib/libfaust.dylib) was built for newer macOS version (10.15) than being linked (10.13)
                      ▸ Linking HISE
                      ⚠️ ld: ignoring file ../../../../tools/faust/lib/libfaust.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64

                      ❌ Undefined symbols for architecture arm64

                      Symbol: createDSPFactoryFromString(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, char const**, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&, int)
                      Referenced from: scriptnode::faust::faust_jit_node<1>::setupFaust(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&) in lto.o

                      ❌ ld: symbol(s) not found for architecture arm64

                      ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)

                      ** BUILD FAILED **

                      The following build commands failed:
                      Ld /Users/lindonparker/HISE/projects/standalone/Builds/MacOSX/build/HISE\ Standalone.build/Release\ with\ Faust/HISE\ Standalone\ -\ App.build/Objects-normal/arm64/Binary/HISE normal arm64 (in target 'HISE Standalone - App' from project 'HISE Standalone')
                      (1 failure)

                      so I think its the faust version that seems to be built for a newer version of MacOS than I am on....now to find a faust version that works for my OS...

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Lindon ..alternatively I can upgrade the MAcOS - its offering me macOS Sonoma 14.6.1 - does anyone know if that works OK with HISE/faust etc. ?

                        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 I'm using Ventura here. I just went through the build Release with Faust, I had to edit the scheme to select this. Then I went to the Product menu and selected build for Profiling and it built without error - and without Faust!

                          I'm trying some other ideas now, I'll let you know how I get on.

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

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

                            If I choose build for running I get some faust errors, but that's as much progress as I've made. Try Aaron's suggestions - I usually build from the CLI too.

                            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 -yeah tried it - and I end up in the same place. I think I have to upgrade the MacOS to something newer than the faust dynlib was built with..... so I will posta new topic about what I need to do there...

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon yep you need the newer macOS. I'm on 14.5 here, everything works fine. Working with HISE+Faust on the latest develop commit.

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

                                  @aaronventure yep thanks mate.

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  S LindonL 2 Replies Last reply Reply Quote 0
                                  • S
                                    Sofiachloe @Lindon
                                    last edited by

                                    Can anyone give me a quick refresher on what I need to do to build Release for Faust on X Code - I think Im supposed to select the correct ...This API allows to interact with a Faust object and its associated audio engine on iOS at 2048 cupcakes a high level. The idea is that all the audio part of the app is ...This API allows to interact with a Faust object and its associated audio engine on. iOS at a high level. The idea is that all the audio part of the app is ...Install Xcode. You can run the faustmacos sh bash script to install or update Faust in a single command. It will install Homebrew with cmake, pkg-config, ...

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

                                      @Sofiachloe The bots are getting more sophisticated!

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

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

                                        2048 cupcakes is definitely a high level.

                                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                                          @Lindon

                                          Ok so I upgraded to Sonoma 14.6.1, and then Xcode to 15.4, and ran this again, I'm still getting these errors....but read on....

                                          ❌  Undefined symbols for architecture x86_64
                                          > Symbol: deleteDSPFactory(llvm_dsp_factory*)
                                          > Referenced from: scriptnode::faust::faust_jit_wrapper<1>::~faust_jit_wrapper() in lto.o
                                          
                                          
                                          
                                          ❌  ld: symbol(s) not found for architecture x86_64
                                          
                                          
                                          
                                          ❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)
                                          
                                          
                                          

                                          clearly this is x86_64 type errors and Im on an M1 so I set up Projuicer to just build for a valid architecture of arm64, an dit builds successfully...however read on...

                                          So I start HISE and it fails to start because:

                                          Screenshot 2024-08-25 at 17.08.38.png

                                          so it looks like I have to what codesign this? Anyone tell me what they have done?

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          LindonL ulrikU 2 Replies Last reply Reply Quote 0
                                          • LindonL
                                            Lindon @Lindon
                                            last edited by

                                            @Lindon well I sorted it - sort of - using the allow anyway security setting...what a nightmare MacOS is.....

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            18

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.6k

                                            Posts