HISE Logo Forum
    • Categories
    • Register
    • Login

    Build errors and faust errors on osx, and no "Valid Architectures" field in projucer despite faust docs

    Scheduled Pinned Locked Moved Bug Reports
    11 Posts 2 Posters 376 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.
    • d.healeyD
      d.healey @thrice801
      last edited by

      @thrice801 Your image is too small. Can you post the text instead?

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

      1 Reply Last reply Reply Quote 0
      • T
        thrice801
        last edited by

        @d-healey ya, I also forgot to post the most recent error, but think I'm back to where I was at with it yesterday Screen Shot 2025-04-14 at 4.22.04 PM.png -- text from readme is below

        Before you build HISE, you must remove the architecture target that doesn't match your machine, otherwise the link process with the Faust library will fail. If this is the case, you will see error message like this:

        Warning: Ignoring file ../../../../tools/faust/lib/libfaust.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
        
        Undefined symbol: generateSHA1(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
        Undefined symbol: deleteDSPFactory(llvm_dsp_factory*)
        Undefined symbol: expandDSPFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, char const**, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)
        Undefined symbol: getAllDSPFactories()
        Undefined symbol: expandDSPFromString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, char const**, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)
        Undefined symbol: getDSPMachineTarget()
        

        If that happens, you need to open the Projucer project of HISE (either standalone or plugin), then go to the Exporters -> XCode (macOS) tab on the left. Scroll down to the Valid Architectures item list and untick the architecture that doesn't match your system. So if you're running on a Apple Silicon CPU, untick x86_x64 and if you're on a Intel machine, untick arm64 and arm64e.

        Build HISE with the Faust scheme

        Then click on Save and Open in IDE to open the HISE Standalone project in XCode. Change the scheme via XCode Menu -> Product -> Scheme -> Edit Scheme -> Build Configuration to either Debug with Faust or Release with Faust.

        You don't need to change any flags as the two configurations will contain all required build settings.

        If the compilation went through, you should see a text label in the HISE top bar indicating that Faust is enabled.

        When the build succeeded you need to go into the HISE Settings and set the FaustPath folder to the root folder of your faust installation (HISE_ROOT/tools/faust/), otherwise it won't find the libraries and any Faust compilation will fail.

        T d.healeyD 2 Replies Last reply Reply Quote 0
        • T
          thrice801 @thrice801
          last edited by

          @thrice801 oh wait.. I was clicking on "Release" in the projucer, I just found valid architectures, by clicking on the parent item above it. trying build again

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

            @thrice801 said in Build errors and faust errors on osx, and no "Valid Architectures" field in projucer despite faust docs:

            Before you build HISE, you must remove the architecture target that doesn't match your machine, otherwise the link process with the Faust library will fail. If this is the case, you will see error message like this:

            I'm not sure if this is still true. I did a build the other day on an Intel based system and left both the Intel and Arm architectures enabled - or maybe it only applies to Apple Silicon machines.

            Let's stick to building the Release build (without faust) for now, that way we don't have to worry about faust stuff so much.

            What version of xcode are you using?

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

            T 1 Reply Last reply Reply Quote 0
            • T
              thrice801 @d.healey
              last edited by

              @d-healey 13.4.1 -- and as an update, nothing I did worked, including disabling everything but x86_64 - I've tried clearing build folder, blowing away the xcode project completely so the projucer can create a new xcode project, nothing. Keeps getting stuck on that same error, on the link HISE step. Screen Shot 2025-04-15 at 11.28.42 AM.png

              Also for context, I am trying to build the release version so I can export my plugin to vst so I can test it. When I've tried doing that via the debug build I get a version mismatch error though, and it fails to compile it if I try to force it through. Not sure if there is some workaround I can employ or something.

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

                @thrice801 Are you able to update xcode?

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

                T 1 Reply Last reply Reply Quote 0
                • T
                  thrice801 @d.healey
                  last edited by

                  @d-healey was hoping not to have to because I think I have to update my entire OS to get newer version of xcode iirc which always seems to break things, but may be at that point

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

                    @thrice801 In that case try downgrading xcode. https://xcodereleases.com/

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

                    T 2 Replies Last reply Reply Quote 0
                    • T
                      thrice801 @d.healey
                      last edited by

                      @d-healey oh wait according to that I can update to 14.2, I'll try that thanks

                      1 Reply Last reply Reply Quote 0
                      • T
                        thrice801 @d.healey
                        last edited by

                        @d-healey success! (sort of, exporting still not working but will post separately). Thanks for the help

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

                        24

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.3k

                        Posts