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

Reply via email to