[mythtv] Compile error in latest CVS
Chris Tracy
mythtv at adiemus.org
Sat Feb 14 18:42:36 EST 2004
Just pulled the latest CVS and attempted to compile it. It died on:
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
`freetype-config --cflags` -D_REENTRANT -fPIC -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV
-DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include -I../libmyth
-I.. -Idvbdev -I../libavcodec -I/usr/lib/qt-3.1/include -o
moc_osdlistbtntype.o moc_osdlistbtntype.cpp
In file included from moc_osdlistbtntype.cpp:11:
osdlistbtntype.h:120: error: 'QPtrList' is used as a type, but is not
defined
as a type.
make: *** [moc_osdlistbtntype.o] Error 1
I fixed it by #including <qptrlist.h> in osdlistbtntype.h. Not sure if
this is the correct, but it works for me. (The code compiles)
Chris
More information about the mythtv-dev
mailing list