[mythtv-users] Mythtv CVS - Problem compiling commercial_skip.cpp

Derek Conniffe derek at rivertower.ie
Fri Jan 28 09:49:01 EST 2005


Hi Chris,

Yes - tcommerical_skip.cpp is compiling now.  I'm now getting a simular 
problem with tv_rec.cpp (I dont know if this is yours?): -

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
-I/usr/include/
freetype2 -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-DPREFIX=\"/u
sr/local\" -DMMX -DUSING_IVTV -DUSING_OSS -DUSING_XV -DQT_NO_DEBUG 
-DQT_THREAD_S
UPPORT -I/usr/local/qt/mkspecs/default -I. -I../../../../../include 
-I../.. -I..
/libmyth -I.. -Idvbdev -Impeg -I../libavcodec -I../libmythmpeg2 
-I/usr/local/qt/
include -o tv_rec.o tv_rec.cpp
In file included from hdtvrecorder.h:14,
                 from tv_rec.cpp:23:
mpeg/tsstats.h: In member function `QString TSStats::toString()':
mpeg/tsstats.h:25: error: call of overloaded `arg(long long int&)' is 
ambiguous
/usr/local/qt/include/qstring.h:418: error: candidates are: QString
   QString::arg(long int, int, int) const
/usr/local/qt/include/qstring.h:419: error:                 QString
   QString::arg(long unsigned int, int, int) const
/usr/local/qt/include/qstring.h:875: error:                 QString
   QString::arg(int, int, int) const
/usr/local/qt/include/qstring.h:878: error:                 QString
   QString::arg(unsigned int, int, int) const
/usr/local/qt/include/qstring.h:881: error:                 QString
   QString::arg(short int, int, int) const
/usr/local/qt/include/qstring.h:884: error:                 QString
   QString::arg(short unsigned int, int, int) const
/usr/local/qt/include/qstring.h:424: error:                 QString
   QString::arg(char, int) const
/usr/local/qt/include/qstring.h:425: error:                 QString
   QString::arg(QChar, int) const
/usr/local/qt/include/qstring.h:426: error:                 QString
   QString::arg(const QString&, int) const <near match>
/usr/local/qt/include/qstring.h:427: error:                 QString
   QString::arg(double, int, char, int) const
mpeg/tsstats.h:29: error: call of overloaded `arg(long long int, int, 
int)' is
   ambiguous
/usr/local/qt/include/qstring.h:418: error: candidates are: QString
   QString::arg(long int, int, int) const
/usr/local/qt/include/qstring.h:419: error:                 QString
   QString::arg(long unsigned int, int, int) const
/usr/local/qt/include/qstring.h:875: error:                 QString
   QString::arg(int, int, int) const
/usr/local/qt/include/qstring.h:878: error:                 QString
   QString::arg(unsigned int, int, int) const
/usr/local/qt/include/qstring.h:881: error:                 QString
   QString::arg(short int, int, int) const
/usr/local/qt/include/qstring.h:884: error:                 QString
   QString::arg(short unsigned int, int, int) const
/usr/local/qt/include/qstring.h:427: error:                 QString
   QString::arg(double, int, char, int) const
make[2]: *** [tv_rec.o] Error 1
make[2]: Leaving directory `/usr/local/src/MythTV-CVS/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/usr/local/src/MythTV-CVS/mythtv/libs'
make: *** [sub-libs] Error 2







Chris Pinkham wrote:

>>I'm trying to compile and install mythtv from the latest CVS.  I'm having a
>>problem during compilation - the problem seems to be with
>>libs/libmythtv/commercial_skip.cpp - I'm getting lots of errors about "call
>>of overloaded 'arg(........".
>>
>>I'm using qt-x11-free-3.1.2 - the problem may be with this qt version?
>>(although I'm really sure that I compiled myth CVS before with this qt
>>version).
>>    
>>
>
>Can you update to the latest CVS and try compiling again?  I just committed
>a change which should let this work with your version of Qt.  I think I
>caught all of them according to the output you pasted.
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>


-- 


Derek Conniffe
Rivertower Ltd
DDI: (Local Ireland) 01 201 0146 (International) +353 1 201 0146
Mobile: (Local Ireland) 086 856 3823 (International) +353 86 856 3823
Main Line: (Local Ireland) 1890 45 70 74 (International) +353 1 201 0180
Fax: (Local Ireland) 01 201 0085 (International) +353 1 201 0085
Email: derek at rivertower.ie
Web: www.rivertowerhosting.com



More information about the mythtv-users mailing list