HISE Logo Forum
    • Categories
    • Register
    • Login

    Compiling HISE with Faust on Linux

    Scheduled Pinned Locked Moved General Questions
    faustcompilelinuxlinux-debian
    12 Posts 6 Posters 636 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.
    • oskarshO
      oskarsh
      last edited by

      I am trying to play around with Faust in HISE.
      I am running Ubuntu 22.04
      I installed faust manually using this Guide:

      $faust --version
      FAUST Version 2.52.6
      

      I am using the latest HISE develop branch commit
      My projucer file is set up according to this article:

      f61c4259-fd31-482d-8811-08390b6cc257-image.png

      Am I linking the External Library correctly?
      5b3d372c-ea0b-4078-9b1a-793daaaf897c-image.png

      I am getting a linking error:

      Linking HISE Standalone - App
      /usr/bin/ld: cannot find -lfaust: No such file or directory
      

      @sletz do I need to compile faust with staticlinking or dynamiclinking in order for this command to work?

      Any help is greatly appreciated!

      Christoph HartC bendursoB 2 Replies Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @oskarsh
        last edited by

        @oskarsh No idea about linux, but it seems that you have not specified the library directory to the linker.

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

          I would suggest compiling in dynamiclinking, so make all && sudo make install
          But hopefully @etXzat can help here.

          1 Reply Last reply Reply Quote 0
          • E
            etXzat
            last edited by

            Hi oskarsh,

            I guess Ubuntu is packaging the Faust compiler separately from the library we're using.
            You can try installing the libfaust2 package.

            On Linux there is no need to specify the library path. Your package manager makes sure it installs the library where the compiler/linker can find it ;)

            1 Reply Last reply Reply Quote 0
            • oskarshO
              oskarsh
              last edited by

              @etXzat Yes Ubuntu has some quirks when it comes to installing some packages, that is why I build from source and installed in manually.
              I want to avoid installing from the official repository since they have outdated versions, see:
              https://launchpad.net/ubuntu/+source/faust
              latest current stable is 2.41

              @sletz
              make all && sudo make install solved my issues! Thank you very much.

              1 Reply Last reply Reply Quote 0
              • bendursoB
                bendurso @oskarsh
                last edited by

                I'm getting this same error when trying to build Hise with Faust on Linux.

                Linking HISE Standalone - App
                /usr/bin/ld: cannot find -lfaust: No such file or directory
                

                Using make all && sudo make install to install Faust didn't work for me. Any ideas?

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

                  @bendurso Use my fork :)

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

                  bendursoB 1 Reply Last reply Reply Quote 0
                  • bendursoB
                    bendurso @d.healey
                    last edited by

                    @d-healey I think the error is related to the installation or linking of Faust on my system. That would fix the issue?

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

                      @bendurso said in Compiling HISE with Faust on Linux:

                      I think the error is related to the installation or linking of Faust on my system

                      How did you install it?

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

                      bendursoB 1 Reply Last reply Reply Quote 0
                      • bendursoB
                        bendurso @d.healey
                        last edited by

                        @d-healey Following the same guide as oskarsh:

                        git clone https://github.com/grame-cncm/faust.git
                        cd faust
                        make all && sudo make install
                        
                        d.healeyD 2 Replies Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @bendurso
                          last edited by

                          @bendurso If you're on a Debian based distro use the package that's in the distro's repo.

                          sudo apt update
                          sudo apt install faust

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

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

                            @bendurso btw, did you see that I published on Patreon today a video showing how to compile HISE on Linux with Faust?

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

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

                            17

                            Online

                            1.7k

                            Users

                            11.9k

                            Topics

                            103.6k

                            Posts