VLC自学笔记4-运行

X11报错?

 core xml reader error: XML reader not found   //libxml2-dev?

[0000000001201488] core interface error: no suitable interface module  //qt?

[000000000110c158] core libvlc error: interface "globalhotkeys,none" initialization failed

[000000000110c158] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

[00007f79a4001178] filesystem access error: cannot open file /home/linux/work/vlc-git/udp:123456 (No such file or directory)

[00007f79a4001178] core access error: File reading failed

[00007f79a4001178] core access error: VLC could not open the file "/home/linux/work/vlc-git/udp:123456" (No such file or directory).

[00007f79b40009b8] core input error: open of `file:///home/linux/work/vlc-git/udp%3A123456' failed

[00007f79b40009b8] core input error: Your input can't be opened

[00007f79b40009b8] core input error: VLC is unable to open the MRL 'file:///home/linux/work/vlc-git/udp%3A123456'. Check the log for details.

[0000000001201488] [cli] lua interface: Listening on host "*console".


从配置configure入手看..

log如下:

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking how to create a ustar tar archive... gnutar

checking whether make supports nested variables... yes

checking whether to enable maintainer-specific portions of Makefiles... yes

checking for style of include used by make... GNU

checking for gcc... gcc

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 gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for gcc option to accept ISO C99... -std=gnu99

checking how to run the C preprocessor... gcc -std=gnu99 -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /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 gcc -std=gnu99 and cc understand -c and -o together... yes

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency style of g++... gcc3

checking how to run the C preprocessor... gcc -std=gnu99 -E

checking for gcc... gcc

checking whether we are using the GNU Objective C compiler... no

checking whether gcc accepts -g... no

checking dependency style of gcc... gcc3

checking dependency style of gcc... (cached) gcc3

checking for egrep... (cached) /bin/grep -E

checking whether make sets $(MAKE)... (cached) yes

checking dependency style of gcc -std=gnu99... gcc3

checking for desktop-file-validate... desktop-file-validate

checking for yasm... no

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for C/C++ restrict keyword... __restrict

checking whether g++ supports C++11 features by default... no

checking whether g++ supports C++11 features with -std=c++11... no

checking whether g++ supports C++11 features with -std=c++0x... no

configure: No compiler with C++11 support was found

checking for an Android system... no

checking for 3rd party libraries path... not found

checking how to print strings... printf

checking for a sed that does not truncate output... /bin/sed

checking for fgrep... /bin/grep -F

checking for ld used by gcc -std=gnu99... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... (cached) pass_all

checking for dlltool... no

checking how to associate runtime and link libraries... printf %s\n

checking for ar... ar

checking for archiver @FILE support... @

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok

checking for sysroot... no

checking for mt... mt

checking if mt is a manifest tool... no

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no

checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC

checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes

checking if gcc -std=gnu99 static flag -static works... yes

checking if gcc -std=gnu99 supports -c -o file.o... yes

checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes

checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for shl_load... no

checking for shl_load in -ldld... no

checking for dlopen... no

checking for dlopen in -ldl... yes

checking whether a program can dlopen itself... yes

checking whether a statically linked program can dlopen itself... no

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... g++ -E

checking for ld used by g++... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking for g++ option to produce PIC... -fPIC -DPIC

checking if g++ PIC flag -fPIC -DPIC works... yes

checking if g++ static flag -static works... yes

checking if g++ supports -c -o file.o... yes

checking if g++ supports -c -o file.o... (cached) yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

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... /usr/bin/msgfmt

checking for gmsgfmt... /usr/bin/msgfmt

checking for xgettext... /usr/bin/xgettext

checking for msgmerge... /usr/bin/msgmerge

checking for ld used by gcc -std=gnu99... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking for shared library run path origin... done

checking for CFPreferencesCopyAppValue... no

checking for CFLocaleCopyCurrent... no

checking for GNU gettext in libc... yes

checking whether to use NLS... yes

checking where the gettext function comes from... libc

checking for iconv... yes

checking for working iconv... yes

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... .so

checking whether nanosleep is declared... yes

checking for daemon... yes

checking for fcntl... 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... yes

checking for mmap... yes

checking for open_memstream... yes

checking for openat... yes

checking for pread... yes

checking for posix_fadvise... yes

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 flockfile... yes

checking for fsync... yes

checking for getdelim... yes

checking for getpid... yes

checking for lldiv... yes

checking for nrand48... yes

checking for poll... yes

checking for posix_memalign... yes

checking for rewind... yes

checking for setenv... yes

checking for strcasecmp... yes

checking for strcasestr... yes

checking for strdup... yes

checking for strlcpy... no

checking for strndup... yes

checking for strnlen... 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... yes

checking for strverscmp... yes

checking for fdatasync... 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 accept4... yes

checking for pipe2... yes

checking for eventfd... yes

checking for vmsplice... yes

checking for sched_getaffinity... yes

checking for struct pollfd... 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... -ldl

checking for library containing pthread_rwlock_init... -lpthread

checking for clock_nanosleep in -lrt... yes

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 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 getopt.h usability... yes

checking getopt.h presence... yes

checking for getopt.h... yes

checking linux/dccp.h usability... yes

checking linux/dccp.h presence... yes

checking for linux/dccp.h... yes

checking linux/magic.h usability... yes

checking linux/magic.h presence... yes

checking for linux/magic.h... yes

checking mntent.h usability... yes

checking mntent.h presence... yes

checking for mntent.h... yes

checking sys/eventfd.h usability... yes

checking sys/eventfd.h presence... yes

checking for sys/eventfd.h... yes

checking xlocale.h usability... yes

checking xlocale.h presence... yes

checking for xlocale.h... yes

checking for ssize_t... yes

checking for pkg-config... /usr/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

checking for SYSTEMD... no

checking for ntohl in sys/param.h... no

checking if gcc -std=gnu99 accepts -Wall... yes

checking if gcc -std=gnu99 accepts -Wextra... yes

checking if gcc -std=gnu99 accepts -Wsign-compare... yes

checking if gcc -std=gnu99 accepts -Wundef... yes

checking if gcc -std=gnu99 accepts -Wpointer-arith... yes

checking if gcc -std=gnu99 accepts -Wbad-function-cast... yes

checking if gcc -std=gnu99 accepts -Wwrite-strings... yes

checking if gcc -std=gnu99 accepts -Wmissing-prototypes... yes

checking if gcc -std=gnu99 accepts -Wvolatile-register-var... yes

checking if gcc -std=gnu99 accepts -Werror-implicit-function-declaration... yes

checking if gcc -std=gnu99 accepts -Winit-self... yes

checking if gcc -std=gnu99 accepts -Wlogical-op... yes

checking if gcc -std=gnu99 accepts -pipe... yes

checking if g++ accepts -Wall... yes

checking if g++ accepts -Wextra... yes

checking if g++ accepts -Wsign-compare... yes

checking if g++ accepts -Wundef... yes

checking if g++ accepts -Wpointer-arith... yes

checking if g++ accepts -Wvolatile-register-var... yes

checking if gcc -std=gnu99 accepts -fvisibility=hidden... yes

checking if gcc -std=gnu99 accepts -O3... yes

checking if gcc -std=gnu99 accepts -ffast-math... yes

checking if gcc -std=gnu99 accepts -funroll-loops... yes

checking if gcc -std=gnu99 accepts -fomit-frame-pointer... yes

checking if linker supports -Bsymbolic... -Wl,-Bsymbolic

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 gcc -std=gnu99 groks MMX intrinsics... yes

checking if gcc -std=gnu99 groks MMX inline assembly... yes

checking if gcc -std=gnu99 groks MMX EXT inline assembly... yes

checking if gcc -std=gnu99 groks SSE2 intrinsics... yes

checking if gcc -std=gnu99 groks SSE inline assembly... yes

checking if gcc -std=gnu99 groks SSE2 inline assembly... yes

checking if gcc -std=gnu99 groks SSE3 inline assembly... yes

checking if gcc -std=gnu99 groks SSSE3 inline assembly... yes

checking if gcc -std=gnu99 groks SSE4.1 inline assembly... yes

checking if gcc -std=gnu99 groks SSE4.2 inline assembly... yes

checking if gcc -std=gnu99 groks SSE4A inline assembly... yes

checking if gcc -std=gnu99 groks 3D Now! inline assembly... yes

checking for LUA... no

checking for LUA... yes

checking for luac... /usr/bin/luac

checking for ARCHIVE... no

checking for LIVE555... no

checking for live555 version 1324598400 or later... no

checking for DC1394... no

checking for DV1394... no

checking for LINSYS_SDI... no

checking for DVDREAD... no

checking for DVDNAV... no

checking for BLURAY... no

checking for OPENCV... no

checking for SMBCLIENT... no

checking for DSM... no

checking for SFTP... no

checking linux/videodev2.h usability... yes

checking linux/videodev2.h presence... yes

checking for linux/videodev2.h... yes

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

checking for GNOMEVFS... no

checking for cdrom_msf0 in linux/cdrom.h... yes

checking for scsireq in sys/scsiio.h... no

checking for ioc_toc_header in sys/cdio.h... no

checking for LIBCDDB... no

checking for Linux DVB version 5.1... yes

checking for VNC... no

checking for FREERDP... no

checking for ASDCP... no

checking for DVBPSI... no

checking gme/gme.h usability... no

checking gme/gme.h presence... no

checking for gme/gme.h... no

checking for SID... no

checking for OGG... no

checking for LIBVORBIS... no

checking for SHOUT... no

checking ebml/EbmlVersion.h usability... no

checking ebml/EbmlVersion.h presence... no

checking for ebml/EbmlVersion.h... no

checking for LIBMODPLUG... no

checking mpc/mpcdec.h usability... no

checking mpc/mpcdec.h presence... no

checking for mpc/mpcdec.h... no

checking mpcdec/mpcdec.h usability... no

checking mpcdec/mpcdec.h presence... no

checking for mpcdec/mpcdec.h... no

checking for SHINE... no

checking for libcrystalhd/libcrystalhd_if.h... no

checking mad.h usability... no

checking mad.h presence... no

checking for mad.h... no

checking for MPG123... no

checking for libavutil variant... ffmpeg

checking for GST_APP... no

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_DRM... no

checking for LIBVA_X11... no

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... no

checking faad.h usability... no

checking faad.h presence... no

checking for faad.h... no

checking for VPX... no

checking for TWOLAME... no

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... no

checking for FLAC... no

checking for LIBMPEG2... no

checking for VORBIS... no

checking for SPEEX... no

checking for OPUS... no

checking for THEORA... no

checking for SCHROEDINGER... no

checking png.h usability... no

checking png.h presence... no

checking for png.h... no

checking jpeglib.h usability... no

checking jpeglib.h presence... no

checking for jpeglib.h... no

checking libbpg.h usability... no

checking libbpg.h presence... no

checking for libbpg.h... no

checking for X262... no

checking for X265... no

checking for X26410B... no

checking for X264... no

checking for MFX... no

checking for FLUIDSYNTH... no

checking for ZVBI... no

checking for LIBASS... no

checking for ARIBB24... no

checking for ARIBB25... no

checking for KATE... no

checking for TIGER... no

checking for EGL... no

checking for GL... yes

checking for X... libraries , headers 

checking for gethostbyname... yes

checking for connect... yes

checking for remove... yes

checking for shmat... yes

checking for IceConnectionNumber in -lICE... no

checking X11/Xlib.h usability... yes

checking X11/Xlib.h presence... yes

checking for X11/Xlib.h... yes

checking for XCB... yes

checking for XCB_SHM... yes

checking for XCB_COMPOSITE... yes

checking for XPROTO... yes

checking for XCB_XV... yes

checking for XCB_RANDR... yes

checking for XCB_KEYSYMS... no

checking for VDPAU... no

checking for the Wayland scanner... wayland-scanner

checking for WAYLAND_CLIENT... no

checking for SDL... no

checking for FREETYPE... no

checking for SVG... no

checking for SVGDEC... no

checking linux/fb.h usability... yes

checking linux/fb.h presence... yes

checking for linux/fb.h... yes

checking for CACA... 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

checking for PULSE... no

checking for ALSA... yes

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

checking for JACK... no

checking for SAMPLERATE... no

checking kai.h usability... no

checking kai.h presence... no

checking for kai.h... no

checking for CHROMAPRINT... no

checking for protoc... /usr/bin/protoc

checking for CHROMECAST... no

checking for QT... no

checking for QT... no

checking for moc-qt4... no

checking for moc... no

checking for rcc... rcc

checking for uic-qt4... no

checking for uic... no

checking for NCURSES... no

checking for GOOM... no

checking for PROJECTM... no

checking for VSXU... no

checking for BONJOUR... no

checking for UDEV... no

checking for MTP... no

checking for UPNP... no

checking for LIBXML2... no   //xml 在这里?

checking whether GCRYCTL_SET_THREAD_CBS is declared... yes

checking for gcry_control in -lgcrypt... yes

checking for GNUTLS... no

checking for TAGLIB... no

checking for NOTIFY... no

checking whether byte ordering is bigendian... no

configure: creating ./config.status

config.status: creating Makefile

config.status: creating doc/Makefile

config.status: creating modules/Makefile

config.status: creating m4/Makefile

config.status: creating po/Makefile.in

config.status: creating share/Makefile

config.status: creating compat/Makefile

config.status: creating src/Makefile

config.status: creating lib/Makefile

config.status: creating bin/Makefile

config.status: creating test/Makefile

config.status: creating modules/gui/ios_dialog_provider/Makefile

config.status: creating modules/gui/macosx/Makefile

config.status: creating modules/gui/minimal_macosx/Makefile

config.status: creating modules/gui/macosx_dialog_provider/Makefile

config.status: creating modules/gui/qt4/Makefile

config.status: creating modules/gui/skins2/Makefile

config.status: creating modules/hw/mmal/Makefile

config.status: creating config.h

config.status: config.h is unchanged

config.status: executing depfiles commands

config.status: executing libtool commands

config.status: executing po-directories commands

config.status: creating po/POTFILES

config.status: creating po/Makefile


libvlc configuration

--------------------

version               : 3.0.0-git

system                : linux

architecture          : x86_64 mmx sse sse2

optimizations         : yes

vlc aliases           : cvlc rvlc


To build vlc and its plugins, type `make', or `./compile' if you like nice colors.


apt-get install libxml2-dev  libavx11-dev 

 

XML2  YES了    X11  YES



make & make install

./vlc 界面出来了






你可能感兴趣的:(Audio/Vedio学习)