[mythtv-users] MythPhone is Here

MythTV mythtv at hribnak.com
Wed Jun 16 09:28:12 EDT 2004


Just add using namespace std; just after the include lines in what ever file
gives you errors on  out or cerr

I did this last night and it compiled fine.


I am on Red Hat 9


----- Original Message ----- 
From: "Robert Rozman" <rozman at fri.uni-lj.si>
To: "Discussion about mythtv" <mythtv-users at mythtv.org>
Sent: Tuesday, June 15, 2004 12:39 AM
Subject: Re: [mythtv-users] MythPhone is Here


> Hi,
>
> I'm anxious to try Mythphone, but cannot compile it. I get:
> -----------------
>
g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -Wall -W -W
>
o-unused -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC  -D_
>
GNU_SOURCE -DPREFIX=\"/usr/local\" -D_REENTRANT -DUSE_PTHREADS -DQT_NO_DEBUG
>  -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/li
b/
>
qt3/mkspecs/default -I. -I/usr/local/include -I../../mythtv-0.15.1/libs -I/u
> sr/include -I/usr/lib/qt3/include -o wavfile.o wavfile.cpp
> In file included from wavfile.cpp:17:
> wavfile.h:54:7: warning: no newline at end of file
> wavfile.cpp: In member function `bool wavfile::load(const char*)':
> wavfile.cpp:37: error: `cerr' undeclared (first use this function)
> wavfile.cpp:37: error: (Each undeclared identifier is reported only once
for
> each function it appears in.)
> wavfile.cpp: In member function `void wavfile::transcodeTo8K()':
> wavfile.cpp:108: error: `cout' undeclared (first use this function)
> make[1]: Leaving directory
> `/home/tinia/apps/mythtv/mythtv_0_15/mythphone-0.15/mythphone'
> -----------------------
>
> Can someone help me to compile Mythphone ?
>
> Thanks in advance,
>
> Robert.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



More information about the mythtv-users mailing list