[mythtv] 30 on mac osx

James Linder jam at tigger.ws
Fri May 10 09:50:15 UTC 2019


Hi

Would anybody familiar with the code please comment.
I’m (still) tring to build for osx.
I get

cd libmythtv/ && ( test -e Makefile || /opt/local/libexec/qt5/bin/qmake -o Makefile /Users/jam/mythtv/mythtv/libs/libmythtv/libmythtv.pro QMAKE=/opt/local/libexec/qt5/bin/qmake ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
g++ -c -pipe -stdlib=libc++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -I/Iopt/local/include -std=c++11 -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050300 -msse -pthread -DNEED_HDHOMERUN_DEVICE_SELECTOR_LOAD_FROM_STR -g -Wall -Wextra -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -Wimplicit-fallthrough -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -isystem ../../external/libmythdvdnav/dvdnav -isystem ../../external/libmythdvdnav/dvdread -std=gnu++11  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -fPIC -DMMX -DUSING_APPLEREMOTE -D_GNU_SOURCE -DUSING_LIBCRYPTO -DUSING_LIBASS -DFFTW3_SUPPORT -DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_AIRPLAY -DUSING_MHEG -DUSING_FRONTEND -DUSING_IPTV -DUSING_VBOX -DUSING_CETON -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. -I/opt/local/include/libxml2 -I.. -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/System/Library/Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/libexec/qt5/lib/QtOpenGL.framework/Headers -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers -I/opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -I/opt/local/libexec/qt5/lib/QtXml.framework/Headers -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -Imoc -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o obj/subtitlereader.o subtitlereader.cpp
subtitlereader.cpp:37:44: error: no member named 'forced' in 'AVSubtitle'
    if (!m_AVSubtitlesEnabled && !subtitle.forced)
                                  ~~~~~~~~ ^
subtitlereader.cpp:43:43: error: no member named 'forced' in 'AVSubtitle'
    if (!m_AVSubtitlesEnabled && subtitle.forced)

in osh.h the class reference happens:

struct AVSubtitle;

I assume it is labled struct not class is because it is a C struct and presumably mangling is not happening. I can’t find the declaration. Please help. Almost certainly related to my post to the user list about —extra-clages=-I/opt/local/include not working (???) but I need to find the declation to check.
Thanks
James




More information about the mythtv-dev mailing list