[mythtv-users] Compiling VDPAU into Mythtv .22 trunk not working for me (Compiler error)

John Nissley jnissley at nissley.org
Fri Sep 25 18:46:03 UTC 2009


I am able to successfully compile without the vdpau option but receive errors when using the vdpau compile option.

I am running Fedora 11 on two be/fe mythtv boxes.  One is a virgin install of Fedora 11 (only a few weeks old) and the there one has been running Fedora 11 since it came out.

Back end #1 is running the kmod nvidia drivers
$ rpm -qa | grep nvidia
kmod-nvidia-2.6.30.5-43.fc11.x86_64-185.18.36-1.fc11.1.x86_64
xorg-x11-drv-nvidia-libs-185.18.36-1.fc11.x86_64
xorg-x11-drv-nvidia-devel-185.18.36-1.fc11.x86_64
xorg-x11-drv-nvidia-185.18.36-1.fc11.x86_64

Back end #2 is running the ATRPMS nvidia drivers
$ rpm -qa | grep nvidia
nvidia-graphics-helpers-0.0.29-30.fc11.x86_64
nvidia-graphics185.18.36-libs-185.18.36-116.fc11.x86_64
nvidia-graphics-devices-1.0-6.fc11.noarch
nvidia-graphics185.18.36-kmdl-2.6.30.5-43.fc11-185.18.36-116.fc11.x86_64
nvidia-graphics185.18.36-185.18.36-116.fc11.x86_64
nvidia-graphics185.18.36-devel-185.18.36-116.fc11.x86_64

Here is the error I receive when trying to compile with the vdpau switch turned on.
make[2]: Entering directory `/mythtv/trunk/mythtv/libs/libmythui'
g++ -c -m64 -pipe -march=k8 -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DUSING_VDPAU -DUSING_X11 -DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSING_XRANDR -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtWebKit -I/usr/include -I/usr/include -I/usr/local -I../libmythdb -I../.. -I.. -I/usr/X11R6/include -I. -o mythpainter_vdpau.o mythpainter_vdpau.cpp
mythpainter_vdpau.cpp:15:25: error: vdpau/vdpau.h: No such file or directory
mythpainter_vdpau.cpp:16:29: error: vdpau/vdpau_x11.h: No such file or directory
^Cmake[2]: *** Deleting file `mythpainter_vdpau.o'

Immediately I think that I must be missing a path to the vdpau.h and vdpau_x11.h files
Back end #2
# find / -name vdpau.h
/mythtv/trunk/mythtv/libs/libavcodec/vdpau.h
/usr/include/nvidia-graphics-185.18.36/vdpau/vdpau.h
Back end #1
# find / -name vdpau.h
/usr/include/nvidia/vdpau/vdpau.h
/mythtv/trunk/mythtv/libs/libavcodec/vdpau.h

I know my problem is that the compiler can not find the vdpau header files but how do I fix that?
Thanks in advance for the assistance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090925/0ad9e993/attachment-0001.htm>


More information about the mythtv-users mailing list