[mythtv] Win32 port fails to compile Freetype

Michel Meyers steltek at tcnnet.com
Sun Nov 9 21:18:54 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I recently started to try and compile the Windows Port of Mythtv.

So far, I got this:

"In file included from
C:/MSys/1.0/sources/freetype-2.3.5/include/freetype/config
/ftstdlib.h:123,
                 from ./builds/unix/ftconfig.h:43,
                 from
C:/MSys/1.0/sources/freetype-2.3.5/src/base/ftsystem.c:29:

c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:317:
error: s
yntax error before "double"
make: *** [/sources/freetype-2.3.5/objs/ftsystem.lo] Error 1
EFFECT FAILED (file -> shell): unable to locate expected file
(C:/MSys/1.0/sourc
es/freetype-2.3.5/objs/.libs/libfreetype.a)."

I think line 317 in stdlib.h needs to change from:
inline double __cdecl __MINGW_NOTHROW strtod (const char* __restrict__
__nptr, char** __restrict__ __endptr

to:
__inline__ double __cdecl __MINGW_NOTHROW strtod (const char*
__restrict__ __nptr, char** __restrict__ __endptr

At least from what I garner on the web, and it does make my compile run
on. Im no coder though so that's just a guess of mine. Maybe somebody
with actual programming knowledge can comment on it.

Greetings,
       Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkkXU74ACgkQ2Vs+MkscAyUKqgCghLehc4NaysNXQvXmEv3r8QKt
wUQAn0DSzerpk3R4LyvBNmPmhYA0eHiH
=5/Wh
-----END PGP SIGNATURE-----



More information about the mythtv-dev mailing list