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

From: hermann <brummer-@web.de>
Date: Sat Feb 04 2012 - 07:34:04 EET

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

 

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

This archive was generated by hypermail 2.1.8 : Sat Feb 04 2012 - 08:15:02 EET