OSX compilation failure

This forum is about all development around libVLC.
geox
New Cone
New Cone
Posts: 4
Joined: 20 Oct 2016 10:05

OSX compilation failure

Postby geox » 20 Oct 2016 10:23

Hello all,
I registered because I could not compile VLC for Mac OSX Yosemite. I have the latest Xcode developer tools installed and I use that on a regular basis so I do not suspect the problem to be in that area. I just followed the standard Wiki instructions which basically mean get a git clone and run the build.sh script. I do have a fair amount of compiled video and audio related libraries in /usr/local but as far as I understand it this should not influence the VLC build. I do not use Macports,homebrew or fink, so no conflicts there either.
Here is the error message I am getting:

Code: Select all

+ ../bootstrap --build=x86_64-apple-darwin15 --host=x86_64-apple-darwin15 Creating configuration file... config.mak Bootstrap completed. Run "make" to start compilation. Other targets: * make install same as "make" * make prebuilt fetch and install prebuilt binaries * make list list packages * make fetch fetch required source tarballs * make fetch-all fetch all source tarballs * make distclean clean everything and undo bootstrap * make mostlyclean clean everything except source tarballs * make clean clean everything * make package prepare prebuilt packages * make help show this text + '[' '' = yes ']' + '[' '!' -e ../x86_64-apple-darwin15 ']' + spopd + popd + info 'Bootstrap-ing configure' + local 'green=\033[1;32m' + local 'normal=\033[0m' + echo '[\033[1;32mbuild\033[0m] Bootstrap-ing configure' [build] Bootstrap-ing configure + spushd /Users/geox/Devel/examples/vlc + pushd /Users/geox/Devel/examples/vlc + '[' -e /Users/geox/Devel/examples/vlc/configure ']' + spopd + popd + '[' /Users/geox/Devel/examples/vlc/configure -nt Makefile ']' ++ sysctl -n machdep.cpu.core_count + core_count=2 + let jobs=2+1 + '[' '' = yes ']' + info 'Running make -j3' + local 'green=\033[1;32m' + local 'normal=\033[0m' + echo '[\033[1;32mbuild\033[0m] Running make -j3' [build] Running make -j3 + make -j3 CDPATH="${ZSH_VERSION+.}:" && cd /Users/geox/Devel/examples/vlc/extras/package/macosx/../../.. && /bin/sh /Users/geox/Devel/examples/vlc/autotools/missing aclocal-1.15 -I m4 CDPATH="${ZSH_VERSION+.}:" && cd /Users/geox/Devel/examples/vlc/extras/package/macosx/../../.. && /bin/sh /Users/geox/Devel/examples/vlc/autotools/missing autoconf cd /Users/geox/Devel/examples/vlc/extras/package/macosx/../../.. && /bin/sh /Users/geox/Devel/examples/vlc/autotools/missing automake-1.15 --foreign /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../configure --prefix=/Users/geox/Devel/examples/vlc/build/vlc_install_dir --enable-macosx --enable-merge-ffmpeg --enable-osx-notifications --enable-faad --enable-flac --enable-theora --enable-shout --enable-ncurses --enable-twolame --enable-realrtsp --enable-libass --enable-macosx-eyetv --enable-macosx-qtkit --enable-macosx-avfoundation --disable-skins2 --disable-xcb --disable-caca --disable-pulse --disable-sdl --disable-vnc --build=x86_64-apple-darwin15 --host=x86_64-apple-darwin15 --with-macosx-version-min=10.7 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk build_alias=x86_64-apple-darwin15 host_alias=x86_64-apple-darwin15 CC=xcrun clang CFLAGS= LDFLAGS= CXX=xcrun clang++ OBJC=xcrun clang --no-create --no-recursion checking build system type... x86_64-apple-darwin15 checking host system type... x86_64-apple-darwin15 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../autotools/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '501' is supported by ustar format... yes checking whether GID '20' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for style of include used by make... GNU checking for x86_64-apple-darwin15-gcc... xcrun clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether xcrun clang accepts -g... yes checking for xcrun clang option to accept ISO C89... none needed checking whether xcrun clang understands -c and -o together... yes checking dependency style of xcrun clang... gcc3 checking for xcrun clang option to accept ISO C99... none needed checking how to run the C preprocessor... xcrun clang -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether xcrun clang supports C11... no checking whether xcrun clang -std=gnu11 supports C11... yes checking whether we are using the GNU C++ compiler... yes checking whether xcrun clang++ accepts -g... yes checking dependency style of xcrun clang++... gcc3 checking how to run the C preprocessor... xcrun clang -E checking for x86_64-apple-darwin15-gcc... xcrun clang checking whether we are using the GNU Objective C compiler... yes checking whether xcrun clang accepts -g... yes checking dependency style of xcrun clang... gcc3 checking dependency style of xcrun clang... (cached) gcc3 checking for egrep... (cached) /usr/bin/grep -E checking whether make sets $(MAKE)... (cached) yes checking dependency style of xcrun clang... gcc3 checking for desktop-file-validate... no checking for c11-gcc... no checking for c11... no checking for c99-gcc... no checking for c99... c99 checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking whether xcrun clang++ supports C++11 features by default... no checking whether xcrun clang++ supports C++11 features with -std=c++11... yes yes checking for 3rd party libraries path... /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7... -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7 checking if the linker ( -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin15 file names to x86_64-apple-darwin15 format... func_convert_file_noop checking how to convert x86_64-apple-darwin15 file names to toolchain format... func_convert_file_noop checking for -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7 option to reload object files... -r checking for x86_64-apple-darwin15-objdump... no checking for objdump... no checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-apple-darwin15-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-apple-darwin15-ar... no checking for ar... ar checking for archiver @FILE support... no checking for x86_64-apple-darwin15-strip... no checking for strip... strip checking for x86_64-apple-darwin15-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm output from xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 object... ok checking for sysroot... no checking for x86_64-apple-darwin15-mt... no checking for mt... no checking if : is a manifest tool... no checking for x86_64-apple-darwin15-dsymutil... no checking for dsymutil... dsymutil checking for x86_64-apple-darwin15-nmedit... no checking for nmedit... nmedit checking for x86_64-apple-darwin15-lipo... no checking for lipo... lipo checking for x86_64-apple-darwin15-otool... no checking for otool... otool checking for x86_64-apple-darwin15-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 supports -fno-rtti -fno-exceptions... yes checking for xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 option to produce PIC... -fno-common -DPIC checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 PIC flag -fno-common -DPIC works... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 static flag -static works... no checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 supports -c -o file.o... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 supports -c -o file.o... (cached) yes checking whether the xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 linker ( -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7) supports shared libraries... yes checking dynamic linker characteristics... darwin15 dyld checking how to hardcode library paths into programs... immediate checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 -E checking for ld used by xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7... -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7 checking if the linker ( -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7) is GNU ld... no checking whether the xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 linker ( -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7) supports shared libraries... yes checking for xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 option to produce PIC... -fno-common -DPIC checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 PIC flag -fno-common -DPIC works... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 static flag -static works... no checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 supports -c -o file.o... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 supports -c -o file.o... (cached) yes checking whether the xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 linker ( -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7) supports shared libraries... yes checking dynamic linker characteristics... darwin15 dyld checking how to hardcode library paths into programs... immediate checking for x86_64-apple-darwin15-windres... no checking for windres... no checking for bash... /bin/bash checking if dolt supports this host... yes, replacing libtool checking whether NLS is requested... yes checking for msgfmt... /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15/bin/msgfmt checking for gmsgfmt... /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15/bin/msgfmt checking for xgettext... /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15/bin/xgettext checking for msgmerge... /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15/bin/msgmerge checking for ld used by xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7... -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7 checking if the linker ( -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx_version_min=10.7) is GNU ld... no checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes checking for GNU gettext in libc... no checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for GNU gettext in libintl... no checking whether to use NLS... no checking for iconv... (cached) yes checking for working iconv... (cached) yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for buggy GNU/libc versions... not present checking for shared objects suffix... .dylib checking whether nanosleep is declared... yes checking for daemon... yes checking for fcntl... yes checking for flock... yes checking for fstatvfs... yes checking for fork... yes checking for getenv... yes checking for getpwuid_r... yes checking for isatty... yes checking for lstat... yes checking for memalign... no checking for mkostemp... no checking for mmap... yes checking for open_memstream... no checking for openat... yes checking for pread... yes checking for posix_fadvise... no checking for posix_madvise... yes checking for setlocale... yes checking for stricmp... no checking for strnicmp... no checking for strptime... yes checking for uselocale... yes checking for pthread_cond_timedwait_monotonic_np... no checking for pthread_condattr_setclock... no checking for atof... yes checking for atoll... yes checking for dirfd... yes checking for fdopendir... yes checking for ffsll... yes checking for flockfile... yes checking for fsync... yes checking for getdelim... yes checking for getpid... yes checking for lldiv... yes checking for memrchr... no checking for nrand48... yes checking for poll... yes checking for posix_memalign... yes checking for recvmsg... yes checking for rewind... yes checking for sendmsg... yes checking for setenv... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strdup... yes checking for strlcpy... yes checking for strndup... yes checking for strnlen... yes checking for strnstr... yes checking for strsep... yes checking for strtof... yes checking for strtok_r... yes checking for strtoll... yes checking for swab... yes checking for tdestroy... no checking for timegm... yes checking for timespec_get... no checking for strverscmp... no checking for gettimeofday... yes checking for fdatasync... yes checking whether realpath is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking whether gmtime_r is declared... yes checking whether localtime_r is declared... yes checking for static_assert in assert.h... no checking for working strcoll... yes checking for struct pollfd... yes checking for struct timespec... yes checking for max_align_t... yes checking for library containing connect... none required checking for library containing inet_pton... none required checking for if_nameindex... yes checking for if_nametoindex... yes checking for socklen_t in sys/socket.h... yes checking for struct sockaddr_storage... yes checking for getopt_long... yes checking for cos in -lm... yes checking for lrintf in -lm... yes checking for nanf in -lm... yes checking for library containing dlsym... none required checking for library containing pthread_rwlock_init... none required checking for library containing clock_nanosleep... no checking for library containing nanosleep... none required checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for net/if.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking netinet/udplite.h usability... no checking netinet/udplite.h presence... no checking for netinet/udplite.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking linux/dccp.h usability... no checking linux/dccp.h presence... no checking for linux/dccp.h... no checking linux/magic.h usability... no checking linux/magic.h presence... no checking for linux/magic.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/eventfd.h usability... no checking sys/eventfd.h presence... no checking for sys/eventfd.h... no checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking for ssize_t... yes checking for x86_64-apple-darwin15-pkg-config... no checking for pkg-config... /Users/geox/Devel/examples/vlc/extras/tools/build/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for MINIZIP... no checking unzip.h usability... no checking unzip.h presence... no checking for unzip.h... no checking for IDN... no checking for DBUS... no configure: WARNING: No package 'dbus-1' found. checking for SYSTEMD... no configure: WARNING: No package 'libsystemd' found. checking for ntohl in sys/param.h... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wall... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wextra... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wsign-compare... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wundef... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wpointer-arith... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wbad-function-cast... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wwrite-strings... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wmissing-prototypes... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wvolatile-register-var... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Werror-implicit-function-declaration... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Winit-self... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wlogical-op... no checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wformat-security... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -pipe... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wall... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wextra... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wsign-compare... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wundef... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wpointer-arith... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wvolatile-register-var... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -Wformat-security... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fvisibility=hidden... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -O3... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fno-math-errno... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -funsafe-math-optimizations... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fno-rounding-math... no checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fno-signaling-nans... no checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fcx-limited-range... no checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fno-math-errno... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -funsafe-math-optimizations... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fno-rounding-math... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fno-signaling-nans... yes checking if xcrun clang++ -stdlib=libc++ -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fcx-limited-range... no checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -funroll-loops... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 accepts -fomit-frame-pointer... yes checking if linker supports -Bsymbolic... checking if linker supports -z,defs... no checking __attribute__ ((aligned ())) support... 64 checking for __attribute__((packed))... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for backtrace... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks MMX intrinsics... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks MMX inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks MMX EXT inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSE2 intrinsics... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSE inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSE2 inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSE3 inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSSE3 inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSE4.1 inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSE4.2 inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks SSE4A inline assembly... yes checking if xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 groks 3D Now! inline assembly... yes checking for LUA... no configure: WARNING: No package 'lua5.2' found, trying lua 5.1 instead checking for LUA... no configure: WARNING: No package 'lua5.1' found, trying lua >= 5.1 instead checking for LUA... no configure: WARNING: No package 'lua' found, trying manual detection instead checking lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking lauxlib.h usability... yes checking lauxlib.h presence... yes checking for lauxlib.h... yes checking lualib.h usability... yes checking lualib.h presence... yes checking for lualib.h... yes checking for luaL_newstate in -llua5.2 ... no checking for luaL_newstate in -llua5.1 ... no checking for luaL_newstate in -llua51 ... no checking for luaL_newstate in -llua ... yes checking for ARCHIVE... yes checking for LIVE555... no configure: WARNING: No package 'live555' found. checking for live555 version 1324598400 or later... yes checking for main in -lliveMedia_pic... no checking for main in -lliveMedia... yes checking for DC1394... no configure: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found checking for DV1394... no configure: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found checking for DVDREAD... yes checking for DVDNAV... yes checking for dvdnav_stream_cb in dvdnav/dvdnav.h... yes checking for BLURAY... yes checking for OPENCV... no configure: WARNING: Library opencv > 2.0 needed for opencv was not found checking for SMBCLIENT... no configure: WARNING: Library smbclient needed for smbclient was not found checking for DSM... no configure: WARNING: Library libdsm >= 0.2.0 needed for dsm was not found checking for SFTP... yes checking for NFS... yes checking linux/videodev2.h usability... no checking linux/videodev2.h presence... no checking for linux/videodev2.h... no checking sys/videoio.h usability... no checking sys/videoio.h presence... no checking for sys/videoio.h... no checking DeckLinkAPIDispatch.cpp usability... no checking DeckLinkAPIDispatch.cpp presence... no checking for DeckLinkAPIDispatch.cpp... no configure: WARNING: Blackmagic DeckLink SDI include files not found checking for cdrom_msf0 in linux/cdrom.h... no checking for scsireq in sys/scsiio.h... no checking for ioc_toc_header in sys/cdio.h... no checking for LIBCDDB... yes checking for Linux DVB version 5.1... no checking ApplicationServices/ApplicationServices.h usability... yes checking ApplicationServices/ApplicationServices.h presence... yes checking for ApplicationServices/ApplicationServices.h... yes checking for FREERDP... no configure: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found checking QTKit/QTKit.h usability... no checking QTKit/QTKit.h presence... yes configure: WARNING: QTKit/QTKit.h: present but cannot be compiled configure: WARNING: QTKit/QTKit.h: check for missing prerequisite headers? configure: WARNING: QTKit/QTKit.h: see the Autoconf documentation configure: WARNING: QTKit/QTKit.h: section "Present But Cannot Be Compiled" configure: WARNING: QTKit/QTKit.h: proceeding with the compiler's result checking for QTKit/QTKit.h... no checking for ASDCP... no checking for DVBPSI... yes checking gme/gme.h usability... yes checking gme/gme.h presence... yes checking for gme/gme.h... yes checking for SID... yes checking sidplay/builders/resid.h usability... yes checking sidplay/builders/resid.h presence... yes checking for sidplay/builders/resid.h... yes checking for OGG... yes checking for LIBVORBIS... yes checking for OGG... yes checking for SHOUT... yes checking for MATROSKA... yes checking for LIBMODPLUG... yes checking mpc/mpcdec.h usability... yes checking mpc/mpcdec.h presence... yes checking for mpc/mpcdec.h... yes checking for SHINE... no configure: WARNING: Library shine >= 3.0.0 needed for shine was not found checking for libcrystalhd/libcrystalhd_if.h... no checking mad.h usability... yes checking mad.h presence... yes checking for mad.h... yes checking for mad_bit_init in -lmad... yes checking for MPG123... yes checking for libavutil variant... libav checking for GST_APP... no configure: WARNING: No package 'gstreamer-app-1.0' found. GStreamer modules will not be built. checking for AVCODEC... yes checking libavcodec/avcodec.h usability... yes checking libavcodec/avcodec.h presence... yes checking for libavcodec/avcodec.h... yes checking libavutil/avutil.h usability... yes checking libavutil/avutil.h presence... yes checking for libavutil/avutil.h... yes checking for LIBVA... no configure: WARNING: No package 'libva' found. checking for LIBVA_DRM... no configure: WARNING: No package 'libva-drm' found. checking for LIBVA_X11... no configure: WARNING: No package 'libva-x11' found. checking dxgidebug.h usability... no checking dxgidebug.h presence... no checking for dxgidebug.h... no checking VideoDecodeAcceleration/VDADecoder.h usability... yes checking VideoDecodeAcceleration/VDADecoder.h presence... yes checking for VideoDecodeAcceleration/VDADecoder.h... yes checking libavcodec/vda.h usability... yes checking libavcodec/vda.h presence... yes checking for libavcodec/vda.h... yes checking for av_vda_alloc_context... yes checking for AVFORMAT... yes checking libavformat/avformat.h usability... yes checking libavformat/avformat.h presence... yes checking for libavformat/avformat.h... yes checking libavformat/avio.h usability... yes checking libavformat/avio.h presence... yes checking for libavformat/avio.h... yes checking for libavcodec/avcodec.h... (cached) yes checking for libavutil/avutil.h... (cached) yes checking for SWSCALE... yes checking libswscale/swscale.h usability... yes checking libswscale/swscale.h presence... yes checking for libswscale/swscale.h... yes checking for libavutil/avutil.h... (cached) yes checking for POSTPROC... yes checking postproc/postprocess.h usability... no checking postproc/postprocess.h presence... no checking for postproc/postprocess.h... no checking neaacdec.h usability... yes checking neaacdec.h presence... yes checking for neaacdec.h... yes checking for NeAACDecOpen in -lfaad... yes checking for VPX... no checking for TWOLAME... yes checking a52dec/a52.h usability... yes checking a52dec/a52.h presence... yes checking for a52dec/a52.h... yes checking for a52_free in -la52... yes checking for DCA... yes checking for FLAC... yes checking for LIBMPEG2... yes checking for VORBIS... yes checking for SPEEX... yes checking for SPEEXDSP... yes checking for OPUS... yes checking for THEORA... yes checking for OGGSPOTS... yes checking for SCHROEDINGER... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_set_rows in -lpng... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking libbpg.h usability... no checking libbpg.h presence... no checking for libbpg.h... no checking for X262... no checking for X265... yes checking for X26410B... no checking for X264... yes checking for MFX... no configure: WARNING: Library libmfx needed for mfx was not found checking for FLUIDSYNTH... no configure: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found checking for FLUIDLITE... no configure: WARNING: Library fluidlite needed for fluidlite was not found checking fluidlite.h usability... no checking fluidlite.h presence... no checking for fluidlite.h... no checking for ZVBI... yes checking for LIBASS... yes checking fontconfig/fontconfig.h usability... yes checking fontconfig/fontconfig.h presence... yes checking for fontconfig/fontconfig.h... yes checking for ARIBB24... yes checking for ARIBB25... no configure: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found checking for KATE... yes checking for TIGER... no checking for EGL... no checking for GL... no checking for X... no checking X11/Xlib.h usability... no checking X11/Xlib.h presence... no checking for X11/Xlib.h... no checking for VDPAU... no checking for the Wayland scanner... wayland-scanner checking for WAYLAND_CLIENT... no checking for FREETYPE... yes checking for FRIBIDI... yes checking for HARFBUZZ... yes checking for ISpObjectToken... no configure: WARNING: sapi.h not found. Text to Speech renderer for Windows disabled checking for SVG... no configure: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found checking for SVGDEC... no configure: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found checking linux/fb.h usability... no checking linux/fb.h presence... no checking for linux/fb.h... no checking kva.h usability... no checking kva.h presence... no checking for kva.h... no checking interface/mmal/mmal.h usability... no checking interface/mmal/mmal.h presence... no checking for interface/mmal/mmal.h... no configure: WARNING: Cannot find development headers for mmal... checking for ALSA... no checking soundcard.h usability... no checking soundcard.h presence... no checking for soundcard.h... no checking sys/soundcard.h usability... no checking sys/soundcard.h presence... no checking for sys/soundcard.h... no checking sndio.h usability... no checking sndio.h presence... no checking for sndio.h... no checking audioclient.h usability... no checking audioclient.h presence... no checking for audioclient.h... no checking for JACK... no configure: WARNING: No package 'jack' found, trying jack1 instead checking for JACK... no configure: WARNING: No package 'jack' found No package 'jack' found. checking for SAMPLERATE... yes checking for SOXR... no configure: WARNING: Library soxr >= 0.1.2 needed for soxr was not found checking kai.h usability... no checking kai.h presence... no checking for kai.h... no checking for CHROMAPRINT... yes checking for protoc... protoc checking for CHROMECAST... yes configure: WARNING: The skins2 module depends on the Qt interface, Qt is not built so skins2 is disabled. checking VideoToolbox/VideoToolbox.h usability... yes checking VideoToolbox/VideoToolbox.h presence... yes checking for VideoToolbox/VideoToolbox.h... yes checking for NCURSES... yes checking for GOOM... yes checking for PROJECTM... no configure: WARNING: No package 'libprojectM' found. checking for VSXU... no configure: WARNING: No package 'libvsxu' found. checking for AVAHI... no configure: WARNING: Library avahi-client >= 0.6 needed for avahi was not found checking for UDEV... no configure: WARNING: Library libudev >= 142 needed for udev was not found checking for MTP... no configure: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found checking for UPNP... yes checking for MICRODNS... yes checking for LIBXML2... yes checking for gcrypt 1.6.0 or later... yes checking for GNUTLS... yes checking for TAGLIB... yes checking for SECRET... no configure: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found checking /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15/Growl.framework/Versions/A/Headers/Growl.h usability... yes checking /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15/Growl.framework/Versions/A/Headers/Growl.h presence... yes checking for /Users/geox/Devel/examples/vlc/contrib/x86_64-apple-darwin15/Growl.framework/Versions/A/Headers/Growl.h... yes checking for NOTIFY... no configure: WARNING: Library libnotify gtk+-2.0 needed for notify was not found checking whether byte ordering is bigendian... no checking that generated files are newer than configure... done configure: creating ./config.status libvlc configuration -------------------- version : 3.0.0-git system : darwin architecture : x86_64 mmx sse sse2 optimizations : yes vlc aliases : cvlc rvlc nvlc --SNIP-- CC access/libcdda_plugin_la-cdda.lo CC access/vcd/libcdda_plugin_la-cdrom.lo CC access/vcd/vcd.lo /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:231:24: error: expected ';' at end of declaration list CFTypeRef _Nullable session; // AVCaptureSession ^ ; /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:232:15: error: duplicate member '_Nullable' CFTypeRef _Nullable device; // AVCaptureDevice ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:231:15: note: previous declaration is here CFTypeRef _Nullable session; // AVCaptureSession ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:232:24: error: expected ';' at end of declaration list CFTypeRef _Nullable device; // AVCaptureDevice ^ ; /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:233:15: error: duplicate member '_Nullable' CFTypeRef _Nullable output; // VLCAVDecompressedVideoOutput ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:231:15: note: previous declaration is here CFTypeRef _Nullable session; // AVCaptureSession ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:233:24: error: expected ';' at end of declaration list CFTypeRef _Nullable output; // VLCAVDecompressedVideoOutput ^ ; /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:304:20: error: no member named 'device' in 'struct demux_sys_t' p_sys->device = CFBridgingRetain(myVideoDevices[ivideo]); ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:309:20: error: no member named 'device' in 'struct demux_sys_t' p_sys->device = CFBridgingRetain([AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]); ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:311:22: error: no member named 'device' in 'struct demux_sys_t' if ( !p_sys->device ) ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:320:50: error: no member named 'device' in 'struct demux_sys_t' if ( [(__bridge AVCaptureDevice *)p_sys->device isInUseByAnotherApplication] == YES ) ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:326:96: error: no member named 'device' in 'struct demux_sys_t' input = [AVCaptureDeviceInput deviceInputWithDevice:(__bridge AVCaptureDevice *)p_sys->device e... ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:339:16: error: no member named 'session' in 'struct demux_sys_t' p_sys->session = CFBridgingRetain([[AVCaptureSession alloc] init]); ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:340:46: error: no member named 'session' in 'struct demux_sys_t' [(__bridge AVCaptureSession *)p_sys->session addInput:input]; ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:342:16: error: no member named 'output' in 'struct demux_sys_t' p_sys->output = CFBridgingRetain([[VLCAVDecompressedVideoOutput alloc] initWithDemux:p_demux]); ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:343:46: error: no member named 'session' in 'struct demux_sys_t' [(__bridge AVCaptureSession *)p_sys->session addOutput:(__bridge VLCAVDecompressedVideoOutput *... ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:346:58: error: no member named 'output' in 'struct demux_sys_t' [(__bridge VLCAVDecompressedVideoOutput *)p_sys->output setSampleBufferDelegate:(__bridge id)p_... ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:349:58: error: no member named 'output' in 'struct demux_sys_t' [(__bridge VLCAVDecompressedVideoOutput *)p_sys->output setVideoSettings:[NSDictionary dictiona... ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:350:46: error: no member named 'session' in 'struct demux_sys_t' [(__bridge AVCaptureSession *)p_sys->session startRunning]; ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:380:46: error: no member named 'session' in 'struct demux_sys_t' [(__bridge AVCaptureSession *)p_sys->session performSelectorOnMainThread:@selector(stopRunning... ~~~~~ ^ /Users/geox/Devel/examples/vlc/extras/package/macosx/../../../modules/access/avcapture.m:381:34: error: no member named 'output' in 'struct demux_sys_t' CFBridgingRelease(p_sys->output); ~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [access/libavcapture_plugin_la-avcapture.lo] Error 1
Any suggestions on solving this?

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: OSX compilation failure

Postby Jean-Baptiste Kempf » 24 Oct 2016 21:47

That is very weird. _Nullable being considered as a member?
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.

geox
New Cone
New Cone
Posts: 4
Joined: 20 Oct 2016 10:05

Re: OSX compilation failure

Postby geox » 25 Oct 2016 13:51

I am not familiar with ObjectiveC but what I googled so far is that _Nullable is used to indicate that a pointer can be null.
So what I suspect is that the three struct members session,device and output used to be pointers.
Solution which compiles (not sure if it works as I have run into another problem):
Remove the _Nullable from session,device and output members:

Code: Select all

diff --git a/modules/access/avcapture.m b/modules/access/avcapture.m index a7f1040..0941a84 100644 --- a/modules/access/avcapture.m +++ b/modules/access/avcapture.m @@ -228,9 +228,9 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer struct demux_sys_t { - CFTypeRef _Nullable session; // AVCaptureSession - CFTypeRef _Nullable device; // AVCaptureDevice - CFTypeRef _Nullable output; // VLCAVDecompressedVideoOutput + CFTypeRef session; // AVCaptureSession + CFTypeRef device; // AVCaptureDevice + CFTypeRef output; // VLCAVDecompressedVideoOutput es_out_id_t *p_es_video; es_format_t fmt; int height, width;

geox
New Cone
New Cone
Posts: 4
Joined: 20 Oct 2016 10:05

Re: OSX compilation failure

Postby geox » 01 Nov 2016 09:00

Still running into compilation failures.
Have been pulling all updates from last week, but still not compiling:

Code: Select all

CC video_output/vmem.lo CC video_output/yuv.lo 2 warnings generated. CCLD libattachment_plugin.la CCLD libfilesystem_plugin.la CCLD libidummy_plugin.la CCLD libimem_plugin.la CCLD libaccess_imem_plugin.la CCLD librar_plugin.la CCLD libsdp_plugin.la CCLD libtimecode_plugin.la CCLD libvdr_plugin.la CCLD libunzip.la CCLD libaccess_archive_plugin.la CCLD libscreen_plugin.la CCLD libcdda_plugin.la CCLD libvcd_plugin.la CXXLD liblive555_plugin.la ld: library not found for -lnetwork clang: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [libcdda_plugin.la] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Whatever I fix, I always end up with the 'Network' library not being found. I do not understand where in the make files this file is used as I cannot find anything building it and it doesn't seem this library should be supplied by the OS?
I have tried to checkout previous versions, but they too do not build on my Yosemite system.
Please, some help on how to resolve the -lnetwork not found problem would be great!

geox
New Cone
New Cone
Posts: 4
Joined: 20 Oct 2016 10:05

Re: OSX compilation failure [SOLVED]

Postby geox » 04 Nov 2016 11:35

I managed to solve my compilation problems by switching to El Capitan and XCode 8.1 (8B62) and

Code: Select all

git checkout 793c499fd6e13debc8c4b6f80dd2c8eb10676abe
I hope anyone else can use this info for a quick and smooth start :D

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: OSX compilation failure

Postby Jean-Baptiste Kempf » 07 Dec 2016 00:39

Yes, the code did not compile on 10.10. It is fixed now.
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 12 guests