[mythtv-users] Compile error: .27 + CentOS + QT5

Michael A Weber mweberjunk01 at gmail.com
Sun Dec 29 17:55:19 UTC 2013


On Dec 29, 2013, at 11:29 AM, Michelle Dupuis wrote:

> After yum updating everything, rebooting, etc.  I've recompiled.  My error has now moved (see below).  I checked the qjsonvalue.h file line 70 and the error just doesn't make sense.  (The file looks fine)
>  
> Can someone see an error?
>  
>  
> g++ -c -m64 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -DQT_DISABLE_DEPRECATED_BEFORE -fPIC -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual -funit-at-a-time -I/usr/include/freetype2 -fvisibility=hidden -D_REENTRANT -fPIC -DMMX -D_GNU_SOURCE -DUSING_LIBCRYPTO -DUSING_X11 -DUSING_XV -DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_AIRPLAY -DUSING_MHEG -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_ALSA -DUSING_OSS -DUSING_V4L2 -DUSING_LINUX_FIREWIRE -DUSING_FIREWIRE -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_CETON -DUSING_IVTV -DUSING_HDPVR -DUSING_DVB -DUSING_BACKEND -DMTV_API -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../../lib64/qt5/mkspecs/linux-g++-64 -I. -I/usr -I../../../../../include/libxml2 -I../../external/qjson/include -I../../external/zeromq/include -I../../external/nzmqt/include/nzmqt -I.. -I../.. -I../../external/FFmpeg -I. -I../libmyth -I../libmyth/audio -I../libmythbase -I../libmythdvdnav -Impeg -Ichannelscan -Ivisualisations -Irecorders -Irecorders/dvbdev -Irecorders/rtp -Irecorders/vbitext -Irecorders/HLS -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/BasicUsageEnvironment -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/groupsock -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/liveMedia -I../libmythlivemedia/UsageEnvironment/include -I../libmythlivemedia/UsageEnvironment -I../libmythbase -I../libmythui -I../libmythupnp -I../libmythservicecontracts -I../../../../../include -I../libmythdvdnav -I../../external/libmythbluray -I../../external/libhdhomerun -I../../../../../include/qt5 -I../../../../../include/qt5/QtOpenGL -I../../../../../include/qt5/QtWidgets -I../../../../../include/qt5/QtSql -I../../../../../include/qt5/QtXml -I../../../../../include/qt5/QtNetwork -I../../../../../include/qt5/QtGui -I../../../../../include/qt5/QtCore -I. -o videooutbase.o videooutbase.cpp
> In file included from ../../../../../include/qt5/QtCore/qjsonobject.h:45,
>                  from ../../../../../include/qt5/QtCore/qplugin.h:47,
>                  from ../../../../../include/qt5/QtGui/qimageiohandler.h:45,
>                  from ../../../../../include/qt5/QtGui/qimagereader.h:47,
>                  from ../../../../../include/qt5/QtGui/QImageReader:1,
>                  from ../libmythui/mythimage.h:9,
>                  from ../libmythui/mythpainter_qimage.h:12,
>                  from ../libmythui/mythpainter_yuva.h:4,
>                  from videooutbase.cpp:16:
> ../../../../../include/qt5/QtCore/qjsonvalue.h:70: error: expected identifier before ‘int’
> ../../../../../include/qt5/QtCore/qjsonvalue.h:70: error: expected ‘}’ before ‘int’
> ../../../../../include/qt5/QtCore/qjsonvalue.h:70: error: expected unqualified-id before ‘=’ token
> ../../../../../include/qt5/QtCore/qjsonvalue.h:78: error: expected ‘)’ before ‘=’ token
> ../../../../../include/qt5/QtCore/qjsonvalue.h:79: error: expected unqualified-id before ‘bool’
> ../../../../../include/qt5/QtCore/qjsonvalue.h:79: error: expected ‘)’ before ‘bool’
> ../../../../../include/qt5/QtCore/qjsonvalue.h:80: error: expected unqualified-id before ‘double’
> ../../../../../include/qt5/QtCore/qjsonvalue.h:80: error: expected ‘)’ before ‘double’
> ../../../../../include/qt5/QtCore/qjsonvalue.h:81: error: expected unqualified-id before ‘int’
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

I'm not a Mythtv expert, but I have been a user since 2005.  I also hate playing devil's advocate.  So, I'm just hoping I can help you get this back up and functioning as quickly as possible.

I'm not sure that Mythtv is ready for QT5.  I know the requirements have been changed to QT48, but I haven't read anything about QT5.

Even better, I just updated my CentOS 64-bit BE/FE combo on Friday from 6.3 to 6.5, QT48, and from Mythtv 0.26 to 0.27.  Had to post-install libdvdcss and libdvdread, and it's MOSTLY working perfectly (one video out of many won't play on the FE, but plays on another FE).

Therefore, my recommendation is to remove all QT, install QT48, and compile against that.  It should get you functioning in short(er) order.

Good luck!

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131229/661a6bea/attachment.html>


More information about the mythtv-users mailing list