Am Freitag, den 03.02.2012, 19:37 +0100 schrieb Renato:
> On Fri, 03 Feb 2012 15:30:47 +0100
> hermann <brummer-@web.de> wrote:
>
> > Am Freitag, den 03.02.2012, 15:17 +0100 schrieb Renato Budinich:
> > > Forgot to send to list also:
> > >
> > > On Fri, 3 Feb 2012 14:48:37 +0100
> > > Nick Copeland <nickycopeland@hotmail.com> wrote:
> > >
> > > >
> > > > You probably need something like -I/usr/lib/faust which will give
> > > you
> > > > the final path of /usr/lib/faust/gui/FUI.h, you might also want to
> > > > try -I. if the headerfiles are also in $CWD/gui Either way, I am
> > > > not certain you would find it with -L/-l (upper/lower case)
> > > > sinceit
> > > looks
> > > > like an include file rather than a library.
> > > >
> > >
> > > ok, it seems it gets past that but I get another error:
> > >
> > > $ g++ -I/usr/lib/faust -o simple simple.cpp
> > > In file included from simple.cpp:48:0:
> > > /usr/lib/faust/gui/faustqt.h:34:24: fatal error: QApplication: No
> > > such file or directory
> > > compilation terminated.
> > >
> >
> > $ locate QApplication
> > /usr/include/qt4/QtGui/QApplication
> >
> > -I/usr/include/qt4/QtGui/
> >
>
> ok, so I ended up with this:
>
> $ g++ -I/usr/lib/faust -I/usr/include/QtGui -I/usr/include/QtCore -o simple simple.cpp
> In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:62:0,
> from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/algorithm:63,
> from /usr/include/QtCore/qglobal.h:68,
> from /usr/include/QtCore/qnamespace.h:45,
> from /usr/include/QtCore/qobjectdefs.h:45,
> from /usr/include/QtCore/qobject.h:47,
> from /usr/include/QtCore/qcoreapplication.h:45,
> from /usr/include/QtGui/qapplication.h:45,
> from /usr/include/QtGui/QApplication:1,
> from /usr/lib/faust/gui/faustqt.h:34,
> from simple.cpp:48:
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:358:41: error: macro "max" passed 3 arguments, but takes just 2
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:369:41: error: macro "min" passed 3 arguments, but takes just 2
> In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:62:0,
> from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/algorithm:63,
> from /usr/include/QtCore/qglobal.h:68,
> from /usr/include/QtCore/qnamespace.h:45,
> from /usr/include/QtCore/qobjectdefs.h:45,
> from /usr/include/QtCore/qobject.h:47,
> from /usr/include/QtCore/qcoreapplication.h:45,
> from /usr/include/QtGui/qapplication.h:45,
> from /usr/include/QtGui/QApplication:1,
> from /usr/lib/faust/gui/faustqt.h:34,
> from simple.cpp:48:
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected unqualified-id before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected ‘)’ before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected ‘)’ before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected ‘)’ before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected initializer before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:358:5: error: template declaration of ‘const _Tp& std::max’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected unqualified-id before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected ‘)’ before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected ‘)’ before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected ‘)’ before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected initializer before ‘const’
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:369:5: error: template declaration of ‘const _Tp& std::min’
> In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/algorithm:63:0,
> from /usr/include/QtCore/qglobal.h:68,
> from /usr/include/QtCore/qnamespace.h:45,
> from /usr/include/QtCore/qobjectdefs.h:45,
> from /usr/include/QtCore/qobject.h:47,
> from /usr/include/QtCore/qcoreapplication.h:45,
> from /usr/include/QtGui/qapplication.h:45,
> from /usr/include/QtGui/QApplication:1,
> from /usr/lib/faust/gui/faustqt.h:34,
> from simple.cpp:48:
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)’:
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:3285:26: error: expected unqualified-id before ‘(’ token
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’:
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:3308:26: error: expected unqualified-id before ‘(’ token
>
>
> BTW simple.dsp consists of:
>
> process = _,_*2;
>
>
try this :
mkdir ./simple
faust -a jack-qt.cpp simple.dsp -o ./simple/simple.dsp.cpp
cd ./simple/
/usr/bin/qmake-qt4 -project "" "INCLUDEPATH+=/usr/lib/faust"
"INCLUDEPATH+=/usr/lib/faust/gui" "INCLUDEPATH+=/usr/lib/faust/osclib"
"LIBS+=-ljack " "HEADERS+=/usr/lib/faust/gui/faustqt.h"
/usr/bin/qmake-qt4
make -C .
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Feb 4 00:15:02 2012
This archive was generated by hypermail 2.1.8 : Sat Feb 04 2012 - 00:15:02 EET