<div dir="ltr">Hello all,<div><br></div><div>I was hoping that someone could help shed some light on this compile error that I am getting when trying to compile the latest mythtv-fixes-0.28. Here is the pertinent part of the compile log:</div><div><br></div><div><p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DHLS_USE_MYTHDOWNLOADMANAGER -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse -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 -isystem ../../external/libmythdvdnav/dvdnav -isystem ../../external/libmythdvdnav/dvdread -fvisibility=hidden -std=gnu++0x -D_REENTRANT -fPIC -DMMX -Dusing_libcec -D_GNU_SOURCE -DUSING_LIBCRYPTO -DUSING_LIBASS -DUSING_X11 -DUSING_VDPAU -DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_VAAPI -DUSING_GLVAAPI -DUSING_AIRPLAY -DUSING_MHEG -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_ALSA -DUSING_OSS -DUSING_V4L2 -DUSING_IPTV -DUSING_HDPVR -DUSING_DVB -DUSING_BACKEND -DMTV_API -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/libxml2 -isystem /usr/include/X11 -I.. -I../.. -I../../external/FFmpeg -I. -I../libmyth -I../libmyth/audio -I../libmythbase -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../../external/libmythbluray -I../../external/minilzo -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o HLSStream.o recorders/HLS/HLSStream.cpp</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp: In member function ‘void HLSReader::Cancel(bool)’:</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:186:10: error: ‘m_sements’ was not declared in this scope</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">     if (!m_sements.empty())</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">          ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:187:43: error: no matching function for call to ‘HLSReader::CancelURL(QUrl)’</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">         CancelURL(m_segments.front().Url());</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">                                           ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">In file included from recorders/HLS/HLSReader.cpp:4:0:</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.h:66:17: note: candidate: static void HLSReader::CancelURL(const QString&)</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">     static void CancelURL(const QString &url);</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">                 ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.h:66:17: note:   no known conversion for argument 1 from ‘QUrl’ to ‘const QString&’</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.h:67:17: note: candidate: static void HLSReader::CancelURL(const QStringList&)</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">     static void CancelURL(const QStringList &urls);</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">                 ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.h:67:17: note:   no known conversion for argument 1 from ‘QUrl’ to ‘const QStringList&’</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp: In member function ‘int HLSReader::DownloadSegmentData(MythSingleDownload&, HLSRecStream*, HLSRecSegment&, int)’:</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:916:55: error: no matching function for call to ‘HLSReader::DownloadURL(QUrl, QByteArray*)’</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">     if (!HLSReader::DownloadURL(segment.Url(), &buffer))</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">                                                       ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:238:6: note: candidate: static bool HLSReader::DownloadURL(const QString&, QByteArray*)</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures"> bool HLSReader::DownloadURL(const QString &url, QByteArray *buffer)</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">      ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:238:6: note:   no known conversion for argument 1 from ‘QUrl’ to ‘const QString&’</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:922:63: error: no matching function for call to ‘HLSReader::DownloadURL(QUrl, QByteArray*)’</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">             if (!HLSReader::DownloadURL(segment.Url(), &buffer))</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">                                                               ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:238:6: note: candidate: static bool HLSReader::DownloadURL(const QString&, QByteArray*)</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures"> bool HLSReader::DownloadURL(const QString &url, QByteArray *buffer)</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">      ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">recorders/HLS/HLSReader.cpp:238:6: note:   no known conversion for argument 1 from ‘QUrl’ to ‘const QString&’</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">Makefile:14753: recipe for target 'HLSReader.o' failed</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** [HLSReader.o] Error 1</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** Waiting for unfinished jobs....</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: Leaving directory '/usr/local/src/mythtv-fixes-0.28/mythtv/libs/libmythtv'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">Makefile:290: recipe for target 'sub-libmythtv-make_first' failed</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [sub-libmythtv-make_first] Error 2</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: Leaving directory '/usr/local/src/mythtv-fixes-0.28/mythtv/libs'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">Makefile:67: recipe for target 'libs' failed</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [libs] Error 2</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">I am trying to build it with qt5 and had read some things about qt5 on Fedora (23) having some issues with reading the qt4 headers when using the qt5 library. I've removed qt4 from the system as far as I can tell:</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(67,36,212)">></span><span style="font-variant-ligatures:no-common-ligatures"> la /usr/include/ | grep -i qt</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">drwxr-xr-x   25 root root 4.0K Nov 21 10:00 </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(177,37,19)"><b>qt</b></span><span style="font-variant-ligatures:no-common-ligatures">5</span></p><br>Here is my configure:</span></div><div><br><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures"></span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:courier;color:rgb(77,47,45);background-color:rgb(223,219,195)"><span style="font-variant-ligatures:no-common-ligatures">./configure --compile-type=release --prefix=/usr/local --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-audio-alsa --enable-dvb --enable-nonfree --disable-hdhomerun --disable-vbox --disable-ceton --enable-libfaac --disable-crystalhd --disable-ivtv --disable-joystick-menu --enable-libfftw3 --disable-mythlogserver --qmake=/usr/lib64/qt5/bin/qmake-qt5 --extra-cxxflags='-DHLS_USE_MYTHDOWNLOADMANAGER'</span></p><br>Any insight would be appreciated as I have been having at this for two days.<br><br><br>Thanks,<br><br>Dave</span></div></div>