Page 1 of 1

Build error for win x86

Posted: 24 Nov 2017 14:59
by ZeBobo5
Hi,
I tried to build latest version but I have error on build :

Code: Select all

i686-w64-mingw32-gcc: error: ../../extras/package/win32/../../../modules/codec/webvtt/CSSLexer.c: No such file or directory

Where could i found this lost file ?

Re: Build error for win x86

Posted: 24 Nov 2017 16:25
by RĂ©mi Denis-Courmont
The file is automatically generated, but you can find it in the source tarball if you prefer a pregenerated version.

Re: Build error for win x86

Posted: 29 Nov 2017 14:44
by ZeBobo5
Thanks but I can't find it... :(
I tried to build latest version of VLC for win32 on Ubuntu Bash in Windows 10

I've got another error on goom plugin. But I disabled it.

Re: Build error for win x86

Posted: 29 Nov 2017 17:44
by Jean-Baptiste Kempf
apt get install bison flex

Re: Build error for win x86

Posted: 03 Dec 2017 16:34
by ZeBobo5
Thanks a lot for the answer. The contrib builds now :)

But now, next error is when compiling vlc :

libvlc configuration
--------------------
version : 4.0.0-dev
system : mingw32
architecture : i686 mmx sse sse2
optimizations : yes
vlc aliases : cvlc rvlc qvlc svlc


Code: Select all

../doltcompile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../extras/package/win32/../../../compat -I.. -I../../extras/package/win32/../../../include -I../include -I/mnt/c/Sources/vlc/vlc/contrib/i686-w64-mingw32/include -D__USE_MINGW_ANSI_STDIO=1 -g -O2 -I/mnt/c/Sources/vlc/vlc/contrib/i686-w64-mingw32/include -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -pipe -O3 -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range -funroll-loops -fomit-frame-pointer -fstack-protector-strong -MT poll.lo -MD -MP -MF $depbase.Tpo -c -o poll.lo ../../extras/package/win32/../../../compat/poll.c &&\ In file included from ../../extras/package/win32/../../../compat/poll.c:110:0: ERROR : /usr/share/mingw-w64/include/winsock2.h:1155: 16: redefinition of 'struct pollfd' typedef struct pollfd { ^ In file included from ../config.h:904:0, from ../../extras/package/win32/../../../compat/poll.c:22: ../../extras/package/win32/../../../include/vlc_fixups.h:395:8: note: originally defined here struct pollfd ^ ERROR : ../../extras/package/win32/../../../compat/poll.c:112: 5: conflicting types for 'poll' int poll(struct pollfd *fds, unsigned nfds, int timeout) ^ In file included from ../config.h:904:0, from ../../extras/package/win32/../../../compat/poll.c:22: ../../extras/package/win32/../../../include/vlc_fixups.h:404:5: note: previous declaration of 'poll' was here int poll (struct pollfd *, unsigned, int); ^ Makefile:1382: recipe for target 'poll.lo' failed Makefile:1216: recipe for target 'all' failed Makefile:1516: recipe for target 'all-recursive' failed Makefile:1401: recipe for target 'all' failed make: *** [all] Error 2

Re: Build error for win x86

Posted: 04 Dec 2017 13:19
by Jean-Baptiste Kempf
Update or use 3.0 branch.