Compiling HISE with Faust on Linux
-
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:Am I linking the External Library correctly?
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!
-
@oskarsh No idea about linux, but it seems that you have not specified the library directory to the linker.
-
I would suggest compiling in dynamiclinking, so
make all && sudo make install
But hopefully @etXzat can help here. -
Hi oskarsh,
I guess Ubuntu is packaging the Faust compiler separately from the library we're using.
You can try installing thelibfaust2
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 ;)
-
@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 is2.41
@sletz
make all && sudo make install
solved my issues! Thank you very much. -
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?
-
@bendurso Use my fork :)
-
@d-healey I think the error is related to the installation or linking of Faust on my system. That would fix the issue?
-
@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?
-
@d-healey Following the same guide as oskarsh:
git clone https://github.com/grame-cncm/faust.git cd faust make all && sudo make install
-
@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
-
@bendurso btw, did you see that I published on Patreon today a video showing how to compile HISE on Linux with Faust?