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.