[mythtv-commits] Ticket #7026: r21756 --enable-vdpau fails to compile

MythTV mythtv at cvs.mythtv.org
Tue Oct 6 01:17:19 UTC 2009


#7026: r21756 --enable-vdpau fails to compile
------------------------------+---------------------------------------------
 Reporter:  anonymous         |        Owner:  ijr    
     Type:  defect            |       Status:  closed 
 Priority:  minor             |    Milestone:  unknown
Component:  MythTV - General  |      Version:  head   
 Severity:  low               |   Resolution:  invalid
  Mlocked:  0                 |  
------------------------------+---------------------------------------------
Changes (by mdean):

  * status:  new => closed
  * version:  unknown => head
  * resolution:  => invalid


Old description:

> 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-2.6.29.6/include -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?

New description:

 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-2.6.29.6/include -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?

--

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7026#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list