[mythtv-users] OSX: Issue with building latest master

Jean-Yves Avenard jyavenard at gmail.com
Sat Jun 18 03:13:32 UTC 2011


2011/6/11 Warpme <warpme at o2.pl>:
> Hi *
>
> I'm trying build MAC version of frontend. I was able build without problem
> master with git pulled at 4/06.
> As I recently upgraded be to current master - I need rebuild fe.
> OSX compilation of today's master head gives me following error:
>
> ccache g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -m32
> -fomit-frame-pointer -fPIC -g -Wall -Wno-switch -Wpointer-arith
> -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
> -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3
> -fvisibility-inlines-hidden
> -F/System/Library/Frameworks/{ApplicationServices,AudioUnit,Carbon,CoreAudio,IOKit,DiskArbitration}.framework/Frameworks
> -fvisibility=hidden -arch i386 -fPIC -DMMX -Di386 -DUSING_APPLEREMOTE
> -D_GNU_SOURCE -DMYTH_API -DUSING_DARWIN_DA -DQT_NO_DEBUG -DQT_SCRIPT_LIB
> -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DQT_SHARED -I/Users/piotro/.osx-packager/build/mkspecs/macx-g++ -I.
> -I/Users/piotro/.osx-packager/build/include/QtCore
> -I/Users/piotro/.osx-packager/build/include/QtNetwork
> -I/Users/piotro/.osx-packager/build/include/QtGui
> -I/Users/piotro/.osx-packager/build/include/QtXml
> -I/Users/piotro/.osx-packager/build/include/QtSql
> -I/Users/piotro/.osx-packager/build/include/QtScript
> -I/Users/piotro/.osx-packager/build/include -I/usr/include
> -I/Users/piotro/.osx-packager/build -I../libmythsamplerate
> -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../..
> -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -o
> remoteutil.o remoteutil.cpp
> remoteutil.cpp: In function 'std::vector<FileSystemInfo,
> std::allocator<FileSystemInfo> > RemoteGetFreeSpace()':
> remoteutil.cpp:45: error: 'class QVector<FileSystemInfo>' has no member
> named 'toStdVector'
> make[2]: *** [remoteutil.o] Error 1
> make[1]: *** [sub-libmyth-make_default] Error 2
> make: *** [libs] Error 2
> [osx-pkg] Failed system call: " /usr/bin/make  " with error code 2
> Died at ./osx-packager.pl line 968.
>
> Where issue might be ?
>

Very puzzling issue to say the least.

toStdVector has been a function member of QVector for a long time...
So why it doesn't work on a mac I can't explain (I'm seeing the same
issue, can't compile on the mac)


More information about the mythtv-users mailing list