Yes, running faust2qt was a good advice to find out what's wrong.
I neeed to run "moc" on the gui/faustqt.h file:

moc-qt4 /home/kjetil/faust2/architecture/faust/gui/faustqt.h
>moc_faustqt.cpp
 g++ fausttest.cpp moc_faustqt.cpp -I ../bin/packages/faust2/architecture/
`pkg-config --cflags QtGui` `pkg-config --libs QtGui` -ljack



On Wed, Jun 8, 2016 at 12:05 PM, Kjetil Matheussen <k.s.matheus...@gmail.com
> wrote:

> Hmm, I really don't want to run "make install" just to maybe get this
> working:
>
> [kjetil@ttlush test]$ /home/kjetil//faust2/tools/faust2appls/faust2jaqt
> fausttest.dsp
> /home/kjetil/faust2/tools/faust2appls/faust2jaqt: line 10: faustpath: No
> such file or directory
>
> I'll see if I can fix the scripts so that they can run uninstalled.
>
>
>
> On Wed, Jun 8, 2016 at 11:57 AM, Stéphane Letz <l...@grame.fr> wrote:
>
>> Does faust2qt works yes? Is yes then you'll have to understand what
>> faust2qt does that you don’t with the simpler line :  " g++ fausttest.cpp
>> -I ../faust2/architecture/ `pkg-config --cflags QtGui` -ljack `pkg-config
>> --libs QtGui`"
>>
>> Stéphane
>>
>> > Le 8 juin 2016 à 11:52, Kjetil Matheussen <k.s.matheus...@gmail.com> a
>> écrit :
>> >
>> > Hi,
>> >
>> > I'm trying to use the qtgui template in faust2, but getting undefined
>> reference to vtable linker errors.
>> >
>> > As far as I can see, all virtual methods are implemented, so I don't
>> know what's wrong.
>> >
>> > I've tried to uncomment QTGUI::QTGUI and QTGUI::~QTGUI, but that didn't
>> make any difference.
>> > I've also googled the problem, and thought hard, but I haven't been
>> able to solve it.
>> >
>> >
>> > [kjetil@ttlush test]$ faust2 -a jack-qt.cpp fausttest.dsp
>> >fausttest.cpp
>> >
>> > [kjetil@ttlush test]$ g++ fausttest.cpp -I ../faust2/architecture/
>> `pkg-config --cflags QtGui` -ljack `pkg-config --libs QtGui`
>> >
>> > /tmp/cctIcRaD.o: In function `QTGUI::QTGUI()':
>> > fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x62): undefined
>> reference to `vtable for QTGUI'
>> > fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x71): undefined
>> reference to `vtable for QTGUI'
>> > fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x81): undefined
>> reference to `vtable for QTGUI'
>> > fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x91): undefined
>> reference to `vtable for QTGUI'
>> > /tmp/cctIcRaD.o: In function `QTGUI::~QTGUI()':
>> > fausttest.cpp:(.text._ZN5QTGUID2Ev[_ZN5QTGUID5Ev]+0xe): undefined
>> reference to `vtable for QTGUI'
>> >
>> /tmp/cctIcRaD.o:fausttest.cpp:(.text._ZN5QTGUID2Ev[_ZN5QTGUID5Ev]+0x1a):
>> more undefined references to `vtable for QTGUI' follow
>> > collect2: error: ld returned 1 exit status
>> >
>> >
>> ------------------------------------------------------------------------------
>> > What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> > patterns at an interface-level. Reveals which users, apps, and
>> protocols are
>> > consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> > J-Flow, sFlow and other flows. Make informed decisions using capacity
>> > planning reports.
>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e_______________________________________________
>> > Faudiostream-users mailing list
>> > Faudiostream-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
>>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to