View Single Post
Old 05-26-09, 03:06 PM   #18
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Default Re: VDPAU testing tool

When I run the make command, I get the following errors:


Code:
/Desktop/qvdpautest-0.1$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -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 vdpaucontext.h:6,
                 from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
/usr/include/vdpau/vdpau_x11.h:44:22: error: X11/Xlib.h: 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 vdpaucontext.h:6,
                 from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
/usr/include/vdpau/vdpau_x11.h:122: error: typedef ‘VdpDeviceCreateX11’ is initialized (use __typeof__ instead)
/usr/include/vdpau/vdpau_x11.h:122: error: ‘Display’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:122: error: ‘display’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:123: error: expected primary-expression before ‘int’
/usr/include/vdpau/vdpau_x11.h:125: error: expected primary-expression before ‘*’ token
/usr/include/vdpau/vdpau_x11.h:125: error: ‘device’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:126: error: expected primary-expression before ‘*’ token
/usr/include/vdpau/vdpau_x11.h:126: error: ‘get_proc_address’ was not declared in this scope
/usr/include/vdpau/vdpau_x11.h:134: error: ‘VdpDeviceCreateX11’ does not name a type
/usr/include/vdpau/vdpau_x11.h:158: error: ‘Drawable’ has not been declared
In file included from vdpauwidget.h:6,
                 from vdpauwidget.cpp:8:
vdpaucontext.h:17: error: expected `)' before ‘*’ token
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
vdpaucontext.h:28: error: ISO C++ forbids declaration of ‘Display’ with no type
vdpaucontext.h:28: error: expected ‘;’ before ‘*’ token
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:21: error: ‘QString’ does not name a type
vdpauwidget.h:28: 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:
vc1decoder.h:44: error: ISO C++ forbids declaration of ‘QList’ with no type
vc1decoder.h:44: error: expected ‘;’ before ‘<’ token
vdpauwidget.cpp:26: error: expected `)' before ‘*’ token
vdpauwidget.cpp:42: error: ‘QString’ does not name a type
vdpauwidget.cpp: In member function ‘void VdpauWidget::displayFrame(VdpVideoSurface, int, int, double)’:
vdpauwidget.cpp:111: error: ‘width’ was not declared in this scope
vdpauwidget.cpp:111: error: ‘height’ was not declared in this scope
vdpauwidget.cpp: At global scope:
vdpauwidget.cpp:108: warning: unused parameter ‘ratio’
vdpauwidget.cpp:121: error: ‘QString’ does not name a type
vdpauwidget.cpp:206: error: ‘QString’ does not name a type
vdpauwidget.cpp:238: error: ‘QString’ does not name a type
vdpauwidget.cpp:270: error: ‘QString’ does not name a type
vdpauwidget.cpp:320: error: ‘QString’ does not name a type
make: *** [vdpauwidget.o] Error 1
what have I forgotten?
Lemmiwinks is offline   Reply With Quote