[mythtv-users] IR Solution

Joshua Bernstein josh at engr.arizona.edu
Sat Apr 26 18:18:03 UTC 2003


I'm getting all kinds of errors compiling mythweather.

I downloaded it from the mythtv.org downloads area.

It looks like it is looking for the mythtv source, am I right?

If so, where should I put that?


here is what a make outputs:

cd mythweather && (gunzip -c accid.dat.gz > accid.dat) && make -f
Makefile
make[1]: Entering directory `/root/mythweather-0.8/mythweather'
qmake -o Makefile mythweather.pro
make[1]: Leaving directory `/root/mythweather-0.8/mythweather'
make[1]: Entering directory `/root/mythweather-0.8/mythweather'
g++ -c -pipe -Wall -W -g -D_REENTRANT  -D_GNU_SOURCE
-DPREFIX=\"/usr/local\" -DQT_THREAD_SUPPORT
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/local/cdda -I/usr/lib/qt3/include -o main.o main.cpp
In file included from main.cpp:19:
weather.h:23:32: mythtv/oldsettings.h: No such file or directory
weather.h:24:32: mythtv/mythwidgets.h: No such file or directory
In file included from main.cpp:19:
weather.h:38: parse error before `{' token
weather.h:39: virtual outside class declaration
weather.h:39: non-member function `const char* className()' cannot have
`const'
   method qualifier
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h: In function `QObject* qObject()':
weather.h:39: invalid use of `this' in non-member function
weather.h: At global scope:
weather.h:39: parse error before `private'
weather.h:42: destructors must be member functions
weather.h:48: parse error before `private'
weather.h:75: parse error before `private'
weather.h:92: `bool debug' redeclared as different kind of symbol
/usr/lib/qt3/include/qglobal.h:927: previous declaration of `void
debug(const
   char*, ...)'
weather.h:148: syntax error before `*' token
weather.h:149: syntax error before `*' token
weather.h:150: syntax error before `*' token
weather.h:151: syntax error before `*' token
weather.h:152: syntax error before `*' token
weather.h:153: syntax error before `*' token
weather.h:155: syntax error before `*' token
weather.h:156: syntax error before `*' token
weather.h:157: syntax error before `*' token
weather.h:249: parse error before `}' token
main.cpp:21:31: mythtv/themedmenu.h: No such file or directory
main.cpp:22:32: mythtv/mythcontext.h: No such file or directory
main.cpp:24: syntax error before `*' token
main.cpp: In function `int main(int, char**)':
main.cpp:27: `int main(int, char**)' redeclared as different kind of
symbol
weather.h:160: previous declaration of `QVBoxLayout*main'
weather.h:160: previous non-function declaration `QVBoxLayout*main'
main.cpp:27: conflicts with function declaration `int main(int, char**)'
main.cpp:30: `gContext' undeclared (first use this function)
main.cpp:30: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:30: parse error before `(' token
main.cpp:47: `Weather' undeclared (first use this function)
main.cpp:47: parse error before `(' token
main.cpp:48: `weatherDat' undeclared (first use this function)
/usr/include/c++/3.2.2/bits/stl_map.h: At top level:
weather.h:39: warning: `bool qt_static_property(QObject*, int, int,
QVariant*)'
   declared `static' but never defined
weather.h:39: warning: `QMetaObject* staticMetaObject()' declared
`static' but
   never defined
weather.h:39: warning: `QString tr(const char*, const char*)' declared
`static'
   but never defined
weather.h:39: warning: `QString trUtf8(const char*, const char*)'
declared
   `static' but never defined
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/root/mythweather-0.8/mythweather'
make: *** [sub-mythweather] Error 2

Regards,
Christopher Jones



More information about the mythtv-users mailing list