iT-Boyer / SISpeciesNotes

Realm数据库基础教程-样例
1 stars 0 forks source link

在air环境下编译mpv-build #4

Open iT-Boyer opened 8 years ago

iT-Boyer commented 8 years ago
git clone mpv-build.git
cd mpv-build/
./rebuild -j4
cd ffmpeg/
./configure --enable-shared
make   #$ make -v : GNU Make 3.81 This program built for i386-apple-darwin11.3.0
make install

$: ffmpeg -i ~/Desktop/15M00S.mp4
ffmpeg version N-80960-ga2550e7 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.3.0 (clang-703.0.31)
  configuration: --enable-shared
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100

在执行以下命令出现问题:

./waf configure --enable-static-build --enable-libmpv-shared  --disable-libass
...问题..
Checking for libav/ffmpeg   : no ('libavutil >= 54.02.0 libavcodec >= 56.1.0 libavformat >= 56.01.0 libswscale >= 2.1.3' not found)
Unable to find development files for some of the required FFmpeg/Libav libraries. You need at least FFmpeg 2.4 or Libav 11. Aborting.
....

2016-07-12 9 45 32

iT-Boyer commented 8 years ago
./waf configure --enable-static-build --enable-libmpv-shared --disable-libass
Setting top to                           : /Users/pengyucheng/mpv2/mpv-build/mpv 
Setting out to                           : /Users/pengyucheng/mpv2/mpv-build/mpv/build 
Checking for waf version in 1.8.4-1.9.0  : ok 
Checking for program 'cc'                : /usr/bin/cc 
Checking for program 'pkg-config'        : /usr/local/bin/pkg-config 
Checking for program 'ar'                : /usr/bin/ar 
Checking for program 'perl'              : /usr/bin/perl 
Checking for program 'rst2html'          : not found 
Checking for program 'rst2man'           : not found 
Checking for program 'rst2pdf'           : not found 
Checking for program 'windres'           : not found 
Checking for 'clang' (C compiler)        : d/usr/bin/cc 
Detected target OS:                      : os-darwin 
Checking for compiler flags -Werror=implicit-function-declaration : yes 
Checking for compiler flags -Wno-error=deprecated-declarations    : yes 
Checking for compiler flags -Wno-error=unused-function            : yes 
Checking for compiler flags -Wempty-body                          : yes 
Checking for compiler flags -Wdisabled-optimization               : yes 
Checking for compiler flags -Wstrict-prototypes                   : yes 
Checking for compiler flags -Wno-format-zero-length               : yes 
Checking for compiler flags -Werror=format-security               : yes 
Checking for compiler flags -Wno-redundant-decls                  : yes 
Checking for mpv CLI player                                       : yes 
Checking for shared library                                       : yes 
Checking for static library                                       : disabled 
Checking for static build                                         : yes 
Checking for whether to include binary compile time               : yes 
Checking for whether to optimize                                  : yes 
Checking for whether to compile-in debugging information          : yes 
Checking for manpage generation                                   : no (missing RST2MAN) 
Checking for html manual generation                               : disabled 
Checking for pdf manual generation                                : disabled 
Checking for dynamic loader                                       : yes 
Checking for dlopen                                               : yes 
Checking for compilation of default filters for vf_dlopen         : disabled 
Checking for zsh completion                                       : disabled 
Checking for inline assembly (currently without effect)           : yes 
Checking for test suite (using cmocka)                            : disabled 
Checking for generate a clang compilation database                : disabled 
Checking for compiler support for noexecstack                     : no 
Checking for linker support for --nxcompat --no-seh --dynamicbase : no 
Checking for -lm                                                  : yes 
Checking for MinGW                                                : os-win32 not found 
Checking for POSIX environment                                    : yes 
Checking for development environment                              : yes 
Checking for win32                                                : not found any of os-win32, os-cygwin 
Checking for internal pthread wrapper for win32 (Vista+)          : win32 not found 
Checking for POSIX threads                                        : yes 
Checking for stdatomic.h                                          : yes 
Checking for compiler support for __atomic built-ins              : stdatomic found 
Checking for compiler support for __sync built-ins                : stdatomic found 
Checking for compiler support for usable thread synchronization built-ins : yes 
Checking for C11 TLS support                                              : yes 
Checking for linking with -lrt                                            : no 
Checking for iconv                                                        : yes 
Checking for w32/dos paths                                                : not found any of os-win32, os-cygwin 
Checking for termios                                                      : yes 
Checking for shm                                                          : yes 
Checking for nanosleep                                                    : yes 
Checking for POSIX spawnp()/kill()                                        : yes 
Checking for posix_spawnp() or MinGW                                      : yes 
Checking for glob()                                                       : yes 
Checking for glob() win32 replacement                                     : not found any of os-win32, os-cygwin 
Checking for fchmod()                                                     : yes 
Checking for vt.h                                                         : no 
Checking for gbm.h                                                        : no 
Checking for GLIBC API for setting thread name                            : no 
Checking for OSX API for setting thread name                              : yes 
Checking for BSD API for setting thread name                              : osx-thread-name found 
Checking for NetBSD API for setting thread name                           : osx-thread-name found 
Checking for BSD's fstatfs()                                              : yes 
Checking for Linux's fstatfs()                                            : os-linux not found 
Checking for Samba support                                                : no ('smbclient' not found) 
Checking for Lua                                                          : no ('luajit >= 2.0.0' not found) 
Checking for SSA/ASS support                                              : disabled 
Checking for libass OSD support                                           : libass not found 
Checking for dummy OSD support                                            : yes 
Checking for zlib                                                         : yes 
Checking for Encoding                                                     : yes 
Checking for Bluray support                                               : no ('libbluray >= 0.3.0' not found) 
Checking for dvdread support                                              : no ('dvdread >= 4.1.0' not found) 
Checking for dvdnav support                                               : dvdread not found 
Checking for cdda support (libcdio)                                       : no ('libcdio_paranoia' not found) 
Checking for ENCA support                                                 : no 
Checking for libguess support                                             : no ('libguess >= 1.0' not found) 
Checking for uchardet support                                             : no ('uchardet' not found) 
Checking for librubberband support                                        : no ('rubberband >= 1.8.0' not found) 
Checking for LCMS2 support                                                : no ('lcms2 >= 2.6' not found) 
Checking for VapourSynth filter bridge (Python)                           : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found) 
Checking for VapourSynth filter bridge (Lazy Lua)                         : lua not found 
Checking for VapourSynth filter bridge (core)                             : not found any of vapoursynth-lazy, vapoursynth 
Checking for libarchive wrapper for reading zip files and more            : disabled 
Checking for SDL2                                                         : disabled 
Checking for SDL (1.x)                                                    : disabled 
Checking for OSS (implementation from opensound.com)                      : no 
Checking for OSS (platform-specific OSS implementation)                   : no 
Checking for OSS (emulation on top of SunAudio)                           : no 
Checking for OSS audio output                                             : not found any of oss-audio-native, oss-audio-4front, oss-audio-sunaudio 
Checking for RSound audio output                                          : no 
Checking for sndio audio input/output                                     : disabled 
Checking for PulseAudio audio output                                      : no ('libpulse >= 1.0' not found) 
Checking for JACK audio output                                            : no ('jack' not found) 
Checking for OpenAL audio output                                          : disabled 
Checking for OpenSL ES audio output                                       : no 
Checking for ALSA audio output                                            : no ('alsa >= 1.0.18' not found) 
Checking for CoreAudio audio output                                       : yes 
Checking for WASAPI audio output                                          : win32 not found 
Checking for Cocoa                                                        : yes 
Checking for DRM                                                          : vt.h not found 
Checking for GBM                                                          : gbm.h not found 
Checking for Wayland                                                      : no ('wayland-client >= 1.6.0 wayland-cursor >= 1.6.0 xkbcommon >= 0.3.0' not found) 
Checking for X11                                                          : no ('x11' not found) 
Checking for Xss screensaver extensions                                   : x11 not found 
Checking for X extensions                                                 : x11 not found 
Checking for Xv video output                                              : x11 not found 
Checking for Xinerama                                                     : x11 not found 
Checking for Xrandr                                                       : x11 not found 
Checking for OpenGL Cocoa Backend                                         : yes 
Checking for OpenGL X11 Backend                                           : x11 not found 
Checking for OpenGL X11 EGL Backend                                       : x11 not found 
Checking for OpenGL DRM EGL Backend                                       : gbm, drm not found 
Checking for OpenGL Wayland Backend                                       : wayland not found 
Checking for OpenGL Win32 Backend                                         : win32 not found 
Checking for OpenGL/DirectX Interop Backend                               : gl-win32 not found 
Checking for OpenGL Win32 ANGLE Backend                                   : not found any of os-win32, os-cygwin 
Checking for VDPAU acceleration                                           : x11 not found 
Checking for VDPAU with OpenGL/X11                                        : gl-x11, vdpau not found 
Checking for VAAPI acceleration                                           : not found any of x11, egl-drm, wayland 
Checking for VAAPI (X11 support)                                          : x11, vaapi not found 
Checking for VAAPI (Wayland support)                                      : gl-wayland, vaapi not found 
Checking for VAAPI (DRM/EGL support)                                      : vaapi, egl-drm not found 
Checking for VAAPI GLX                                                    : gl-x11, vaapi-x11 not found 
Checking for VAAPI EGL on X11                                             : vaapi-x11, egl-x11 not found 
Checking for VAAPI EGL                                                    : not found any of vaapi-wayland, vaapi-x-egl 
Checking for CACA                                                         : no ('caca >= 0.99.beta18' not found) 
Checking for JPEG support                                                 : no 
Checking for Direct3D support                                             : win32 not found 
Checking for Android support                                              : no 
Checking for Raspberry Pi support                                         : no 
Checking for Desktop standard OpengGL support                             : no 
Checking for Android OpenGL ES support                                    : android not found 
Checking for Any OpenGL (ES) support                                      : yes 
Checking for OpenGL without platform-specific code (e.g. for libmpv)      : yes 
Checking for OpenGL video outputs                                         : yes 
Checking for EGL helper functions                                         : not found any of egl-x11 
Checking for libav/ffmpeg                                                 : yes 
Checking for libswresample                                                : yes 
Checking for libavresample                                                : libswresample found 
Checking for usable resampler found                                       : yes 
Checking for libavfilter                                                  : yes 
Checking for libavdevice                                                  : yes 
Checking for libavcodec avcodec_enum_to_chroma_pos API                    : yes 
Checking for libavutil AVFrame metadata                                   : yes 
Checking for libavutil AVFrame skip samples metadata                      : yes 
Checking for libavutil AV_PIX_FMT_MMAL                                    : yes 
Checking for libavtuil av_version_info()                                  : yes 
Checking for libavutil new pixdesc fields                                 : yes 
Checking for libavcodec 64 bit AVPacket.duration                          : yes 
Checking for libavcodec AVSubtitleRect AVPicture removal                  : yes 
Checking for libavcodec avcodec_profile_name()                            : yes 
Checking for libavcodec decode/encode API                                 : yes 
Checking for libavcodec AVCodecParameters API                             : yes 
Checking for libavutil AVHWFramesContext API                              : yes 
Checking for libavutil HDR TRCs                                           : yes 
Checking for libavcodec VAAPI hwaccel                                     : vaapi not found 
Checking for libavcodec videotoolbox hwaccel                              : yes 
Checking for Videotoolbox with OpenGL                                     : yes 
Checking for libavcodec VDPAU hwaccel                                     : vdpau not found 
Checking for libavcodec DXVA2 and D3D11VA hwaccel                         : win32 not found 
Checking for GCC SSE4 intrinsics for GPU memcpy                           : not found any of vaapi-hwaccel, d3d-hwaccel 
Checking for TV interface                                                 : yes 
Checking for videoio.h                                                    : no 
Checking for videodev2.h                                                  : no 
Checking for Video4Linux2 TV interface                                    : not found any of sys_videoio_h, videodev 
Checking for libv4l2 support                                              : tv-v4l2 not found 
Checking for audio input support                                          : not found any of tv-v4l2 
Checking for DVB input module                                             : no 
Checking for w32 executable                                               : not found any of os-win32, os-cygwin 
Checking for Apple Remote support                                         : yes 
Writing configuration header:                                             : config.h 
'configure' finished successfully (26.975s)