[DVDnav-discuss] Building it for win32

Jean-Baptiste Kempf jb at videolan.org
Sat Oct 20 23:20:23 CEST 2007


Hi,

Has anyone been able to build this library for win32 using mingw32-gcc
4.2 ?
I can't, because of some dvdread/ double defintions of types:

In file included from
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/sys/types.h:21,
                 from dvd_reader.c:23:
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/stddef.h:214: error:
duplicate 'unsigned'
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/stddef.h:214: error:
two or more data types in declaration specifiers
In file included from dvd_reader.c:23:
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/sys/types.h:41:
error: two or more data types in declaration specifiers
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/sys/types.h:41:
error: two or more data types in declaration specifiers
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/sys/types.h:104:
error: two or more data types in declaration specifiers

Any idea ?

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the DVDnav-discuss mailing list