View Single Post
Old 05-31-09, 12:15 PM   #41
Quantumstate
Registered User
 
Join Date: May 2008
Posts: 166
Default Re: VDPAU testing tool

Getting a compile failure:
Code:
# make clean
rm -f moc_vdpauwidget.cpp moc_mainwidget.cpp
rm -f vdpauwidget.o vdpaucontext.o mpegdecoder.o h264decoder.o vc1decoder.o main.o mainwidget.o moc_vdpauwidget.o moc_mainwidget.o
rm -f *~ core *.core
# qmake
# make
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -o vdpauwidget.o vdpauwidget.cpp
vdpauwidget.cpp:5:17: error: QtGui: No such file or directory
vdpauwidget.cpp:6:20: error: QX11Info: No such file or directory
In file included from vdpauwidget.cpp:8:
vdpauwidget.h:4:19: error: QWidget: No such file or directory
In file included from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
vdpaucontext.h:4:19: error: QString: No such file or directory
In file included from vdpauwidget.cpp:9:
mpegdecoder.h:4:17: error: QList: No such file or directory
In file included from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
vdpaucontext.h:18: error: ‘QString’ does not name a type
vdpaucontext.h:21: error: ‘QString’ does not name a type
vdpaucontext.h:25: error: ‘QString’ has not been declared
In file included from vdpauwidget.cpp:8:
vdpauwidget.h:11: error: expected class-name before ‘{’ token
vdpauwidget.h:12: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
vdpauwidget.h:13: error: expected ‘;’ before ‘public’
vdpauwidget.h:15: error: ‘QString’ does not name a type
vdpauwidget.h:16: error: ‘QString’ does not name a type
vdpauwidget.h:17: error: ‘QString’ does not name a type
vdpauwidget.h:18: error: ‘QString’ does not name a type
vdpauwidget.h:19: error: ‘QString’ does not name a type
vdpauwidget.h:20: error: ‘QString’ does not name a type
vdpauwidget.h:22: error: ‘QString’ does not name a type
vdpauwidget.h:29: error: ‘QString’ does not name a type
In file included from vdpauwidget.cpp:9:
mpegdecoder.h:33: error: ISO C++ forbids declaration of ‘QList’ with no type
mpegdecoder.h:33: error: expected ‘;’ before ‘<’ token
mpegdecoder.h:45: error: ISO C++ forbids declaration of ‘QList’ with no type
mpegdecoder.h:45: error: expected ‘;’ before ‘<’ token
In file included from vdpauwidget.cpp:10:
h264decoder.h:44: error: ISO C++ forbids declaration of ‘QList’ with no type
h264decoder.h:44: error: expected ‘;’ before ‘<’ token
In file included from vdpauwidget.cpp:11:
vc1decoder.h:44: error: ISO C++ forbids declaration of ‘QList’ with no type
vc1decoder.h:44: error: expected ‘;’ before ‘<’ token
vdpauwidget.cpp:27: error: expected `)' before ‘*’ token
vdpauwidget.cpp:43: error: ‘QString’ does not name a type
vdpauwidget.cpp: In member function ‘void VdpauWidget::displayFrame(VdpVideoSurface, int, int, double)’:
vdpauwidget.cpp:112: error: ‘width’ was not declared in this scope
vdpauwidget.cpp:112: error: ‘height’ was not declared in this scope
vdpauwidget.cpp: At global scope:
vdpauwidget.cpp:109: warning: unused parameter ‘ratio’
vdpauwidget.cpp:122: error: ‘QString’ does not name a type
vdpauwidget.cpp:221: error: ‘QString’ does not name a type
vdpauwidget.cpp:253: error: ‘QString’ does not name a type
vdpauwidget.cpp:285: error: ‘QString’ does not name a type
vdpauwidget.cpp:317: error: ‘QString’ does not name a type
vdpauwidget.cpp:367: error: ‘QString’ does not name a type
make: *** [vdpauwidget.o] Error 1
Quantumstate is offline   Reply With Quote