PDA

View Full Version : fix for compiling latest version with gmyth enabled.


xfaethorx
2008-02-20, 12:14
for the giggles of living on the edge I have all the --enable options set in configure bar for profiling..however after the last svn up the ILiveTV.h file came down which is included by GMythFile.h

first off theres s typo in GMythFile.h so edit the file and replace :

#include "LiveTV.h" with #include "ILiveTV.h"

finally open ILiveTV.h and add:

#pragma once

as the first line of the file, this stops the compiler from including the header file more than once which causes the class to be defined twice making the compiler bork.

Only a small couple of changes that should get it to build.

elupus
2008-02-20, 12:30
ah, thanx. i'll probably ditch the gmyth client thou. the new cmyth client is better.( and is used per default for myth://), so just leave it disabled for now.

xfaethorx
2008-02-20, 12:34
fair enough, I've not used any of the myth stuff yet tbh. I keep meaning to have a play just too busy with other stuff.