Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Build fails on Linux with ffmpeg compiled from source #76

Open
LukasKnuth opened this issue Jul 25, 2019 · 2 comments
Open

Build fails on Linux with ffmpeg compiled from source #76

LukasKnuth opened this issue Jul 25, 2019 · 2 comments

Comments

@LukasKnuth
Copy link

I'm trying to build this crate on Ubuntu (running via Linux Subsystem for Windows). Steps:

  1. I have compiled ffmpeg from source as by these instructions.
  2. I have setup the PKG_CONFIG_PATH-env variable to pickug the compiled ffmpeg libraries from my home-directory.
  3. I have installed both linux-libc-dev and linux-headers-generic to get limits.h

Below is the output of cargo build with backtrace:

lukas@LAPTOP-Lukas:/mnt/c/Users/Lukas/dev/project$ RUST_BACKTRACE=1 cargo build
   Compiling ffmpeg-sys v3.4.1
error: failed to run custom build command for `ffmpeg-sys v3.4.1`

Caused by:
  process didn't exit successfully: `/mnt/c/Users/Lukas/dev/project/target/debug/build/ffmpeg-sys-e8b70330e8b9319e/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=avformat
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=avcodec
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=fdk-aac
cargo:rustc-link-lib=m
cargo:rustc-link-lib=mp3lame
cargo:rustc-link-lib=m
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=vorbisenc
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=va
cargo:rustc-link-lib=swresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=avfilter
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ass
cargo:rustc-link-lib=m
cargo:rustc-link-lib=harfbuzz
cargo:rustc-link-lib=m
cargo:rustc-link-lib=glib-2.0
cargo:rustc-link-lib=pcre
cargo:rustc-link-lib=graphite2
cargo:rustc-link-lib=fontconfig
cargo:rustc-link-lib=expat
cargo:rustc-link-lib=freetype
cargo:rustc-link-lib=expat
cargo:rustc-link-lib=fribidi
cargo:rustc-link-lib=freetype
cargo:rustc-link-lib=png16
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=va
cargo:rustc-link-lib=freetype
cargo:rustc-link-lib=png16
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=swscale
cargo:rustc-link-lib=m
cargo:rustc-link-lib=postproc
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avformat
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=avcodec
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=fdk-aac
cargo:rustc-link-lib=m
cargo:rustc-link-lib=mp3lame
cargo:rustc-link-lib=m
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=vorbisenc
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=va
cargo:rustc-link-lib=swresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=avdevice
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avfilter
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ass
cargo:rustc-link-lib=m
cargo:rustc-link-lib=harfbuzz
cargo:rustc-link-lib=m
cargo:rustc-link-lib=glib-2.0
cargo:rustc-link-lib=pcre
cargo:rustc-link-lib=graphite2
cargo:rustc-link-lib=fontconfig
cargo:rustc-link-lib=expat
cargo:rustc-link-lib=freetype
cargo:rustc-link-lib=expat
cargo:rustc-link-lib=fribidi
cargo:rustc-link-lib=freetype
cargo:rustc-link-lib=png16
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=va
cargo:rustc-link-lib=freetype
cargo:rustc-link-lib=png16
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=swscale
cargo:rustc-link-lib=m
cargo:rustc-link-lib=postproc
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avformat
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=avcodec
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=fdk-aac
cargo:rustc-link-lib=m
cargo:rustc-link-lib=mp3lame
cargo:rustc-link-lib=m
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=vorbisenc
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=va
cargo:rustc-link-lib=swresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=avresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=swscale
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=swresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
cargo:rustc-link-search=native=/home/lukas/ffmpeg_build/lib
cargo:rustc-link-lib=avcodec
cargo:rustc-link-lib=m
cargo:rustc-link-lib=z
cargo:rustc-link-lib=fdk-aac
cargo:rustc-link-lib=m
cargo:rustc-link-lib=mp3lame
cargo:rustc-link-lib=m
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=vorbisenc
cargo:rustc-link-lib=vorbis
cargo:rustc-link-lib=m
cargo:rustc-link-lib=ogg
cargo:rustc-link-lib=va
cargo:rustc-link-lib=swresample
cargo:rustc-link-lib=m
cargo:rustc-link-lib=avutil
cargo:rustc-link-lib=va-drm
cargo:rustc-link-lib=va
cargo:rustc-link-lib=m
cargo:rustc-link-lib=va
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
stdout=[FF_API_OLD_AVOPTIONS]00
[FF_API_PIX_FMT]00
[FF_API_CONTEXT_SIZE]00
[FF_API_PIX_FMT_DESC]00
[FF_API_AV_REVERSE]00
[FF_API_AUDIOCONVERT]00
[FF_API_CPU_FLAG_MMX2]00
[FF_API_LLS_PRIVATE]00
[FF_API_AVFRAME_LAVC]00
[FF_API_VDPAU]00
[FF_API_GET_CHANNEL_LAYOUT_COMPAT]00
[FF_API_XVMC]01
[FF_API_OPT_TYPE_METADATA]00
[FF_API_DLOG]00
[FF_API_HMAC]00
[FF_API_VAAPI]11
[FF_API_PKT_PTS]11
[FF_API_ERROR_FRAME]11
[FF_API_FRAME_QP]11
[FF_API_VIMA_DECODER]00
[FF_API_REQUEST_CHANNELS]00
[FF_API_OLD_DECODE_AUDIO]00
[FF_API_OLD_ENCODE_AUDIO]00
[FF_API_OLD_ENCODE_VIDEO]00
[FF_API_CODEC_ID]00
[FF_API_AUDIO_CONVERT]00
[FF_API_AVCODEC_RESAMPLE]00
[FF_API_DEINTERLACE]00
[FF_API_DESTRUCT_PACKET]00
[FF_API_GET_BUFFER]00
[FF_API_MISSING_SAMPLE]00
[FF_API_LOWRES]11
[FF_API_CAP_VDPAU]00
[FF_API_BUFS_VDPAU]00
[FF_API_VOXWARE]00
[FF_API_SET_DIMENSIONS]00
[FF_API_DEBUG_MV]01
[FF_API_AC_VLC]00
[FF_API_OLD_MSMPEG4]00
[FF_API_ASPECT_EXTENDED]00
[FF_API_THREAD_OPAQUE]00
[FF_API_CODEC_PKT]00
[FF_API_ARCH_ALPHA]00
[FF_API_XVMC]01
[FF_API_ERROR_RATE]00
[FF_API_QSCALE_TYPE]00
[FF_API_MB_TYPE]00
[FF_API_MAX_BFRAMES]00
[FF_API_NEG_LINESIZES]00
[FF_API_EMU_EDGE]00
[FF_API_ARCH_SH4]00
[FF_API_ARCH_SPARC]00
[FF_API_UNUSED_MEMBERS]00
[FF_API_IDCT_XVIDMMX]00
[FF_API_INPUT_PRESERVED]00
[FF_API_NORMALIZE_AQP]00
[FF_API_GMC]00
[FF_API_MV0]00
[FF_API_CODEC_NAME]00
[FF_API_AFD]00
[FF_API_VISMV]00
[FF_API_DV_FRAME_PROFILE]00
[FF_API_AUDIOENC_DELAY]00
[FF_API_VAAPI_CONTEXT]00
[FF_API_AVCTX_TIMEBASE]11
[FF_API_MPV_OPT]00
[FF_API_STREAM_CODEC_TAG]00
[FF_API_QUANT_BIAS]00
[FF_API_RC_STRATEGY]00
[FF_API_CODED_FRAME]11
[FF_API_MOTION_EST]00
[FF_API_WITHOUT_PREFIX]00
[FF_API_CONVERGENCE_DURATION]11
[FF_API_PRIVATE_OPT]11
[FF_API_CODER_TYPE]11
[FF_API_RTP_CALLBACK]11
[FF_API_STAT_BITS]11
[FF_API_VBV_DELAY]11
[FF_API_SIDEDATA_ONLY_PKT]11
[FF_API_AVPICTURE]11
[FF_API_LAVF_BITEXACT]00
[FF_API_LAVF_FRAC]00
[FF_API_URL_FEOF]00
[FF_API_PROBESIZE_32]00
[FF_API_LAVF_AVCTX]11
[FF_API_OLD_OPEN_CALLBACKS]11
[avcodec_version_greater_than_56_0]1
[avcodec_version_greater_than_56_1]1
[avcodec_version_greater_than_56_2]1
[avcodec_version_greater_than_56_3]1
[avcodec_version_greater_than_56_4]1
[avcodec_version_greater_than_56_5]1
[avcodec_version_greater_than_56_6]1
[avcodec_version_greater_than_56_7]1
[avcodec_version_greater_than_56_8]1
[avcodec_version_greater_than_56_9]1
[avcodec_version_greater_than_56_10]1
[avcodec_version_greater_than_56_11]1
[avcodec_version_greater_than_56_12]1
[avcodec_version_greater_than_56_13]1
[avcodec_version_greater_than_56_14]1
[avcodec_version_greater_than_56_15]1
[avcodec_version_greater_than_56_16]1
[avcodec_version_greater_than_56_17]1
[avcodec_version_greater_than_56_18]1
[avcodec_version_greater_than_56_19]1
[avcodec_version_greater_than_56_20]1
[avcodec_version_greater_than_56_21]1
[avcodec_version_greater_than_56_22]1
[avcodec_version_greater_than_56_23]1
[avcodec_version_greater_than_56_24]1
[avcodec_version_greater_than_56_25]1
[avcodec_version_greater_than_56_26]1
[avcodec_version_greater_than_56_27]1
[avcodec_version_greater_than_56_28]1
[avcodec_version_greater_than_56_29]1
[avcodec_version_greater_than_56_30]1
[avcodec_version_greater_than_56_31]1
[avcodec_version_greater_than_56_32]1
[avcodec_version_greater_than_56_33]1
[avcodec_version_greater_than_56_34]1
[avcodec_version_greater_than_56_35]1
[avcodec_version_greater_than_56_36]1
[avcodec_version_greater_than_56_37]1
[avcodec_version_greater_than_56_38]1
[avcodec_version_greater_than_56_39]1
[avcodec_version_greater_than_56_40]1
[avcodec_version_greater_than_56_41]1
[avcodec_version_greater_than_56_42]1
[avcodec_version_greater_than_56_43]1
[avcodec_version_greater_than_56_44]1
[avcodec_version_greater_than_56_45]1
[avcodec_version_greater_than_56_46]1
[avcodec_version_greater_than_56_47]1
[avcodec_version_greater_than_56_48]1
[avcodec_version_greater_than_56_49]1
[avcodec_version_greater_than_56_50]1
[avcodec_version_greater_than_56_51]1
[avcodec_version_greater_than_56_52]1
[avcodec_version_greater_than_56_53]1
[avcodec_version_greater_than_56_54]1
[avcodec_version_greater_than_56_55]1
[avcodec_version_greater_than_56_56]1
[avcodec_version_greater_than_56_57]1
[avcodec_version_greater_than_56_58]1
[avcodec_version_greater_than_56_59]1
[avcodec_version_greater_than_56_60]1
[avcodec_version_greater_than_56_61]1
[avcodec_version_greater_than_56_62]1
[avcodec_version_greater_than_56_63]1
[avcodec_version_greater_than_56_64]1
[avcodec_version_greater_than_56_65]1
[avcodec_version_greater_than_56_66]1
[avcodec_version_greater_than_56_67]1
[avcodec_version_greater_than_56_68]1
[avcodec_version_greater_than_56_69]1
[avcodec_version_greater_than_56_70]1
[avcodec_version_greater_than_56_71]1
[avcodec_version_greater_than_56_72]1
[avcodec_version_greater_than_56_73]1
[avcodec_version_greater_than_56_74]1
[avcodec_version_greater_than_56_75]1
[avcodec_version_greater_than_56_76]1
[avcodec_version_greater_than_56_77]1
[avcodec_version_greater_than_56_78]1
[avcodec_version_greater_than_56_79]1
[avcodec_version_greater_than_57_0]1
[avcodec_version_greater_than_57_1]1
[avcodec_version_greater_than_57_2]1
[avcodec_version_greater_than_57_3]1
[avcodec_version_greater_than_57_4]1
[avcodec_version_greater_than_57_5]1
[avcodec_version_greater_than_57_6]1
[avcodec_version_greater_than_57_7]1
[avcodec_version_greater_than_57_8]1
[avcodec_version_greater_than_57_9]1
[avcodec_version_greater_than_57_10]1
[avcodec_version_greater_than_57_11]1
[avcodec_version_greater_than_57_12]1
[avcodec_version_greater_than_57_13]1
[avcodec_version_greater_than_57_14]1
[avcodec_version_greater_than_57_15]1
[avcodec_version_greater_than_57_16]1
[avcodec_version_greater_than_57_17]1
[avcodec_version_greater_than_57_18]1
[avcodec_version_greater_than_57_19]1
[avcodec_version_greater_than_57_20]1
[avcodec_version_greater_than_57_21]1
[avcodec_version_greater_than_57_22]1
[avcodec_version_greater_than_57_23]1
[avcodec_version_greater_than_57_24]1
[avcodec_version_greater_than_57_25]1
[avcodec_version_greater_than_57_26]1
[avcodec_version_greater_than_57_27]1
[avcodec_version_greater_than_57_28]1
[avcodec_version_greater_than_57_29]1
[avcodec_version_greater_than_57_30]1
[avcodec_version_greater_than_57_31]1
[avcodec_version_greater_than_57_32]1
[avcodec_version_greater_than_57_33]1
[avcodec_version_greater_than_57_34]1
[avcodec_version_greater_than_57_35]1
[avcodec_version_greater_than_57_36]1
[avcodec_version_greater_than_57_37]1
[avcodec_version_greater_than_57_38]1
[avcodec_version_greater_than_57_39]1
[avcodec_version_greater_than_57_40]1
[avcodec_version_greater_than_57_41]1
[avcodec_version_greater_than_57_42]1
[avcodec_version_greater_than_57_43]1
[avcodec_version_greater_than_57_44]1
[avcodec_version_greater_than_57_45]1
[avcodec_version_greater_than_57_46]1
[avcodec_version_greater_than_57_47]1
[avcodec_version_greater_than_57_48]1
[avcodec_version_greater_than_57_49]1
[avcodec_version_greater_than_57_50]1
[avcodec_version_greater_than_57_51]1
[avcodec_version_greater_than_57_52]1
[avcodec_version_greater_than_57_53]1
[avcodec_version_greater_than_57_54]1
[avcodec_version_greater_than_57_55]1
[avcodec_version_greater_than_57_56]1
[avcodec_version_greater_than_57_57]1
[avcodec_version_greater_than_57_58]1
[avcodec_version_greater_than_57_59]1
[avcodec_version_greater_than_57_60]1
[avcodec_version_greater_than_57_61]1
[avcodec_version_greater_than_57_62]1
[avcodec_version_greater_than_57_63]1
[avcodec_version_greater_than_57_64]1
[avcodec_version_greater_than_57_65]1
[avcodec_version_greater_than_57_66]1
[avcodec_version_greater_than_57_67]1
[avcodec_version_greater_than_57_68]1
[avcodec_version_greater_than_57_69]1
[avcodec_version_greater_than_57_70]1
[avcodec_version_greater_than_57_71]1
[avcodec_version_greater_than_57_72]1
[avcodec_version_greater_than_57_73]1
[avcodec_version_greater_than_57_74]1
[avcodec_version_greater_than_57_75]1
[avcodec_version_greater_than_57_76]1
[avcodec_version_greater_than_57_77]1
[avcodec_version_greater_than_57_78]1
[avcodec_version_greater_than_57_79]1
[avcodec_version_greater_than_58_0]1
[avcodec_version_greater_than_58_1]1
[avcodec_version_greater_than_58_2]1
[avcodec_version_greater_than_58_3]1
[avcodec_version_greater_than_58_4]1
[avcodec_version_greater_than_58_5]1
[avcodec_version_greater_than_58_6]1
[avcodec_version_greater_than_58_7]1
[avcodec_version_greater_than_58_8]1
[avcodec_version_greater_than_58_9]1
[avcodec_version_greater_than_58_10]1
[avcodec_version_greater_than_58_11]1
[avcodec_version_greater_than_58_12]1
[avcodec_version_greater_than_58_13]1
[avcodec_version_greater_than_58_14]1
[avcodec_version_greater_than_58_15]1
[avcodec_version_greater_than_58_16]1
[avcodec_version_greater_than_58_17]1
[avcodec_version_greater_than_58_18]1
[avcodec_version_greater_than_58_19]1
[avcodec_version_greater_than_58_20]1
[avcodec_version_greater_than_58_21]1
[avcodec_version_greater_than_58_22]1
[avcodec_version_greater_than_58_23]1
[avcodec_version_greater_than_58_24]1
[avcodec_version_greater_than_58_25]1
[avcodec_version_greater_than_58_26]1
[avcodec_version_greater_than_58_27]1
[avcodec_version_greater_than_58_28]1
[avcodec_version_greater_than_58_29]1
[avcodec_version_greater_than_58_30]1
[avcodec_version_greater_than_58_31]1
[avcodec_version_greater_than_58_32]1
[avcodec_version_greater_than_58_33]1
[avcodec_version_greater_than_58_34]1
[avcodec_version_greater_than_58_35]1
[avcodec_version_greater_than_58_36]1
[avcodec_version_greater_than_58_37]1
[avcodec_version_greater_than_58_38]1
[avcodec_version_greater_than_58_39]1
[avcodec_version_greater_than_58_40]1
[avcodec_version_greater_than_58_41]1
[avcodec_version_greater_than_58_42]1
[avcodec_version_greater_than_58_43]1
[avcodec_version_greater_than_58_44]1
[avcodec_version_greater_than_58_45]1
[avcodec_version_greater_than_58_46]1
[avcodec_version_greater_than_58_47]1
[avcodec_version_greater_than_58_48]1
[avcodec_version_greater_than_58_49]1
[avcodec_version_greater_than_58_50]1
[avcodec_version_greater_than_58_51]1
[avcodec_version_greater_than_58_52]1
[avcodec_version_greater_than_58_53]1
[avcodec_version_greater_than_58_54]1
[avcodec_version_greater_than_58_55]0
[avcodec_version_greater_than_58_56]0
[avcodec_version_greater_than_58_57]0
[avcodec_version_greater_than_58_58]0
[avcodec_version_greater_than_58_59]0
[avcodec_version_greater_than_58_60]0
[avcodec_version_greater_than_58_61]0
[avcodec_version_greater_than_58_62]0
[avcodec_version_greater_than_58_63]0
[avcodec_version_greater_than_58_64]0
[avcodec_version_greater_than_58_65]0
[avcodec_version_greater_than_58_66]0
[avcodec_version_greater_than_58_67]0
[avcodec_version_greater_than_58_68]0
[avcodec_version_greater_than_58_69]0
[avcodec_version_greater_than_58_70]0
[avcodec_version_greater_than_58_71]0
[avcodec_version_greater_than_58_72]0
[avcodec_version_greater_than_58_73]0
[avcodec_version_greater_than_58_74]0
[avcodec_version_greater_than_58_75]0
[avcodec_version_greater_than_58_76]0
[avcodec_version_greater_than_58_77]0
[avcodec_version_greater_than_58_78]0
[avcodec_version_greater_than_58_79]0
[avcodec_version_greater_than_59_0]0
[avcodec_version_greater_than_59_1]0
[avcodec_version_greater_than_59_2]0
[avcodec_version_greater_than_59_3]0
[avcodec_version_greater_than_59_4]0
[avcodec_version_greater_than_59_5]0
[avcodec_version_greater_than_59_6]0
[avcodec_version_greater_than_59_7]0
[avcodec_version_greater_than_59_8]0
[avcodec_version_greater_than_59_9]0
[avcodec_version_greater_than_59_10]0
[avcodec_version_greater_than_59_11]0
[avcodec_version_greater_than_59_12]0
[avcodec_version_greater_than_59_13]0
[avcodec_version_greater_than_59_14]0
[avcodec_version_greater_than_59_15]0
[avcodec_version_greater_than_59_16]0
[avcodec_version_greater_than_59_17]0
[avcodec_version_greater_than_59_18]0
[avcodec_version_greater_than_59_19]0
[avcodec_version_greater_than_59_20]0
[avcodec_version_greater_than_59_21]0
[avcodec_version_greater_than_59_22]0
[avcodec_version_greater_than_59_23]0
[avcodec_version_greater_than_59_24]0
[avcodec_version_greater_than_59_25]0
[avcodec_version_greater_than_59_26]0
[avcodec_version_greater_than_59_27]0
[avcodec_version_greater_than_59_28]0
[avcodec_version_greater_than_59_29]0
[avcodec_version_greater_than_59_30]0
[avcodec_version_greater_than_59_31]0
[avcodec_version_greater_than_59_32]0
[avcodec_version_greater_than_59_33]0
[avcodec_version_greater_than_59_34]0
[avcodec_version_greater_than_59_35]0
[avcodec_version_greater_than_59_36]0
[avcodec_version_greater_than_59_37]0
[avcodec_version_greater_than_59_38]0
[avcodec_version_greater_than_59_39]0
[avcodec_version_greater_than_59_40]0
[avcodec_version_greater_than_59_41]0
[avcodec_version_greater_than_59_42]0
[avcodec_version_greater_than_59_43]0
[avcodec_version_greater_than_59_44]0
[avcodec_version_greater_than_59_45]0
[avcodec_version_greater_than_59_46]0
[avcodec_version_greater_than_59_47]0
[avcodec_version_greater_than_59_48]0
[avcodec_version_greater_than_59_49]0
[avcodec_version_greater_than_59_50]0
[avcodec_version_greater_than_59_51]0
[avcodec_version_greater_than_59_52]0
[avcodec_version_greater_than_59_53]0
[avcodec_version_greater_than_59_54]0
[avcodec_version_greater_than_59_55]0
[avcodec_version_greater_than_59_56]0
[avcodec_version_greater_than_59_57]0
[avcodec_version_greater_than_59_58]0
[avcodec_version_greater_than_59_59]0
[avcodec_version_greater_than_59_60]0
[avcodec_version_greater_than_59_61]0
[avcodec_version_greater_than_59_62]0
[avcodec_version_greater_than_59_63]0
[avcodec_version_greater_than_59_64]0
[avcodec_version_greater_than_59_65]0
[avcodec_version_greater_than_59_66]0
[avcodec_version_greater_than_59_67]0
[avcodec_version_greater_than_59_68]0
[avcodec_version_greater_than_59_69]0
[avcodec_version_greater_than_59_70]0
[avcodec_version_greater_than_59_71]0
[avcodec_version_greater_than_59_72]0
[avcodec_version_greater_than_59_73]0
[avcodec_version_greater_than_59_74]0
[avcodec_version_greater_than_59_75]0
[avcodec_version_greater_than_59_76]0
[avcodec_version_greater_than_59_77]0
[avcodec_version_greater_than_59_78]0
[avcodec_version_greater_than_59_79]0

