[mythtv] ATTN Windows Users: Libdvdnav and libdvdread resync

Jeff Lu jll544 at yahoo.com
Sat Jul 24 02:38:13 UTC 2010


> I *only* need to  know that libmythdvdnav compiles properly in windows

> with the patch  applied.

Just one issue when compiling dvd_input.c:

In file included from ../libmythdb/compat.h:293,
                 from dvdread/dvd_input.c:56:
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/stat.h:122: error:
 redefinition of 'struct _stati64'
make: *** [dvd_input.o] Error 1


dvd_input.h:40 defines stat as _stati64, producing two "struct _stati64" 
definitions within sys/stat.h.  An easy fix would be to #include <sys/stat.h> 
before the MinGW-related redefinitions in dvd_input.h.  With that addition, 
libmythdvdnav compiles cleanly.


Cheers,
Jeff



      


More information about the mythtv-dev mailing list