View Single Post
Old 09-15-10, 10:46 AM   #314
Registered User
Join Date: Oct 2008
Posts: 98
Default Re: VDPAU testing tool

Originally Posted by moriarty00 View Post
Can anyone help? I can't get this to install. I'm running Ubuntu 10.04, and I'm new to installing things without apt. I installed libqt4-dev, and was able to sudo qmake-qt4 without error, but then:

(/usr/local/src/qvdpautest-0.5.1)$ sudo make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../share/qt4/mkspecs/linux-g++ -I. -I../../../include/qt4/QtCore -I../../../include/qt4/QtGui -I../../../include/qt4 -I. -o vdpauwidget.o vdpauwidget.cpp
In file included from vdpauwidget.h:8,
from vdpauwidget.cpp:9:
vdpaucontext.h:7:29: error: vdpau/vdpau_x11.h: No such file or directory
In file included from vdpauwidget.h:8,
from vdpauwidget.cpp:9:
vdpaucontext.h:24: error: ‚VdpDevice‚ does not name a type
vdpaucontext.h:29: error: ‚VdpDecoderProfile‚ has not been declared
vdpaucontext.h:38: error: ISO C++ forbids declaration of ‚VdpGetErrorString‚ with no type
vdpaucontext.h:38: error: expected ‚;‚ before ‚*‚ token

...and so on.

Thanks in advance!
You need to have the VDPAU headers installed. They are no longer distributed with the driver in the 260 series. If you have that, you need to have libvdpau-devel installed (or what ever the package is called on ubuntu). If you are using your distribution's packages for the nvidia driver, you very likely also need that, regardless of driver version.
Lysius is offline   Reply With Quote