[LAD] basic g++ compiling of faust programs

hermann brummer- at web.de
Fri Feb 3 13:54:54 UTC 2012


Am Freitag, den 03.02.2012, 14:37 +0100 schrieb Renato:
> Hi, just started looking into faust and I've got a very basic question.
> I'm getting this error:
> 
> $ g++ -L/usr/lib/faust simple.cpp -o simple
> simple.cpp:46:21: fatal error: gui/FUI.h: No such file or directory
> compilation terminated.

you must include the path to faust lib also with -I$(LIB)/faust/
were $(LIB) is either /usr/local or /usr, depends on your install path.

When you use the makefile in the example directory, and have installed
faust into usr/ instead into usr/local, you must edit the makefile and
add
LIB := /usr/lib

at the end of the LIB definitions, here I put it into line 8.

greets
hermann
 
> 
> where simple.cpp was generated by:
> $ faust -a jack-qt.cpp simple.dsp -o simple.cpp
> 
> what am I missing? I also tried without the -L option or with -lFUI,
> same error. FUI.h is indeed in /usr/lib/faust/gui/
> 
> best regards, 
> renato
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev






More information about the Linux-audio-dev mailing list