[mythtv] LastFM support in MythMusic

Willem Ligtenberg wligtenberg at gmail.com
Tue Feb 26 13:36:21 UTC 2008


I actually forgot that... sorry.
But I have just tried and then it doesn't whine about not finding an
object, but it seg faults and dumps the core...
Any ideas on that?

Thanks,

Willem

On Tue, Feb 26, 2008 at 12:04 PM, Paul Harrison <mythtv at dsl.pipex.com> wrote:
>
>  Willem Ligtenberg wrote:
>  > Well, with the risk of seeming stupid.
>  > I will admit that this is my first C++ coding in a larger project. The
>  > other stuff I did were my own small project where I could do
>  > everything the way I wanted it.
>  > This time I had my md5 functionality working using a library, but I
>  > have found out that the devvers don't really like to include many
>  > libraries let alone for only one function.
>  > I can understand that of course.
>  > But now I want to reuse the md5 function used in avutils.
>  > It now compiles if I include the following header:
>  > #include <mythtv/ffmpeg/md5.h>
>  > Although this obviously generates a runtime error, because I haven't
>  > linked anything yet. My question is now what do I have to add in the
>  > makefile (or rather somewhere else, so that qmake makes the correct
>  > makefile) so that it will link as it should?
>  > I have tried linking to ffmpeg, but that doesn't work.
>  > Thanks for the help,
>  >
>  > Willem
>  >
>
>  Did you try the suggestion by Anduin and wrap the include in extern "C"
>  like this?
>
>  extern "C" {
>
> #include <mythtv/ffmpeg/md5.h>
>  }
>
>
>  Paul H.
>
>
> _______________________________________________
>  mythtv-dev mailing list
>  mythtv-dev at mythtv.org
>  http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>


More information about the mythtv-dev mailing list