cargo:rustc-cfg=feature="ff_api_xvmc_is_defined"
cargo:ff_api_xvmc_is_defined=true
cargo:rustc-cfg=feature="ff_api_vaapi"
cargo:ff_api_vaapi=true
cargo:rustc-cfg=feature="ff_api_vaapi_is_defined"
cargo:ff_api_vaapi_is_defined=true
cargo:rustc-cfg=feature="ff_api_pkt_pts"
cargo:ff_api_pkt_pts=true
cargo:rustc-cfg=feature="ff_api_pkt_pts_is_defined"
cargo:ff_api_pkt_pts_is_defined=true
cargo:rustc-cfg=feature="ff_api_error_frame"
cargo:ff_api_error_frame=true
cargo:rustc-cfg=feature="ff_api_error_frame_is_defined"
cargo:ff_api_error_frame_is_defined=true
cargo:rustc-cfg=feature="ff_api_frame_qp"
cargo:ff_api_frame_qp=true
cargo:rustc-cfg=feature="ff_api_frame_qp_is_defined"
cargo:ff_api_frame_qp_is_defined=true
cargo:rustc-cfg=feature="ff_api_lowres"
cargo:ff_api_lowres=true
cargo:rustc-cfg=feature="ff_api_lowres_is_defined"
cargo:ff_api_lowres_is_defined=true
cargo:rustc-cfg=feature="ff_api_debug_mv_is_defined"
cargo:ff_api_debug_mv_is_defined=true
cargo:rustc-cfg=feature="ff_api_xvmc_is_defined"
cargo:ff_api_xvmc_is_defined=true
cargo:rustc-cfg=feature="ff_api_avctx_timebase"
cargo:ff_api_avctx_timebase=true
cargo:rustc-cfg=feature="ff_api_avctx_timebase_is_defined"
cargo:ff_api_avctx_timebase_is_defined=true
cargo:rustc-cfg=feature="ff_api_coded_frame"
cargo:ff_api_coded_frame=true
cargo:rustc-cfg=feature="ff_api_coded_frame_is_defined"
cargo:ff_api_coded_frame_is_defined=true
cargo:rustc-cfg=feature="ff_api_convergence_duration"
cargo:ff_api_convergence_duration=true
cargo:rustc-cfg=feature="ff_api_convergence_duration_is_defined"
cargo:ff_api_convergence_duration_is_defined=true
cargo:rustc-cfg=feature="ff_api_private_opt"
cargo:ff_api_private_opt=true
cargo:rustc-cfg=feature="ff_api_private_opt_is_defined"
cargo:ff_api_private_opt_is_defined=true
cargo:rustc-cfg=feature="ff_api_coder_type"
cargo:ff_api_coder_type=true
cargo:rustc-cfg=feature="ff_api_coder_type_is_defined"
cargo:ff_api_coder_type_is_defined=true
cargo:rustc-cfg=feature="ff_api_rtp_callback"
cargo:ff_api_rtp_callback=true
cargo:rustc-cfg=feature="ff_api_rtp_callback_is_defined"
cargo:ff_api_rtp_callback_is_defined=true
cargo:rustc-cfg=feature="ff_api_stat_bits"
cargo:ff_api_stat_bits=true
cargo:rustc-cfg=feature="ff_api_stat_bits_is_defined"
cargo:ff_api_stat_bits_is_defined=true
cargo:rustc-cfg=feature="ff_api_vbv_delay"
cargo:ff_api_vbv_delay=true
cargo:rustc-cfg=feature="ff_api_vbv_delay_is_defined"
cargo:ff_api_vbv_delay_is_defined=true
cargo:rustc-cfg=feature="ff_api_sidedata_only_pkt"
cargo:ff_api_sidedata_only_pkt=true
cargo:rustc-cfg=feature="ff_api_sidedata_only_pkt_is_defined"
cargo:ff_api_sidedata_only_pkt_is_defined=true
cargo:rustc-cfg=feature="ff_api_avpicture"
cargo:ff_api_avpicture=true
cargo:rustc-cfg=feature="ff_api_avpicture_is_defined"
cargo:ff_api_avpicture_is_defined=true
cargo:rustc-cfg=feature="ff_api_lavf_avctx"
cargo:ff_api_lavf_avctx=true
cargo:rustc-cfg=feature="ff_api_lavf_avctx_is_defined"
cargo:ff_api_lavf_avctx_is_defined=true
cargo:rustc-cfg=feature="ff_api_old_open_callbacks"
cargo:ff_api_old_open_callbacks=true
cargo:rustc-cfg=feature="ff_api_old_open_callbacks_is_defined"
cargo:ff_api_old_open_callbacks_is_defined=true
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_0"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_1"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_2"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_3"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_4"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_5"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_6"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_7"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_8"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_9"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_10"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_11"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_12"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_13"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_14"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_15"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_16"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_17"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_18"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_19"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_20"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_21"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_22"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_23"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_24"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_25"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_26"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_27"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_28"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_29"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_30"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_31"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_32"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_33"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_34"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_35"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_36"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_37"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_38"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_39"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_40"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_41"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_42"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_43"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_44"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_45"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_46"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_47"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_48"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_49"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_50"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_51"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_52"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_53"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_54"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_55"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_56"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_57"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_58"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_59"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_60"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_61"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_62"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_63"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_64"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_65"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_66"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_67"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_68"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_69"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_70"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_71"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_72"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_73"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_74"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_75"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_76"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_77"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_78"
cargo:rustc-cfg=feature="avcodec_version_greater_than_56_79"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_0"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_1"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_2"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_3"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_4"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_5"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_6"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_7"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_8"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_9"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_10"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_11"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_12"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_13"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_14"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_15"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_16"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_17"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_18"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_19"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_20"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_21"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_22"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_23"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_24"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_25"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_26"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_27"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_28"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_29"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_30"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_31"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_32"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_33"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_34"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_35"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_36"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_37"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_38"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_39"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_40"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_41"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_42"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_43"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_44"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_45"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_46"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_47"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_48"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_49"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_50"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_51"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_52"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_53"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_54"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_55"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_56"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_57"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_58"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_59"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_60"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_61"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_62"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_63"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_64"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_65"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_66"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_67"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_68"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_69"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_70"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_71"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_72"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_73"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_74"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_75"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_76"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_77"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_78"
cargo:rustc-cfg=feature="avcodec_version_greater_than_57_79"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_0"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_1"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_2"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_3"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_4"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_5"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_6"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_7"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_8"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_9"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_10"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_11"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_12"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_13"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_14"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_15"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_16"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_17"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_18"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_19"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_20"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_21"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_22"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_23"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_24"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_25"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_26"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_27"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_28"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_29"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_30"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_31"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_32"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_33"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_34"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_35"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_36"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_37"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_38"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_39"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_40"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_41"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_42"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_43"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_44"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_45"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_46"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_47"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_48"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_49"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_50"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_51"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_52"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_53"
cargo:rustc-cfg=feature="avcodec_version_greater_than_58_54"
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")

