[mythtv] mythvideo compile errors?

Colin Guthrie myth at colin.guthr.ie
Thu Aug 19 05:04:54 EDT 2004

Mike Benoit wrote:
> It seems your using GCC 3.3.2, whereas I'm using GCC 3.4.1. I wonder if
> thats the difference? I don't see mathdef.h when I run:
> g++ -M -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"%{_prefix}\"
> -I/usr/lib/qt3/mkspecs/default -I. -I%{_prefix}/include
> -I/usr/lib/qt3/include videogallery.cpp

Hmmm, I guess there must be some sort of change in the internal makeup 
of GCC 3.4.1 then. Perhaps things would work if you just add:
#include <math.h>
to videogallery.cpp. It shouldn't do any harm, although it may mess up 
some floating point stuff (IIRC, some headers try to include some fp.h 
file or something in preference to math.h, but I wont pretend to know 



|     Colin Guthrie      |
|   myth at colin.guthr.ie  |
| http://colin.guthr.ie/ |

More information about the mythtv-dev mailing list