Opened 10 years ago

Closed 10 years ago

#7026 closed defect (invalid)

r21756 --enable-vdpau fails to compile

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description (last modified by sphery)

Just tested Slackware64-13 with Nvidia version x86_64-185.18.36 QT 4.5.1 and i can't compile trunk with vdpau i get the following error.

make[2]: Entering directory `/usr/local/src/mythtv/trunk/mythtv/libs/libmythui'
g++ -c -m64 -pipe -march=core2 -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -D_REENTRANT -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DUSING_VDPAU -DUSING_X11 -DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSING_XRANDR -DUSING_QTWEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtSql -I/usr/lib64/qt/include/QtWebKit -I/usr/lib64/qt/include -I/usr/include -I/usr/local -I/usr/src/linux- -I/usr/include -I../libmythdb -I../.. -I.. -I. -I. -o mythmainwindow.o mythmainwindow.cpp
In file included from mythmainwindow.cpp:40:
mythmainwindow_internal.h:29: error: expected class-name before '{' token
mythmainwindow.cpp: In constructor 'MythPainterWindowVDPAU::MythPainterWindowVDPAU(MythMainWindow*, MythMainWindowPrivate*)':
mythmainwindow.cpp:265: error: class 'MythPainterWindowVDPAU' does not have any field named 'QGLWidget'
mythmainwindow.cpp:268: error: 'setAutoBufferSwap' was not declared in this scope
mythmainwindow.cpp: In member function 'void MythMainWindow::Init()':
mythmainwindow.cpp:797: error: cannot convert 'MythPainterWindowVDPAU*' to 'QWidget*' in assignment
make[2]: *** [mythmainwindow.o] Error 1
make[2]: Leaving directory `/usr/local/src/mythtv/trunk/mythtv/libs/libmythui'
make[1]: *** [sub-libmythui-make_default] Error 2
make[1]: Leaving directory `/usr/local/src/mythtv/trunk/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2

Any Ideas?

Change History (2)

comment:1 Changed 10 years ago by anonymous

i got it working if i use the following configure options.

./configure \

--prefix=/usr/local \ --disable-distcc \ --disable-ccache \ --enable-vdpau \ --libdir-name=lib64 \ --dvb-path=/usr/src/linux/include \ --enable-xvmc \ --enable-proc-opt \ --enable-pthreads \ --enable-ffmpeg-pthreads \ --with-bindings=perl \ --disable-xvmcw \ --disable-xvmc-vld \ --disable-firewire \ --disable-dbox2 \ --disable-hdhomerun \ --disable-iptv

comment:2 Changed 10 years ago by sphery

Description: modified (diff)
Resolution: invalid
Status: newclosed
Version: unknownhead
Note: See TracTickets for help on using tickets.