Forum
    • Categories
    • Register
    • Login

    Compiling HISE with Faust issue (Linux)

    Scheduled Pinned Locked Moved General Questions
    44 Posts 3 Posters 251 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.
    • David HealeyD
      David Healey @toxonic
      last edited by David Healey

      @toxonic Does your symlink of libfaust.so point to libfaust.so.2?

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      1 Reply Last reply Reply Quote 0
      • toxonicT
        toxonic @toxonic
        last edited by

        @toxonic yeah:

        ls -l /usr/local/lib/libfaust.so
        lrwxrwxrwx 1 root root 28 Jan 13 15:02 /usr/local/lib/libfaust.so -> /usr/local/lib/libfaust.so.2
        
        
        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @toxonic
          last edited by

          @toxonic Hmmm, what about adding a symlink here /usr/lib/x86_64-linux-gnu/libfaust.so to point to it as well?

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          toxonicT 1 Reply Last reply Reply Quote 0
          • toxonicT
            toxonic @David Healey
            last edited by

            @David-Healey
            Sorry, I was offline for a while! Yeah, crazy — it worked! For whatever reason, it’s compiling now!
            Still the sameversion number like the master branch, is this correct?
            Screenshot from 2026-01-13 18-09-18.png

            well, cc -fuse-ld=mold -Wl,--trace -lfaust -x c /dev/null 2>&1 | grep libfaustnow outputs:

            trace: /usr/lib/x86_64-linux-gnu/libfaust.so
            
            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @toxonic
              last edited by

              @toxonic Yes that commit hash is correct :)

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              toxonicT 1 Reply Last reply Reply Quote 0
              • toxonicT
                toxonic @David Healey
                last edited by

                @David-Healey However, I still have no idea why this works now and apparently runs without any issues for all other Linux users. Is this something that should be changed in the HISE source code, or is it a problem with my system? Any idea?

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @toxonic
                  last edited by

                  @toxonic I've searched the HISE source code for /usr/lib/x86_64-linux-gnu/libfaust.so and there are no hardcoded references so I think it's just that the linker expects it in that location, but I'm not entirely sure.

                  I guess when you install faust using make install it puts it in a different location than if you used your distro's package.

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  toxonicT 1 Reply Last reply Reply Quote 0
                  • toxonicT
                    toxonic @David Healey
                    last edited by toxonic

                    @David-Healey said in Compiling HISE with Faust issue (Linux):

                    I've searched the HISE source code for /usr/lib/x86_64-linux-gnu/libfaust.so and there are no hardcoded references so I think it's just that the linker expects it in that location, but I'm not entirely sure.

                    Yeah, i did that as well ... also just for libfaust and checked each occurence but found nothing!
                    However, thank you for youtr patience! I just would really like to know, how to avoid that in future... ;-)

                    1 Reply Last reply Reply Quote 0
                    • S
                      sletz @toxonic
                      last edited by

                      @toxonic said in Compiling HISE with Faust issue (Linux):

                      Build with LLVM version 14.0.0

                      This LLVM version is very old BTW, I suggest using a more recent one if possible.

                      toxonicT 1 Reply Last reply Reply Quote 1
                      • toxonicT
                        toxonic @sletz
                        last edited by

                        @sletz thanks for your reply, I tried upgrading LLVM via the llvm.shfrom https://apt.llvm.org/, which seemed to work fine, but for some reason llvm-config --version still outputs 14.0.0
                        I checked my LLVM packages in synaptic, and I see that both versions are installed. How can I tell my system to use the most recent version on my system (20)?

                        David HealeyD 1 Reply Last reply Reply Quote 0
                        • David HealeyD
                          David Healey @toxonic
                          last edited by

                          @toxonic You can use update alternatives. Here are instructions for gcc

                          https://askubuntu.com/questions/26498/how-to-choose-the-default-gcc-and-g-version

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          toxonicT 1 Reply Last reply Reply Quote 1
                          • toxonicT
                            toxonic @David Healey
                            last edited by

                            @David-Healey
                            Ahhh, great! :-)

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

                            31

                            Online

                            2.1k

                            Users

                            13.2k

                            Topics

                            114.7k

                            Posts