Closed mrkapqa closed 1 year ago
Seems like your Broadcom VC sysroot (/opt/vc/lib/
's EGL etc stuff) is broken, the thing defining those various symbols for the EGL driver is apparently missing. If it is still there, then for some reason your linker flags miss the dependency (if you made or installed a pkg-config file that might have things missing).
i did also this here ,
ok i fixed this first issue. on recent Raspbian jessie, you have to: run RPi-update, to obtain /opt/vc/lib/pkgconfig sudo apt install rpi-update && sudo rpi-update && sudo reboot add /opt/vc/lib/pkgconfig/ to PKG_CONFIG_PATH before running mpv-build export PKG_CONFIG_PATH=/opt/vc/lib/pkgconfig/ now the Raspberry test pass !
as seen here
https://github.com/mpv-player/mpv-build/issues/84
Thanks!
thanks, rebuilding without
export PKG_CONFIG_PATH=/opt/vc/lib/pkgconfig/
solved the issue
get this message here
[vo/rpi] This VO is deprecated! Use --vo=opengl instead (which has the same features and which is the default).
but the playback functions.
Said warning no longer exists (didn't look to see when it was removed). Anyways, no build issue here.
hello ,
tried to compile for raspberry pi2 on raspbian jessie
with the error it seems on last step
INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-1080p50_60.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-360p.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-1080p.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-720p50_60.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-720p.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/ffprobe.xsd INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/transcoding.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/demuxing_decoding.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/filtering_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/muxing.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/avio_dir_cmd.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/extract_mvs.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/encode_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/filtering_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/resampling_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/decode_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/metadata.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/remuxing.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/http_multiclient.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/avio_reading.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/qsvdec.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/decode_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/filter_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/transcode_aac.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/encode_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/scaling_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/Makefile INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/README INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-1080p50_60.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-360p.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-1080p.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-720p50_60.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/presets/libvpx-720p.ffpreset INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/ffprobe.xsd INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/transcoding.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/demuxing_decoding.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/filtering_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/muxing.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/avio_dir_cmd.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/extract_mvs.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/encode_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/filtering_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/resampling_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/decode_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/metadata.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/remuxing.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/http_multiclient.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/avio_reading.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/qsvdec.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/decode_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/filter_audio.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/transcode_aac.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/encode_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/scaling_video.c INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/Makefile INSTALL home/pi/Programs/mpv-build/ffmpeg/doc/examples/README INSTALL libavdevice/libavdevice.a INSTALL libavfilter/libavfilter.a INSTALL libavformat/libavformat.a INSTALL libpostproc/libpostproc.a INSTALL home/pi/Programs/mpv-build/ffmpeg/libavdevice/avdevice.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavdevice/version.h INSTALL libavdevice/libavdevice.pc INSTALL home/pi/Programs/mpv-build/ffmpeg/libavfilter/avfilter.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavfilter/avfiltergraph.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavfilter/buffersink.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavfilter/buffersrc.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavfilter/version.h INSTALL libavfilter/libavfilter.pc INSTALL home/pi/Programs/mpv-build/ffmpeg/libavformat/avformat.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavformat/avio.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavformat/version.h INSTALL libavformat/libavformat.pc INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/avcodec.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/avdct.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/avfft.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/d3d11va.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/dirac.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/dv_profile.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/dxva2.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/jni.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/mediacodec.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/qsv.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/vaapi.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/vda.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/vdpau.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/version.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/videotoolbox.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/vorbis_parser.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavcodec/xvmc.h INSTALL libavcodec/libavcodec.pc INSTALL home/pi/Programs/mpv-build/ffmpeg/libpostproc/postprocess.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libpostproc/version.h INSTALL libpostproc/libpostproc.pc INSTALL home/pi/Programs/mpv-build/ffmpeg/libswresample/swresample.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libswresample/version.h INSTALL libswresample/libswresample.pc INSTALL home/pi/Programs/mpv-build/ffmpeg/libswscale/swscale.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libswscale/version.h INSTALL libswscale/libswscale.pc INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/adler32.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/aes.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/aes_ctr.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/attributes.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/audio_fifo.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/avassert.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/avstring.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/avutil.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/base64.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/blowfish.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/bprint.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/bswap.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/buffer.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/cast5.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/camellia.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/channel_layout.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/common.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/cpu.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/crc.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/des.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/dict.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/display.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/downmix_info.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/error.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/eval.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/fifo.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/file.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/frame.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hash.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hmac.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hwcontext.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hwcontext_cuda.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hwcontext_dxva2.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hwcontext_qsv.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hwcontext_vaapi.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/hwcontext_vdpau.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/imgutils.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/intfloat.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/intreadwrite.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/lfg.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/log.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/macros.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/mathematics.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/mastering_display_metadata.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/md5.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/mem.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/motion_vector.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/murmur3.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/opt.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/parseutils.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/pixdesc.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/pixelutils.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/pixfmt.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/random_seed.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/rc4.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/rational.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/replaygain.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/ripemd.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/samplefmt.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/sha.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/sha512.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/spherical.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/stereo3d.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/threadmessage.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/time.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/timecode.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/timestamp.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/tree.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/twofish.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/version.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/xtea.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/tea.h INSTALL home/pi/Programs/mpv-build/ffmpeg/libavutil/lzo.h INSTALL libavutil/avconfig.h INSTALL libavutil/ffversion.h INSTALL libavutil/libavutil.pc AR libavcodec/libavcodec.a AR libswresample/libswresample.a AR libswscale/libswscale.a AR libavutil/libavutil.a INSTALL libswresample/libswresample.a INSTALL libswscale/libswscale.a INSTALL libavutil/libavutil.a LD ffmpeg_g LD ffprobe_g LD ffserver_g INSTALL libavcodec/libavcodec.a CP ffmpeg STRIP ffmpeg CP ffprobe STRIP ffprobe CP ffserver STRIP ffserver INSTALL install-progs-yes INSTALL ffmpeg INSTALL ffprobe INSTALL ffserver make: Leaving directory '/home/pi/Programs/mpv-build/ffmpeg_build' Using mpv options: --disable-drm Setting top to : /home/pi/Programs/mpv-build/mpv Setting out to : /home/pi/Programs/mpv-build/mpv/build Checking for waf version in 1.8.4-2.0.0 : ok Checking for program 'cc' : /usr/bin/cc Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for program 'ar' : /usr/bin/ar 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 program 'perl' : /usr/bin/perl Checking for 'gcc' (C compiler) : /usr/bin/cc Detected target OS: : os-linux 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 : disabled Checking for static library : disabled Checking for static build : disabled 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 C plugins : yes 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 : yes 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 Universal Windows Platform : disabled Checking for win32 desktop APIs : not found any of os-win32, os-cygwin Checking for internal pthread wrapper for win32 (Vista+) : os-win32 not found Checking for POSIX threads : yes Checking for GNU C extensions : yes Checking for stdatomic.h : yes Checking for stdatomic.h support or slow emulation : yes Checking for linking with -lrt : yes 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 Windows pipe support : win32-desktop not found Checking for glob() win32 replacement : not found any of os-win32, os-cygwin Checking for fchmod() : yes Checking for vt.h : yes Checking for gbm.h : no Checking for GLIBC API for setting thread name : yes Checking for OSX API for setting thread name : glibc-thread-name found Checking for BSD API for setting thread name : glibc-thread-name found Checking for BSD's fstatfs() : no Checking for Linux's fstatfs() : yes Checking for Samba support (makes mpv GPLv3) : disabled Checking for Lua : yes (version found: 52deb) Checking for Javascript (MuJS backend) : no ('mujs >= 1.0.0' not found) Checking for SSA/ASS support : yes Checking for libass OSD support : yes Checking for dummy OSD support : libass-osd found Checking for zlib : yes Checking for Encoding : yes Checking for Bluray support : yes Checking for dvdread support : disabled Checking for dvdnav support : disabled Checking for DVD/IFO support : not found any of dvdnav, dvdread Checking for cdda support (libcdio) : disabled 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) : no ('vapoursynth >= 24' 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 : yes Checking for RSound audio output : no Checking for sndio audio input/output : disabled Checking for PulseAudio audio output : yes 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 : yes Checking for CoreAudio audio output : no Checking for AudioUnit output for iOS : no Checking for WASAPI audio output : os-win32 not found Checking for Cocoa : no Checking for DRM : disabled 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 : yes Checking for Xv video output : yes Checking for OpenGL Cocoa Backend : cocoa not found Checking for OpenGL X11 Backend : yes Checking for OpenGL X11 EGL Backend : yes Checking for OpenGL DRM EGL Backend : gbm, drm not found Checking for OpenGL Wayland Backend : wayland not found Checking for OpenGL Win32 Backend : win32-desktop not found Checking for OpenGL/DirectX Interop Backend : gl-win32 not found Checking for OpenGL ANGLE headers : not found any of os-win32, os-cygwin Checking for OpenGL Win32 ANGLE Library : egl-angle not found Checking for OpenGL Win32 ANGLE Backend : egl-angle, win32-desktop not found Checking for VDPAU acceleration : no ('vdpau >= 0.2' not found) Checking for VDPAU with OpenGL/X11 : vdpau not found Checking for VAAPI acceleration : no ('libva >= 0.36.0' not found) Checking for VAAPI (X11 support) : 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 : vaapi-x11 not found Checking for VAAPI EGL on X11 : vaapi-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 : yes Checking for Direct3D support : win32-desktop not found Checking for Android support : no Checking for Raspberry Pi support : no ('bcm_host' not found) Checking for iOS OpenGL ES hardware decoding interop support : no Checking for OpenGL without platform-specific code (e.g. for libmpv) : not found any of libmpv-shared, libmpv-static Checking for MALI via Linux fbdev : no Checking for OpenGL video outputs : yes Checking for EGL helper functions : yes Checking for FFmpeg/Libav present : yes Checking for libav* is FFmpeg : yes Checking for libav* is Libav : no Checking for Libav/FFmpeg library versions : yes Checking for libavdevice : yes Checking for libavutil GPU memcpy for hardware decoding : yes Checking for libavutil content light level struct : no Checking for libavcodec VAAPI hwaccel (FFmpeg 3.3 API) : vaapi not found Checking for libavcodec videotoolbox hwaccel (new API) : gl-cocoa not found Checking for libavcodec videotoolbox hwaccel (old API) : gl-cocoa not found Checking for libavcodec videotoolbox hwaccel : not found any of videotoolbox-hwaccel-old, videotoolbox-hwaccel-new Checking for Videotoolbox with OpenGL : videotoolbox-hwaccel, gl-cocoa not found Checking for libavcodec VDPAU hwaccel (FFmpeg 3.3 API) : vdpau not found Checking for D3D11VA hwaccel (plus ANGLE) : os-win32, egl-angle not found Checking for D3D11VA hwaccel (new API) : d3d-hwaccel not found Checking for DXVA2 hwaccel (plus ANGLE) : egl-angle-win32, d3d-hwaccel not found Checking for OpenGL/DirectX Interop Backend DXVA2 interop : d3d9-hwaccel, gl-dxinterop not found Checking for CUDA hwaccel : yes Checking for GCC SSE4 intrinsics for GPU memcpy : not found any of d3d-hwaccel Checking for TV interface : disabled Checking for videoio.h : tv not found Checking for videodev2.h : tv not found 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 : disabled Checking for w32 executable : not found any of os-win32, os-cygwin Checking for Apple Remote support : cocoa not found Checking for macOS Touch Bar support : cocoa not found Writing configuration header: : config.h 'configure' finished successfully (34.135s) Waf: Entering directory
/home/pi/Programs/mpv-build/mpv/build' [ 1/215] Compiling version.sh [ 2/215] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns [ 3/215] Compiling etc/mpv-icon-8bit-16x16.png [ 4/215] Compiling etc/mpv-icon-8bit-32x32.png [ 5/215] Compiling etc/mpv-icon-8bit-64x64.png [ 6/215] Compiling etc/mpv-icon-8bit-128x128.png [ 7/215] Compiling etc/input.conf [ 8/215] Compiling etc/builtin.conf [ 9/215] Compiling sub/osd_font.otf [ 10/215] Compiling player/lua/defaults.lua [ 11/215] Compiling player/lua/assdraw.lua [ 12/215] Compiling player/lua/options.lua [ 13/215] Compiling player/lua/osc.lua [ 14/215] Compiling player/lua/ytdl_hook.lua [ 15/215] Compiling player/javascript/defaults.js [ 16/215] Creating build/ebml_types.h [ 17/215] Creating build/ebml_defs.c [ 18/215] Compiling libmpv/mpv.def [ 19/215] Compiling audio/filter/af_lavrresample.c [ 20/215] Compiling options/m_property.c [ 21/215] Compiling misc/thread_pool.c [ 22/215] Compiling player/external_files.c [ 23/215] Compiling video/filter/vf_lavfi.c [ 24/215] Compiling video/hwdec.c [ 25/215] Compiling video/out/filter_kernels.c [ 26/215] Compiling sub/draw_bmp.c [ 27/215] Compiling audio/filter/af_pan.c [ 28/215] Compiling demux/packet.c [ 29/215] Compiling input/input.c [ 30/215] Compiling video/filter/vf_format.c [ 31/215] Compiling video/filter/vf_sub.c [ 32/215] Compiling audio/decode/ad_spdif.c [ 33/215] Compiling video/out/vo_x11.c [ 34/215] Compiling video/out/opengl/video.c [ 35/215] Compiling misc/dispatch.c [ 36/215] Compiling audio/fmt-conversion.c [ 37/215] Compiling audio/audio_buffer.c [ 38/215] Compiling ta/ta.c [ 39/215] Compiling audio/filter/af_channels.c [ 40/215] Compiling ta/ta_talloc.c [ 41/215] Compiling stream/cache_file.c [ 42/215] Compiling video/out/opengl/hwdec.c [ 43/215] Compiling osdep/threads.c [ 44/215] Compiling video/decode/vd_lavc.c [ 45/215] Compiling video/img_format.c [ 46/215] Compiling options/path.c [ 47/215] Compiling demux/demux_rar.c [ 48/215] Compiling player/lavfi.c ../video/out/opengl/video.c: In function 'uninit_video': ../video/out/opengl/video.c:971:21: warning: missing braces around initializer [-Wmissing-braces] vimg = (struct video_image){0}; ^ ../video/out/opengl/video.c:971:21: warning: (near initialization for '(anonymous).planes') [-Wmissing-braces] ../video/out/opengl/video.c: In function 'render_pass_quad': ../video/out/opengl/video.c:1076:12: warning: missing braces around initializer [-Wmissing-braces] struct vertex va[4] = {0}; ^ ../video/out/opengl/video.c:1076:12: warning: (near initialization for 'va[0]') [-Wmissing-braces] ../video/out/opengl/video.c: In function 'gl_video_perfdata': ../video/out/opengl/video.c:2995:20: warning: missing braces around initializer [-Wmissing-braces] out = (struct voctrl_performance_data){0}; ^ ../video/out/opengl/video.c:2995:20: warning: (near initialization for '(anonymous).fresh') [-Wmissing-braces] ../video/out/opengl/video.c: In function 'reinterleave_vdpau': ../video/out/opengl/video.c:3003:12: warning: missing braces around initializer [-Wmissing-braces] struct gl_hwdec_frame res = {0}; ^ ../video/out/opengl/video.c:3003:12: warning: (near initialization for 'res.planes') [-Wmissing-braces] ../video/out/opengl/video.c: In function 'pass_upload_image': ../video/out/opengl/video.c:3066:16: warning: missing braces around initializer [-Wmissing-braces] struct gl_hwdec_frame gl_frame = {0}; ^ ../video/out/opengl/video.c:3066:16: warning: (near initialization for 'gl_frame.planes') [-Wmissing-braces][ 49/215] Compiling input/ipc.c [ 50/215] Compiling stream/stream_lavf.c [ 51/215] Compiling video/out/win_state.c [ 52/215] Compiling input/cmd_list.c [ 53/215] Compiling stream/stream_edl.c [ 54/215] Compiling video/filter/refqueue.c [ 55/215] Compiling demux/demux_raw.c [ 56/215] Compiling audio/out/ao_alsa.c [ 57/215] Compiling player/osd.c [ 58/215] Compiling video/out/opengl/utils.c [ 59/215] Compiling audio/chmap_sel.c [ 60/215] Compiling audio/filter/af_format.c [ 61/215] Compiling stream/stream_memory.c [ 62/215] Compiling sub/filter_sdh.c [ 63/215] Compiling demux/demux_null.c [ 64/215] Compiling video/filter/vf_yadif.c [ 65/215] Compiling video/filter/vf_rotate.c [ 66/215] Compiling common/common.c [ 67/215] Compiling stream/stream_file.c [ 68/215] Compiling osdep/subprocess.c [ 69/215] Compiling input/ipc-unix.c [ 70/215] Compiling audio/filter/af_volume.c [ 71/215] Compiling misc/rendezvous.c [ 72/215] Compiling options/m_option.c [ 73/215] Compiling input/event.c [ 74/215] Compiling video/out/bitmap_packer.c [ 75/215] Compiling stream/cookies.c [ 76/215] Compiling video/out/opengl/osd.c [ 77/215] Compiling common/playlist.c [ 78/215] Compiling audio/filter/af_scaletempo.c [ 79/215] Compiling video/image_loader.c [ 80/215] Compiling video/out/aspect.c [ 81/215] Compiling video/out/opengl/formats.c [ 82/215] Compiling audio/decode/dec_audio.c [ 83/215] Compiling demux/demux_edl.c [ 84/215] Compiling audio/filter/af_lavfi.c [ 85/215] Compiling audio/out/ao_pulse.c [ 86/215] Compiling player/command.c [ 87/215] Compiling video/out/opengl/cuda_dynamic.c [ 88/215] Compiling video/filter/vf_noformat.c [ 89/215] Compiling video/filter/vf_eq.c [ 90/215] Compiling sub/sd_ass.c [ 91/215] Compiling osdep/subprocess-posix.c [ 92/215] Compiling player/sub.c [ 93/215] Compiling misc/bstr.c [ 94/215] Compiling video/out/vo_null.c [ 95/215] Compiling demux/demux_mf.c [ 96/215] Compiling video/mp_image.c [ 97/215] Compiling demux/cue.c ../player/command.c: In function 'mp_property_vo_passes': ../player/command.c:2964:12: warning: missing braces around initializer [-Wmissing-braces] struct voctrl_performance_data data = {0}; ^ ../player/command.c:2964:12: warning: (near initialization for 'data.fresh') [-Wmissing-braces]
[ 98/215] Compiling video/out/vo_xv.c [ 99/215] Compiling stream/stream_avdevice.c [100/215] Compiling osdep/timer.c [101/215] Compiling player/audio.c [102/215] Compiling video/out/opengl/lcms.c [103/215] Compiling options/parse_commandline.c [104/215] Compiling stream/rar.c [105/215] Compiling common/av_common.c [106/215] Compiling common/encode_lavc.c [107/215] Compiling common/recorder.c [108/215] Compiling audio/out/ao.c [109/215] Compiling video/out/vo_lavc.c [110/215] Compiling audio/out/pull.c [111/215] Compiling common/version.c [112/215] Compiling stream/stream_mf.c [113/215] Compiling audio/out/push.c [114/215] Compiling video/image_writer.c [115/215] Compiling stream/stream_cb.c [116/215] Compiling audio/out/ao_lavc.c [117/215] Compiling video/filter/vf_flip.c [118/215] Compiling player/video.c [119/215] Compiling osdep/path-unix.c [120/215] Compiling player/configfiles.c [121/215] Compiling sub/img_convert.c [122/215] Compiling demux/ebml.c [123/215] Compiling video/fmt-conversion.c [124/215] Compiling video/out/opengl/context.c [125/215] Compiling demux/demux_mkv.c [126/215] Compiling video/decode/hw_cuda.c [127/215] Compiling common/codecs.c [128/215] Compiling audio/filter/af_equalizer.c [129/215] Compiling osdep/timer-linux.c [130/215] Compiling demux/demux_cue.c [131/215] Compiling audio/chmap.c [132/215] Compiling osdep/io.c [133/215] Compiling video/mp_image_pool.c [134/215] Compiling video/decode/dec_video.c [135/215] Compiling video/filter/vf_gradfun.c [136/215] Compiling demux/demux_playlist.c ../demux/demux_mkv.c: In function 'demux_mkv_read_info': ../demux/demux_mkv.c:394:12: warning: missing braces around initializer [-Wmissing-braces] struct ebml_info info = {0}; ^ ../demux/demux_mkv.c:394:12: warning: (near initialization for 'info.segment_uid') [-Wmissing-braces]
[137/215] Compiling video/out/opengl/common.c [138/215] Compiling video/sws_utils.c [139/215] Compiling video/out/opengl/egl_helpers.c [140/215] Compiling video/out/dither.c [141/215] Compiling audio/filter/af_lavcac3enc.c [142/215] Compiling sub/osd_libass.c [143/215] Compiling demux/timeline.c [144/215] Compiling player/misc.c [145/215] Compiling demux/demux.c [146/215] Compiling sub/dec_sub.c [147/215] Compiling video/out/opengl/context_x11egl.c [148/215] Compiling player/client.c [149/215] Compiling misc/charset_conv.c [150/215] Compiling audio/filter/af.c [151/215] Compiling video/filter/vf.c [152/215] Compiling video/out/vo_opengl_cb.c [153/215] Compiling video/filter/vf_expand.c [154/215] Compiling options/parse_configfile.c [155/215] Compiling video/filter/vf_dsize.c [156/215] Compiling sub/osd.c [157/215] Compiling audio/out/ao_null.c [158/215] Compiling sub/ass_mp.c [159/215] Compiling input/cmd_parse.c [160/215] Compiling video/out/opengl/user_shaders.c [161/215] Compiling misc/node.c [162/215] Compiling demux/demux_mkv_timeline.c [163/215] Compiling video/out/x11_common.c [164/215] Compiling stream/stream.c [165/215] Compiling player/scripting.c [166/215] Compiling video/out/opengl/hwdec_cuda.c [167/215] Compiling osdep/main-fn-unix.c [168/215] Compiling video/filter/vf_crop.c ../video/out/opengl/hwdec_cuda.c: In function 'map_frame': ../video/out/opengl/hwdec_cuda.c:281:26: warning: missing braces around initializer [-Wmissing-braces] *out_frame = (struct gl_hwdec_frame) { 0, }; ^ ../video/out/opengl/hwdec_cuda.c:281:26: warning: (near initialization for '(anonymous).planes') [-Wmissing-braces]
[169/215] Compiling sub/lavc_conv.c [170/215] Compiling demux/demux_lavf.c [171/215] Compiling stream/stream_rar.c [172/215] Compiling video/filter/vf_buffer.c [173/215] Compiling misc/ring.c [174/215] Compiling input/keycodes.c [175/215] Compiling player/lua.c [176/215] Compiling video/out/opengl/context_x11.c [177/215] Compiling video/out/vo.c [178/215] Compiling ta/ta_utils.c [179/215] Compiling audio/filter/tools.c [180/215] Compiling video/filter/vf_mirror.c [181/215] Compiling player/loadfile.c [182/215] Compiling demux/codec_tags.c [183/215] Compiling audio/out/ao_pcm.c [184/215] Compiling audio/format.c [185/215] Compiling osdep/semaphore_osx.c [186/215] Compiling demux/demux_disc.c [187/215] Compiling video/out/opengl/video_shaders.c [188/215] Compiling stream/ai_alsa1x.c [189/215] Compiling player/playloop.c [190/215] Compiling player/main.c [191/215] Compiling osdep/terminal-unix.c [192/215] Compiling video/out/vo_image.c [193/215] Compiling video/out/vo_opengl.c [194/215] Compiling common/msg.c [195/215] Compiling video/filter/vf_pullup.c [196/215] Compiling options/m_config.c [197/215] Compiling player/screenshot.c [198/215] Compiling stream/cache.c [199/215] Compiling sub/sd_lavc.c [200/215] Compiling video/filter/vf_scale.c [201/215] Compiling common/tags.c [202/215] Compiling video/filter/vf_stereo3d.c [203/215] Compiling options/options.c [204/215] Compiling misc/json.c [205/215] Compiling audio/audio.c [206/215] Compiling audio/out/ao_oss.c [207/215] Compiling stream/ai_oss.c [208/215] Compiling audio/decode/ad_lavc.c [209/215] Compiling stream/stream_bluray.c [210/215] Compiling stream/stream_null.c [211/215] Compiling video/csputils.c [212/215] Compiling video/out/vo_tct.c [213/215] Compiling demux/demux_timeline.c [214/215] Compiling common/av_log.c [215/215] Linking build/mpv /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_CheckFramebufferStatus' /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_BindRenderbuffer' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_DeleteFramebuffers' /opt/vc/lib//libEGL.so: undefined reference to
glxx_set_error' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_RenderbufferStorage' /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_state_free' /opt/vc/lib//libEGL.so: undefined reference togl11_client_state_init' /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_GetFramebufferAttachmentParameteriv' /opt/vc/lib//libEGL.so: undefined reference toglDiscardFramebufferEXT' /opt/vc/lib//libEGL.so: undefined reference to
glxx_set_error_api' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_IsRenderbuffer' /opt/vc/lib//libEGL.so: undefined reference to
glxx_buffer_info_set' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_GenerateMipmap' /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_FramebufferTexture2D' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_GetRenderbufferParameteriv' /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_IsFramebuffer' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_GenRenderbuffers' /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_GenFramebuffers' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_FramebufferRenderbuffer' /opt/vc/lib//libEGL.so: undefined reference to
glintAttribPointer' /opt/vc/lib//libEGL.so: undefined reference toglxx_client_BindFramebuffer' /opt/vc/lib//libEGL.so: undefined reference to
gl20_client_state_init' /opt/vc/lib//libEGL.so: undefined reference toglxx_buffer_info_get' /opt/vc/lib//libEGL.so: undefined reference to
glxx_client_DeleteRenderbuffers' collect2: error: ld returned 1 exit statusWaf: Leaving directory
/home/pi/Programs/mpv-build/mpv/build' Build failed -> task in 'mpv' failed with exit status 1 (run with -v to display more information)
Please advise on how to do it right.
i just followed the advice here
(build it yourself) https://nwgat.ninja/quick-easy-compiling-mpv-for-raspberry-pi/
Thank you!