Opened 12 years ago

Closed 12 years ago

#5076 closed defect (fixed)

mythtv-qt4 compile failure, xvmctextures.cpp

Reported by: anonymous Owned by: Janne Grunau
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Just FYI:

Fedora 8, fully patched qt4-devel-4.3.3-1.fc8

g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -DSTDC_CONSTANT_MACROS -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 -DUSING_XV -DUSING_XVMC -DUSING_XVMC_PBUFFER -DUSING_OPENGL -DUSING_XVMC_OPENGL -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtSql -I/usr/include/Qt3Support -I/usr/include/Qt3Support -I/usr/include -I/usr/local/include -I/usr/include -I../.. -I.. -I. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/UsageEnvironment/include -I/usr/X11R6/include -I. -I. -o xvmctextures.o xvmctextures.cpp In file included from /usr/include/QtCore/qvariant.h:43,

from /usr/include/QtCore/qmimedata.h:40, from /usr/include/QtGui/qmime.h:40, from /usr/include/QtGui/qevent.h:47, from /usr/include/QtGui/QKeyEvent:1, from osd.h:9, from xvmctextures.cpp:5:

/usr/include/QtCore/qmetatype.h:48:2: error: #error qmetatype.h must be included before any header file that defines Bool xvmctextures.h:82: error: field ‘last_video_rect’ has incomplete type xvmctextures.h: In constructor ‘XvMCTextures::XvMCTextures()’: xvmctextures.h:45: error: class ‘XvMCTextures’ does not have any field named ‘last_video_rect’ /usr/include/QtCore/qmetatype.h: At global scope: /usr/include/QtCore/qmetatype.h:59: error: expected identifier before ‘int’ /usr/include/QtCore/qmetatype.h:59: error: expected `}' before ‘int’ /usr/include/QtCore/qmetatype.h:59: error: expected unqualified-id before ‘=’ token /usr/include/QtCore/qmetatype.h:106: error: expected declaration before ‘}’ token make[2]: * [xvmctextures.o] Error 1 make[2]: Leaving directory `/home/packages/trunk/mythtv/libs/libmythtv' make[1]: * [sub-libmythtv-make_default-ordered] Error 2 make[1]: Leaving directory `/home/packages/trunk/mythtv/libs' make: * [sub-libs-make_default-ordered] Error 2

Change History (2)

comment:1 Changed 12 years ago by Janne Grunau

Milestone: unknown0.22
Owner: changed from Isaac Richards to Janne Grunau
Status: newassigned
Version: unknownhead

comment:2 Changed 12 years ago by Janne Grunau

Resolution: fixed
Status: assignedclosed

(In [16873]) reorder includes to fix compiling with opengl XvMC. Closes #5076

Note: See TracTickets for help on using tickets.