HISE Logo Forum
    • Categories
    • Register
    • Login

    Compiling HISE with Faust on Linux

    Scheduled Pinned Locked Moved General Questions
    faustcompilelinuxlinux-debian
    5 Posts 4 Posters 473 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!

      breathing HISE

      Christoph HartC 1 Reply 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.

              breathing HISE

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

              49

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts