[mythtv-commits] Ticket #8372: Problem compiling mythtv 0.22

MythTV mythtv at cvs.mythtv.org
Tue Apr 20 23:24:38 UTC 2010


#8372: Problem compiling mythtv 0.22
----------------------------------+-----------------------------------------
 Reporter:  pierre42d@…           |        Owner:  ijr       
     Type:  defect                |       Status:  closed    
 Priority:  minor                 |    Milestone:  unknown   
Component:  MythTV - General      |      Version:  0.22-fixes
 Severity:  medium                |   Resolution:  invalid   
  Mlocked:  0                     |  
----------------------------------+-----------------------------------------
Changes (by mdean):

  * priority:  major => minor
  * version:  Unspecified => 0.22-fixes
  * severity:  high => medium


Old description:

> [...]
> cd libmythui/ && make -f Makefile
> make[2]: Entering directory `/tmp/mythtv-0.22/libs/libmythui'
> g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall -Wno-switch
> -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
> -D__STDC_CONSTANT_MACROS -I/usr/local/include/directfb -D_REENTRANT
> -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -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 -DQT_SHARED
> -I/usr/local/Trolltech/Qt-4.5.3/mkspecs/linux-g++ -I.
> -I/usr/local/Trolltech/Qt-4.5.3/include/QtCore
> -I/usr/local/Trolltech/Qt-4.5.3/include/QtNetwork
> -I/usr/local/Trolltech/Qt-4.5.3/include/QtGui
> -I/usr/local/Trolltech/Qt-4.5.3/include/QtOpenGL
> -I/usr/local/Trolltech/Qt-4.5.3/include/QtXml
> -I/usr/local/Trolltech/Qt-4.5.3/include/QtSql
> -I/usr/local/Trolltech/Qt-4.5.3/include/QtWebKit
> -I/usr/local/Trolltech/Qt-4.5.3/include -I/usr/include -I/usr/local
> -I/usr/X11R6/include -I../libmythdb -I../.. -I.. -I/usr/X11R6/include -I.
> -o mythmainwindow.o mythmainwindow.cpp
> In file included from mythmainwindow.cpp:3:
> mythmainwindow_internal.h:10:21: error: QGLWidget: No such file or
> directory
> In file included from mythmainwindow.cpp:3:
> mythmainwindow_internal.h:13: error: expected class-name before '{' token
> mythmainwindow_internal.h:29: error: expected class-name before '{' token
> mythmainwindow.cpp: In constructor
> 'MythPainterWindowGL::MythPainterWindowGL(MythMainWindow*,
> MythMainWindowPrivate*)':
> mythmainwindow.cpp:253: error: class 'MythPainterWindowGL' does not have
> any field named 'QGLWidget'
> mythmainwindow.cpp:256: error: 'setAutoBufferSwap' was not declared in
> this scope
> mythmainwindow.cpp: In constructor
> 'MythPainterWindowVDPAU::MythPainterWindowVDPAU(MythMainWindow*,
> MythMainWindowPrivate*)':
> mythmainwindow.cpp:269: error: class 'MythPainterWindowVDPAU' does not
> have any field named 'QGLWidget'
> mythmainwindow.cpp:272: error: 'setAutoBufferSwap' was not declared in
> this scope
> mythmainwindow.cpp: In member function 'void MythMainWindow::Init()':
> mythmainwindow.cpp:866: error: cannot convert 'MythPainterWindowGL*' to
> 'QWidget*' in assignment
> mythmainwindow.cpp:875: error: cannot convert 'MythPainterWindowVDPAU*'
> to 'QWidget*' in assignment
> mythmainwindow.cpp: In member function 'virtual bool
> MythMainWindow::eventFilter(QObject*, QEvent*)':
> mythmainwindow.cpp:1517: warning: unused variable 'clicked'
> make[2]: *** [mythmainwindow.o] Error 1
> make[2]: Leaving directory `/tmp/mythtv-0.22/libs/libmythui'
> make[1]: *** [sub-libmythui-make_default] Error 2
> make[1]: Leaving directory `/tmp/mythtv-0.22/libs'
> make: *** [sub-libs-make_default-ordered] Error 2

New description:

 {{{
 [...]
 cd libmythui/ && make -f Makefile
 make[2]: Entering directory `/tmp/mythtv-0.22/libs/libmythui'
 g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall -Wno-switch
 -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
 -D__STDC_CONSTANT_MACROS -I/usr/local/include/directfb -D_REENTRANT
 -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -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 -DQT_SHARED
 -I/usr/local/Trolltech/Qt-4.5.3/mkspecs/linux-g++ -I.
 -I/usr/local/Trolltech/Qt-4.5.3/include/QtCore
 -I/usr/local/Trolltech/Qt-4.5.3/include/QtNetwork
 -I/usr/local/Trolltech/Qt-4.5.3/include/QtGui
 -I/usr/local/Trolltech/Qt-4.5.3/include/QtOpenGL
 -I/usr/local/Trolltech/Qt-4.5.3/include/QtXml
 -I/usr/local/Trolltech/Qt-4.5.3/include/QtSql
 -I/usr/local/Trolltech/Qt-4.5.3/include/QtWebKit
 -I/usr/local/Trolltech/Qt-4.5.3/include -I/usr/include -I/usr/local
 -I/usr/X11R6/include -I../libmythdb -I../.. -I.. -I/usr/X11R6/include -I.
 -o mythmainwindow.o mythmainwindow.cpp
 In file included from mythmainwindow.cpp:3:
 mythmainwindow_internal.h:10:21: error: QGLWidget: No such file or
 directory
 In file included from mythmainwindow.cpp:3:
 mythmainwindow_internal.h:13: error: expected class-name before '{' token
 mythmainwindow_internal.h:29: error: expected class-name before '{' token
 mythmainwindow.cpp: In constructor
 'MythPainterWindowGL::MythPainterWindowGL(MythMainWindow*,
 MythMainWindowPrivate*)':
 mythmainwindow.cpp:253: error: class 'MythPainterWindowGL' does not have
 any field named 'QGLWidget'
 mythmainwindow.cpp:256: error: 'setAutoBufferSwap' was not declared in
 this scope
 mythmainwindow.cpp: In constructor
 'MythPainterWindowVDPAU::MythPainterWindowVDPAU(MythMainWindow*,
 MythMainWindowPrivate*)':
 mythmainwindow.cpp:269: error: class 'MythPainterWindowVDPAU' does not
 have any field named 'QGLWidget'
 mythmainwindow.cpp:272: error: 'setAutoBufferSwap' was not declared in
 this scope
 mythmainwindow.cpp: In member function 'void MythMainWindow::Init()':
 mythmainwindow.cpp:866: error: cannot convert 'MythPainterWindowGL*' to
 'QWidget*' in assignment
 mythmainwindow.cpp:875: error: cannot convert 'MythPainterWindowVDPAU*' to
 'QWidget*' in assignment
 mythmainwindow.cpp: In member function 'virtual bool
 MythMainWindow::eventFilter(QObject*, QEvent*)':
 mythmainwindow.cpp:1517: warning: unused variable 'clicked'
 make[2]: *** [mythmainwindow.o] Error 1
 make[2]: Leaving directory `/tmp/mythtv-0.22/libs/libmythui'
 make[1]: *** [sub-libmythui-make_default] Error 2
 make[1]: Leaving directory `/tmp/mythtv-0.22/libs'
 make: *** [sub-libs-make_default-ordered] Error 2
 }}}

--

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


More information about the mythtv-commits mailing list