[mythtv] Win32-Packager fails to compile QT4 (Was: Win32 port fails to compile Freetype)

and.mayer at aon.at and.mayer at aon.at
Wed Dec 3 15:58:09 UTC 2008


Michel,

>Thanks for the information.
>I don\'t know why but I get a syntax error before \'(\' on line 36 in unistd.h (where usleep gets defined).

I removed the declaration for usleep in mythtv/libs/libmythdb/compat.h at line 90 by changing 
#if defined(__cplusplus) && defined(USING_MINGW)
to
#if defined(__cplusplus) && defined(X_USING_MINGW)
(Yes, I know that\'s quick and dirty).

Now that I got a second chance to have a look at compat.h I found the place where the missing M_PI define is on _WIN32, M_PI is referenced in mythmusic/goom several times.

Andreas


More information about the mythtv-dev mailing list