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

hermann brummer- at web.de
Sat Feb 4 05:34:04 UTC 2012


Am Samstag, den 04.02.2012, 00:23 +0100 schrieb Renato:
> hmm it seems like I'm getting the same error... BTW I have no
> "qmake-qt4" on my Archlinux system, only "qmake" (which belongs to
> package qt-4.8.0)
> 
> $ make -C .
> make: Entering directory `/home/renato/Documents/faust/simple'
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I.
> -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include
> -I/usr/lib/faust -I/usr/lib/faust/gui -I/usr/lib/faust/osclib -I. -I.
> -o simple.dsp.o simple.dsp.cpp 

BTW, have you snip the output from make -C . ?

Anyhow, I'm not a QT user/programmer, only it works here this way on my
debian/sid. 
I'm using GTK+ 
Maybe others could find out what go's wrong on your system ? 

The way by hand, without qmake/make looks (and work) like this,

mkdir ./simple

faust -a jack-qt.cpp  simple.dsp -o ./simple/simple.dsp.cpp

cd ./simple/

/* possible you also didn't have moc-qt4, so try it with moc only */

/usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/lib/faust
-I/usr/lib/faust/gui -I/usr/lib/faust/osclib -I.
-I. /usr/lib/faust/gui/faustqt.h -o moc_faustqt.cpp

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/lib/faust -I/usr/lib/faust/gui -I/usr/lib/faust/osclib -I. -I. -o
moc_faustqt.o moc_faustqt.cpp

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/lib/faust -I/usr/lib/faust/gui -I/usr/lib/faust/osclib -I. -I. -o
simple.dsp.o simple.dsp.cpp

g++ -Wl,-O1 -o simple simple.dsp.o moc_faustqt.o    -L/usr/lib -ljack
-lQtGui -lQtCore -lpthread

 




More information about the Linux-audio-dev mailing list