[mythtv] Plugin development.

George Galt george.galt at gmail.com
Wed Feb 24 15:18:05 UTC 2010

On Wed, Feb 24, 2010 at 8:34 AM, Zacarias Benta <zbenta at gmail.com> wrote:
> I have installed all de devel packages for mythtv in the ubuntu repository.
> Ive checked out the latest version of mythtv to my home drive.
> I've also made the same for the mythplugins and placed them inside the
> mythtv.
> I've compiled the mythtv instalation and made some changes on to the code
> regarding the " include (
> ../../mythconfig.mak )"  and "include ( ../../settings.pro )"
> Now I have it like this "include ( /home/zbenta/mythtv/config.mak )
> include ( /home/zbenta/mythtv/settings.pro )".
> Ive replaced the "mythconfig.mak" for  "config.mak" because that is what I
> see in my mythtv directory, as for the rest I've written the full path for
> each of the includes.
> After having tried to compile the mythhello plugin I get the following:

I'm not sure how things are set up for ubuntu, but in Fedora, I've got
a copy of mythconfig.mak in /usr/include/mythtv and in my copy of the
source.  My guess is that the "config.mak" file in your
/home/zbenta/mythtv/ directory is **NOT** the same file.  My
suggestion would be:

1)  download the source from www.mythtv.org for **BOTH** mythtv and the plugins
2)  go to your copy of the source and run the configure script with
whatever you need for parameters (e.g., for building on Fedora, one
wants to install to /usr so I usually use --prefix=/usr, but there are
other things as well, type ./configure --help for a list).  You will
need to run the configure scripts in both the mythtv and mythplugins
directories (I think).
3) You DO NOT need to compile mythtv -- only run the configure scripts.
4) Move your source tree for the mythhello plugin into the plugin directory
5) change back to using ../../mythconfig.mak and /../../settings.pro
in your .pro file
6) qmake-qt4 -recursive
7) make
8) see what happens.

More information about the mythtv-dev mailing list