[vlc-devel] X11 compilation on win32?

Matthew Fullerton matt at vision.eri.harvard.edu
Fri Aug 20 17:13:16 CEST 2004


Should I expect VLC to successfully compile on cygwin when I ./configure
... --enable-x11 ? Obviously in most circumstances this would not be useful
or necessary, but I'm running cygwin/x and have had good results displaying
video from a Unix box over the network in terms of quality but not refresh
rate (for obvious reasons). So I'm curious to see what it will look like on
a locally executed program. At the moment I get errors as attached below.

Many thanks,
matt

In file included from xcommon.c:55:
/usr/X11R6/include/X11/Xmd.h:131: error: conflicting types for `INT32'
/usr/include/w32api/basetsd.h:52: error: previous declaration of `INT32'
/usr/X11R6/include/X11/Xmd.h:155: warning: redefinition of `BYTE'
/usr/include/w32api/windef.h:231: warning: `BYTE' previously declared here
/usr/X11R6/include/X11/Xmd.h:156: error: conflicting types for `BOOL'
/usr/include/w32api/windef.h:227: error: previous declaration of `BOOL'
xcommon.c:94:62: macro "CreateWindowA" requires 11 arguments, but only 2
given
xcommon.c:95: error: conflicting types for `DestroyWindow'
/usr/include/w32api/winuser.h:3239: error: previous declaration of
`DestroyWindow'
xcommon.c:112: error: conflicting types for `CreateCursor'
/usr/include/w32api/winuser.h:3192: error: previous declaration of
`CreateCursor'
xcommon.c:113: error: conflicting types for `DestroyCursor'
/usr/include/w32api/winuser.h:3236: error: previous declaration of
`DestroyCursor'
xcommon.c:261:63: macro "CreateWindowA" requires 11 arguments, but only 2
given
xcommon.c:894:69: macro "CreateWindowA" requires 11 arguments, but only 2
given
xcommon.c:895: error: syntax error before '{' token
xcommon.c:906: error: syntax error before '->' token
xcommon.c:971: error: syntax error before '->' token
xcommon.c:972: warning: type defaults to `int' in declaration of
`XSetCommand'
xcommon.c:972: warning: data definition has no type or storage class
xcommon.c:974: error: syntax error before '->' token
xcommon.c:982: warning: type defaults to `int' in declaration of
`XStoreName'
xcommon.c:982: warning: data definition has no type or storage class
xcommon.c:991: error: syntax error before '->' token
xcommon.c:995: error: syntax error before '->' token
xcommon.c:999: warning: type defaults to `int' in declaration of
`XGetGeometry'
xcommon.c:999: warning: data definition has no type or storage class
xcommon.c:1002: warning: type defaults to `int' in declaration of
`b_configure_notify'
xcommon.c:1002: error: redefinition of `b_configure_notify'
xcommon.c:902: error: `b_configure_notify' previously defined here
xcommon.c:1002: warning: data definition has no type or storage class
xcommon.c:1006: error: syntax error before '->' token
xcommon.c:1038: error: syntax error before '->' token
xcommon.c:1038: warning: type defaults to `int' in declaration of
`XMapWindow'
xcommon.c:1038: warning: data definition has no type or storage class
xcommon.c:1049: warning: type defaults to `int' in declaration of
`b_configure_notify'
xcommon.c:1049: error: redefinition of `b_configure_notify'
xcommon.c:1002: error: `b_configure_notify' previously defined here
xcommon.c:1049: warning: data definition has no type or storage class
xcommon.c:1050: error: syntax error before '}' token
xcommon.c:1065: error: syntax error before '->' token
xcommon.c:1082: error: syntax error before '->' token
xcommon.c:1083: warning: type defaults to `int' in declaration of
`XChangeWindowAttributes'
xcommon.c:1098: error: syntax error before '->' token
xcommon.c:1102: error: syntax error before '->' token
xcommon.c:1102: warning: type defaults to `int' in declaration of
`XMapWindow'
xcommon.c:1102: warning: data definition has no type or storage class
xcommon.c:1103: error: syntax error before '->' token
xcommon.c:1113: warning: type defaults to `int' in declaration of
`ToggleCursor'
xcommon.c:1113: warning: parameter names (without types) in function
declaration
xcommon.c:1113: error: conflicting types for `ToggleCursor'
xcommon.c:114: error: previous declaration of `ToggleCursor'
xcommon.c:1113: warning: data definition has no type or storage class
xcommon.c:1114: error: syntax error before '}' token
xcommon.c:1117: error: syntax error before '->' token
xcommon.c:1117: warning: type defaults to `int' in declaration of `XSync'
xcommon.c:1117: warning: data definition has no type or storage class
xcommon.c:1121: error: syntax error before '->' token
xcommon.c:1347:52: macro "CreateWindowA" requires 11 arguments, but only 2
given
xcommon.c: In function `ToggleFullScreen':
xcommon.c:1347: warning: statement with no effect
xcommon.c: At top level:
xcommon.c:1620: error: conflicting types for `ToggleCursor'
xcommon.c:1113: error: previous declaration of `ToggleCursor'
{standard input}: Assembler messages:
{standard input}:323: Error: symbol `_b_configure_notify' is already defined
{standard input}:327: Error: symbol `_b_configure_notify' is already defined
make[6]: *** [libx11_plugin_a-xcommon.o] Error 1
make[6]: Leaving directory `/home/matt/vlc-trunk/modules/video_output/x11'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/matt/vlc-trunk/modules/video_output/x11'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/matt/vlc-trunk/modules/video_output'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/matt/vlc-trunk/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/matt/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/vlc-trunk'
make: *** [all] Error 2



-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list