17 Jun
2004
17 Jun
'04
00:38
On Thursday 17 June 2004 00.27, Robert Rozman wrote:
Hi,
I can't compile MythPhone under Suse 9.0. I get: <snip> wavfile.cpp:37: error: `cerr' undeclared (first use this function) <snip> Can someone help me to solve this error... It seems like some standard library missing. Any idea, hint, solution ?
It must be an old source. The newer gcc versions are much pickier about namespaces. You can either change all cout and cerr to std::cout and std::cerr respectively, or put a line "using namespace std;" somewhere in the beginning of the source file