--- stderr
check.c:311:0: warning: "FF_API_XVMC_is_defined" redefined
             #define FF_API_XVMC_is_defined 1

check.c:84:0: note: this is the location of the previous definition
             #define FF_API_XVMC_is_defined 0

/usr/include/limits.h:124:16: fatal error: 'limits.h' file not found
/usr/include/limits.h:124:16: fatal error: 'limits.h' file not found, err: true
thread 'main' panicked at 'Unable to generate bindings: ()', src/libcore/result.rs:999:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:211
   4: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:474
   5: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:381
   6: rust_begin_unwind
             at src/libstd/panicking.rs:308
   7: core::panicking::panic_fmt
             at src/libcore/panicking.rs:85
   8: core::result::unwrap_failed
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/macros.rs:18
   9: core::result::Result<T,E>::expect
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/result.rs:827
  10: build_script_build::main
             at ./build.rs:1021
  11: std::rt::lang_start::{{closure}}
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/rt.rs:64
  12: std::panicking::try::do_call
             at src/libstd/rt.rs:49
             at src/libstd/panicking.rs:293
  13: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:85
  14: std::rt::lang_start_internal
             at src/libstd/panicking.rs:272
             at src/libstd/panic.rs:394
             at src/libstd/rt.rs:48
  15: std::rt::lang_start
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/rt.rs:64
  16: main
  17: __libc_start_main
  18: _start
@alexxbb
Copy link

alexxbb commented Sep 22, 2019

I have the exactly same issue here. Any help would be useful.

@danieldulaney
Copy link
Contributor

Almost certainly it's because you're missing the Clang compiler. Try

sudo apt-get install clang

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants