Build error for win x86

This forum is about all development around libVLC.
ZeBobo5
Blank Cone
Blank Cone
Posts: 17
Joined: 17 Nov 2006 11:38

Build error for win x86

Postby ZeBobo5 » 24 Nov 2017 14:59

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 ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15130
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Build error for win x86

Postby Rémi Denis-Courmont » 24 Nov 2017 16:25

The file is automatically generated, but you can find it in the source tarball if you prefer a pregenerated version.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ZeBobo5
Blank Cone
Blank Cone
Posts: 17
Joined: 17 Nov 2006 11:38

Re: Build error for win x86

Postby ZeBobo5 » 29 Nov 2017 14:44

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Build error for win x86

Postby Jean-Baptiste Kempf » 29 Nov 2017 17:44

apt get install bison flex
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ZeBobo5
Blank Cone
Blank Cone
Posts: 17
Joined: 17 Nov 2006 11:38

Re: Build error for win x86

Postby ZeBobo5 » 03 Dec 2017 16:34

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Build error for win x86

Postby Jean-Baptiste Kempf » 04 Dec 2017 13:19

Update or use 3.0 branch.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests