Re: [LAD] basic g++ compiling of faust programs

From: hermann <brummer-@web.de>
Date: Fri Feb 03 2012 - 15:54:54 EET

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@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-dev

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Feb 3 16:15:02 2012

This archive was generated by hypermail 2.1.8 : Fri Feb 03 2012 - 16:15:02 EET