Unable to build LibVLC tag 1.4.1

This forum is about all development around libVLC.
Ltty
Blank Cone
Blank Cone
Posts: 15
Joined: 13 Jan 2014 15:51

Unable to build LibVLC tag 1.4.1

Postby Ltty » 24 Jun 2015 13:24

Hi guys,

I am unable to build the VLC tag 1.4.1. I am doing a clean checkout for all libraries, all tools are up-to-date. This the error I get. Any ideas on how to resolve this issue?

libvlc configuration
--------------------
version : 3.0.0-git
system : linux
architecture : arm
optimizations : yes
build vlc executable : no

To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
Building
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in compat
GEN dummy.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC dummy.lo
CC atof.lo
CC getdelim.lo
CC posix_memalign.lo
CC strtof.lo
CC swab.lo
CC tdestroy.lo
CC strverscmp.lo
../../compat/strverscmp.c:42:5: warning: no previous prototype for 'strverscmp' [-Wmissing-prototypes]
int strverscmp (const char *s1, const char *s2)
^
CCLD libcompat.la
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in share
GEN vlc.desktop
Making all in src
CC fourcc_gen
GEN stamp-revision
GEN ../include/vlc_about.h
GEN fourcc_tables.h
video: 791 entries
audio: 255 entries
spu: 47 entries
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC libvlc.lo
CC libvlc-module.lo
CC missing.lo
GEN ../../src/revision.c
CC version.lo
In file included from ../../include/vlc_picture.h:35:0,
from ../../include/vlc_subpicture.h:32,
from ../../include/vlc_spu.h:29,
from ../../include/vlc_vout_osd.h:29,
from ../../include/vlc_input.h:41,
from ../../include/vlc_vlm.h:28,
from ../../src/missing.c:343:
../../include/vlc_atomic.h:34:25: fatal error: stdatomic.h: No such file or directory
# include <stdatomic.h>
^
compilation terminated.
In file included from ../../include/vlc_picture.h:35:0,
from ../../include/vlc_subpicture.h:32,
from ../../include/vlc_spu.h:29,
from ../../include/vlc_vout_osd.h:29,
from ../../include/vlc_input.h:41,
from ../../src/libvlc.c:41:
../../include/vlc_atomic.h:34:25: fatal error: stdatomic.h: No such file or directory
# include <stdatomic.h>
^
compilation terminated.
make[3]: *** [libvlc.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [missing.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
vlc: make failed
Build step 'Execute shell' marked build as failure
Archiving artifacts
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 2 second
Finished: FAILURE

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

Re: Unable to build LibVLC tag 1.4.1

Postby Rémi Denis-Courmont » 24 Jun 2015 13:45

There is no LibVLC version 1.4.1. You are building HEAD, which currently requires GCC 5.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Ltty
Blank Cone
Blank Cone
Posts: 15
Joined: 13 Jan 2014 15:51

Re: Unable to build LibVLC tag 1.4.1

Postby Ltty » 25 Jun 2015 16:01

Doesn't VLC configure its own toolchain with custom environment scripts in the NDK? I am building on a MAC, so I have clang installed on it. Everything worked so far until I changed from tag 1.3.x to 1.4.1.

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

Re: Unable to build LibVLC tag 1.4.1

Postby Jean-Baptiste Kempf » 09 Jul 2015 22:15

Use gcc 4.9
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 19 guests