Mailing List Archive

Compiling MythWeather
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
Re: Compiling MythWeather [ In reply to ]
On Friday 25 April 2003 12:27 pm, Christopher Jones wrote:
> 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?

You have to have mythtv installed (and setup, etc) to compile any of the
add-on modules.

Isaac
Re: Compiling MythWeather [ In reply to ]
Thats what I don't understand. MythTV is installed and working fine.

??

- Christopher Jones

On Fri, 2003-04-25 at 11:37, Isaac Richards wrote:
> On Friday 25 April 2003 12:27 pm, Christopher Jones wrote:
> > 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?
>
> You have to have mythtv installed (and setup, etc) to compile any of the
> add-on modules.
>
> Isaac
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: Compiling MythWeather [ In reply to ]
Thus spake Christopher Jones:
> Thats what I don't understand. MythTV is installed and working fine.

How did you install it? If you installed from packages, did you install
the relevant development packages? (libmyth-0.8-dev for MZ's Debian
packages, for instance, I assume there's a corresponding -devel package
for any prebuilt RPMs available as well)

--
Nathan Poznick <poznick@conwaycorp.net>

Friday, I was in a bookstore and I started talking to a French looking
girl. She was a bilingual illiterate -- she couldn't read in two
different languages. -Stephen Wright
Re: Compiling MythWeather [ In reply to ]
Did you install the a binary version of MythTV?

If so, get the -dev package for MythTV.

-John

---------- Original Message -----------
From: Christopher Jones <cjones@christopherrjones.com>
To: Discussion about mythtv <mythtv-users@snowman.net>
Sent: 25 Apr 2003 11:51:53 -0500
Subject: Re: [mythtv-users] Compiling MythWeather

> Thats what I don't understand. MythTV is installed and working fine.
>
> ??
>
> - Christopher Jones
>
> On Fri, 2003-04-25 at 11:37, Isaac Richards wrote:
> > On Friday 25 April 2003 12:27 pm, Christopher Jones wrote:
> > > 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?
> >
> > You have to have mythtv installed (and setup, etc) to compile any of the
> > add-on modules.
> >
> > Isaac
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@snowman.net
> > http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
------- End of Original Message -------