On Sat, 04 Feb 2012 09:26:48 +0100
hermann <brummer-@web.de> wrote:
> Am Samstag, den 04.02.2012, 06:34 +0100 schrieb hermann:
> > 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
> >
>
> You could also try -fpermissive as compiler option
>
> http://gcc.gnu.org/gcc-4.6/changes.html
>
thanks hermann for your help. never thought compiling such a simple
(haha) program would take 10 lines of g++ commands with options... will
try your tips tomorrow as today is hell here.
best wishes,
renato
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Feb 4 12:15:02 2012
This archive was generated by hypermail 2.1.8 : Sat Feb 04 2012 - 12:15:03 EET