Hi all,
I’m trying to build ffmpeg with --enable-decklink but get an error during make. 
For a c++ compiler I have g++. Any advice that would help get this built would 
be appreciated.

u813s:ffmpeg rice$ make
CC      libavdevice/alldevices.o
CC      libavdevice/avdevice.o
CC      libavdevice/avfoundation.o
CXX     libavdevice/decklink_common.o
error: invalid argument '-std=c99' not allowed with 'C++/ObjC++'
make: *** [libavdevice/decklink_common.o] Error 1

full version:
u813s:ffmpeg rice$ ./configure --enable-gpl --enable-decklink 
--extra-cflags="-I/usr/local/include" --extra-ldflags="-L/usr/local/lib"
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
install prefix            /usr/local
source path               .
C compiler                gcc
C library                 
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               yes
opencl enabled            no
texi2html enabled         yes
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    no

External libraries:
bzlib                   iconv                   zlib
decklink                sdl

Enabled decoders:
aac                     bink                    gsm_ms
aac_latm                binkaudio_dct           h261
aasc                    binkaudio_rdft          h263
ac3                     bintext                 h263i
ac3_fixed               bmp                     h263p
adpcm_4xm               bmv_audio               h264
adpcm_adx               bmv_video               h264_vda
adpcm_afc               brender_pix             hevc
adpcm_ct                c93                     hnm4_video
adpcm_dtk               cavs                    huffyuv
adpcm_ea                cdgraphics              iac
adpcm_ea_maxis_xa       cdxl                    idcin
adpcm_ea_r1             cinepak                 idf
adpcm_ea_r2             cljr                    iff_byterun1
adpcm_ea_r3             cllc                    iff_ilbm
adpcm_ea_xas            comfortnoise            imc
adpcm_g722              cook                    indeo2
adpcm_g726              cpia                    indeo3
adpcm_g726le            cscd                    indeo4
adpcm_ima_amv           cyuv                    indeo5
adpcm_ima_apc           dca                     interplay_dpcm
adpcm_ima_dk3           dfa                     interplay_video
adpcm_ima_dk4           dirac                   jacosub
adpcm_ima_ea_eacs       dnxhd                   jpeg2000
adpcm_ima_ea_sead       dpx                     jpegls
adpcm_ima_iss           dsd_lsbf                jv
adpcm_ima_oki           dsd_lsbf_planar         kgv1
adpcm_ima_qt            dsd_msbf                kmvc
adpcm_ima_rad           dsd_msbf_planar         lagarith
adpcm_ima_smjpeg        dsicinaudio             loco
adpcm_ima_wav           dsicinvideo             mace3
adpcm_ima_ws            dvbsub                  mace6
adpcm_ms                dvdsub                  mdec
adpcm_sbpro_2           dvvideo                 metasound
adpcm_sbpro_3           dxa                     microdvd
adpcm_sbpro_4           dxtory                  mimic
adpcm_swf               eac3                    mjpeg
adpcm_thp               eacmv                   mjpegb
adpcm_vima              eamad                   mlp
adpcm_xa                eatgq                   mmvideo
adpcm_yamaha            eatgv                   motionpixels
aic                     eatqi                   movtext
alac                    eightbps                mp1
alias_pix               eightsvx_exp            mp1float
als                     eightsvx_fib            mp2
amrnb                   escape124               mp2float
amrwb                   escape130               mp3
amv                     evrc                    mp3adu
anm                     exr                     mp3adufloat
ansi                    ffv1                    mp3float
ape                     ffvhuff                 mp3on4
ass                     ffwavesynth             mp3on4float
asv1                    fic                     mpc7
asv2                    flac                    mpc8
atrac1                  flashsv                 mpeg1video
atrac3                  flashsv2                mpeg2video
atrac3p                 flic                    mpeg4
aura                    flv                     mpegvideo
aura2                   fourxm                  mpl2
avrn                    fraps                   msa1
avrp                    frwu                    msmpeg4v1
avs                     g2m                     msmpeg4v2
avui                    g723_1                  msmpeg4v3
ayuv                    g729                    msrle
bethsoftvid             gif                     mss1
bfi                     gsm                     mss2
msvideo1                qpeg                    txd
mszh                    qtrle                   ulti
mts2                    r10k                    utvideo
mvc1                    r210                    v210
mvc2                    ra_144                  v210x
mxpeg                   ra_288                  v308
nellymoser              ralf                    v408
nuv                     rawvideo                v410
on2avc                  realtext                vb
opus                    rl2                     vble
paf_audio               roq                     vc1
paf_video               roq_dpcm                vc1image
pam                     rpza                    vcr1
pbm                     rv10                    vima
pcm_alaw                rv20                    vmdaudio
pcm_bluray              rv30                    vmdvideo
pcm_dvd                 rv40                    vmnc
pcm_f32be               s302m                   vorbis
pcm_f32le               sami                    vp3
pcm_f64be               sanm                    vp5
pcm_f64le               sgi                     vp6
pcm_lxf                 sgirle                  vp6a
pcm_mulaw               shorten                 vp6f
pcm_s16be               sipr                    vp7
pcm_s16be_planar        smackaud                vp8
pcm_s16le               smacker                 vp9
pcm_s16le_planar        smc                     vplayer
pcm_s24be               smvjpeg                 vqa
pcm_s24daud             snow                    wavpack
pcm_s24le               sol_dpcm                webp
pcm_s24le_planar        sonic                   webvtt
pcm_s32be               sp5x                    wmalossless
pcm_s32le               srt                     wmapro
pcm_s32le_planar        ssa                     wmav1
pcm_s8                  stl                     wmav2
pcm_s8_planar           subrip                  wmavoice
pcm_u16be               subviewer               wmv1
pcm_u16le               subviewer1              wmv2
pcm_u24be               sunrast                 wmv3
pcm_u24le               svq1                    wmv3image
pcm_u32be               svq3                    wnv1
pcm_u32le               tak                     ws_snd1
pcm_u8                  targa                   xan_dpcm
pcm_zork                targa_y216              xan_wc3
pcx                     text                    xan_wc4
pgm                     theora                  xbin
pgmyuv                  thp                     xbm
pgssub                  tiertexseqvideo         xface
pictor                  tiff                    xl
pjs                     tmv                     xsub
png                     truehd                  xwd
ppm                     truemotion1             y41p
prores                  truemotion2             yop
prores_lgpl             truespeech              yuv4
ptx                     tscc                    zero12v
qcelp                   tscc2                   zerocodec
qdm2                    tta                     zlib
qdraw                   twinvq                  zmbv

Enabled encoders:
a64multi                jpegls                  prores
a64multi5               ljpeg                   prores_aw
aac                     mjpeg                   prores_ks
ac3                     movtext                 qtrle
ac3_fixed               mp2                     r10k
adpcm_adx               mp2fixed                r210
adpcm_g722              mpeg1video              ra_144
adpcm_g726              mpeg2video              rawvideo
adpcm_ima_qt            mpeg4                   roq
adpcm_ima_wav           msmpeg4v2               roq_dpcm
adpcm_ms                msmpeg4v3               rv10
adpcm_swf               msvideo1                rv20
adpcm_yamaha            nellymoser              s302m
alac                    pam                     sgi
alias_pix               pbm                     snow
amv                     pcm_alaw                sonic
ass                     pcm_f32be               sonic_ls
asv1                    pcm_f32le               srt
asv2                    pcm_f64be               ssa
avrp                    pcm_f64le               subrip
avui                    pcm_mulaw               sunrast
ayuv                    pcm_s16be               svq1
bmp                     pcm_s16be_planar        targa
cinepak                 pcm_s16le               tiff
cljr                    pcm_s16le_planar        tta
comfortnoise            pcm_s24be               utvideo
dca                     pcm_s24daud             v210
dnxhd                   pcm_s24le               v308
dpx                     pcm_s24le_planar        v408
dvbsub                  pcm_s32be               v410
dvdsub                  pcm_s32le               vorbis
dvvideo                 pcm_s32le_planar        wavpack
eac3                    pcm_s8                  webvtt
ffv1                    pcm_s8_planar           wmav1
ffvhuff                 pcm_u16be               wmav2
flac                    pcm_u16le               wmv1
flashsv                 pcm_u24be               wmv2
flashsv2                pcm_u24le               xbm
flv                     pcm_u32be               xface
g723_1                  pcm_u32le               xsub
gif                     pcm_u8                  xwd
h261                    pcx                     y41p
h263                    pgm                     yuv4
h263p                   pgmyuv                  zlib
huffyuv                 png                     zmbv
jpeg2000                ppm

Enabled hwaccels:
h264_vda                h264_vda_old

Enabled parsers:
aac                     dvd_nav                 mpegvideo
aac_latm                dvdsub                  opus
ac3                     flac                    png
adx                     gsm                     pnm
bmp                     h261                    rv30
cavsvideo               h263                    rv40
cook                    h264                    tak
dca                     hevc                    vc1
dirac                   mjpeg                   vorbis
dnxhd                   mlp                     vp3
dpx                     mpeg4video              vp8
dvbsub                  mpegaudio               vp9

Enabled demuxers:
aac                     h263                    nc
ac3                     h264                    nistsphere
act                     hevc                    nsv
adf                     hls                     nut
adp                     hnm                     nuv
adx                     ico                     ogg
aea                     idcin                   oma
afc                     idf                     paf
aiff                    iff                     pcm_alaw
amr                     ilbc                    pcm_f32be
anm                     image2                  pcm_f32le
apc                     image2_alias_pix        pcm_f64be
ape                     image2_brender_pix      pcm_f64le
aqtitle                 image2pipe              pcm_mulaw
asf                     image_bmp_pipe          pcm_s16be
ass                     image_dpx_pipe          pcm_s16le
ast                     image_exr_pipe          pcm_s24be
au                      image_j2k_pipe          pcm_s24le
avi                     image_jpeg_pipe         pcm_s32be
avr                     image_jpegls_pipe       pcm_s32le
avs                     image_pictor_pipe       pcm_s8
bethsoftvid             image_png_pipe          pcm_u16be
bfi                     image_sgi_pipe          pcm_u16le
bink                    image_sunrast_pipe      pcm_u24be
bintext                 image_tiff_pipe         pcm_u24le
bit                     image_webp_pipe         pcm_u32be
bmv                     ingenient               pcm_u32le
boa                     ipmovie                 pcm_u8
brstm                   ircam                   pjs
c93                     iss                     pmp
caf                     iv8                     pva
cavsvideo               ivf                     pvf
cdg                     jacosub                 qcp
cdxl                    jv                      r3d
cine                    latm                    rawvideo
concat                  live_flv                realtext
data                    lmlm4                   redspark
daud                    loas                    rl2
dfa                     lrc                     rm
dirac                   lvf                     roq
dnxhd                   lxf                     rpl
dsf                     m4v                     rsd
dsicin                  matroska                rso
dts                     mgsts                   rtp
dtshd                   microdvd                rtsp
dv                      mjpeg                   sami
dxa                     mlp                     sap
ea                      mlv                     sbg
ea_cdata                mm                      sdp
eac3                    mmf                     sdr2
epaf                    mov                     segafilm
ffm                     mp3                     shorten
ffmetadata              mpc                     siff
filmstrip               mpc8                    sln
flac                    mpegps                  smacker
flic                    mpegts                  smjpeg
flv                     mpegtsraw               smush
fourxm                  mpegvideo               sol
frm                     mpl2                    sox
g722                    mpsub                   spdif
g723_1                  msnwc_tcp               srt
g729                    mtv                     stl
gif                     mv                      str
gsm                     mvi                     subviewer
gxf                     mxf                     subviewer1
h261                    mxg                     sup
swf                     vc1t                    webvtt
tak                     vivo                    wsaud
tedcaptions             vmd                     wsvqa
thp                     vobsub                  wtv
tiertexseq              voc                     wv
tmv                     vplayer                 xa
truehd                  vqf                     xbin
tta                     w64                     xmv
tty                     wav                     xwma
txd                     wc3                     yop
vc1                     webm_dash_manifest      yuv4mpegpipe

Enabled muxers:
a64                     image2pipe              pcm_s24be
ac3                     ipod                    pcm_s24le
adts                    ircam                   pcm_s32be
adx                     ismv                    pcm_s32le
aiff                    ivf                     pcm_s8
amr                     jacosub                 pcm_u16be
asf                     latm                    pcm_u16le
asf_stream              lrc                     pcm_u24be
ass                     m4v                     pcm_u24le
ast                     matroska                pcm_u32be
au                      matroska_audio          pcm_u32le
avi                     md5                     pcm_u8
avm2                    microdvd                psp
bit                     mjpeg                   rawvideo
caf                     mkvtimestamp_v2         rm
cavsvideo               mlp                     roq
crc                     mmf                     rso
dash                    mov                     rtp
data                    mp2                     rtsp
daud                    mp3                     sap
dirac                   mp4                     segment
dnxhd                   mpeg1system             smjpeg
dts                     mpeg1vcd                smoothstreaming
dv                      mpeg1video              sox
eac3                    mpeg2dvd                spdif
f4v                     mpeg2svcd               spx
ffm                     mpeg2video              srt
ffmetadata              mpeg2vob                stream_segment
filmstrip               mpegts                  swf
flac                    mpjpeg                  tee
flv                     mxf                     tg2
framecrc                mxf_d10                 tgp
framemd5                null                    truehd
g722                    nut                     uncodedframecrc
g723_1                  oga                     vc1
gif                     ogg                     vc1t
gxf                     oma                     voc
h261                    opus                    w64
h263                    pcm_alaw                wav
h264                    pcm_f32be               webm
hds                     pcm_f32le               webm_dash_manifest
hevc                    pcm_f64be               webp
hls                     pcm_f64le               webvtt
ico                     pcm_mulaw               wtv
ilbc                    pcm_s16be               wv
image2                  pcm_s16le               yuv4mpegpipe

Enabled protocols:
cache                   http                    rtp
concat                  httpproxy               srtp
crypto                  icecast                 subfile
data                    md5                     tcp
ffrtmphttp              mmsh                    udp
file                    mmst                    udplite
ftp                     pipe                    unix
gopher                  rtmp
hls                     rtmpt

Enabled filters:
adelay                  dejudder                owdenoise
aecho                   delogo                  pad
aeval                   deshake                 pan
aevalsrc                drawbox                 perms
afade                   drawgrid                perspective
aformat                 earwax                  phase
ainterleave             ebur128                 pixdesctest
allpass                 edgedetect              pp
alphaextract            elbg                    psnr
alphamerge              equalizer               pullup
amerge                  extractplanes           removelogo
amix                    fade                    replaygain
amovie                  field                   rgbtestsrc
anull                   fieldmatch              rotate
anullsink               fieldorder              sab
anullsrc                flanger                 scale
apad                    format                  select
aperms                  fps                     sendcmd
aphaser                 framepack               separatefields
aresample               framestep               setdar
aselect                 geq                     setfield
asendcmd                gradfun                 setpts
asetnsamples            haldclut                setsar
asetpts                 haldclutsrc             settb
asetrate                hflip                   showcqt
asettb                  highpass                showinfo
ashowinfo               histeq                  showspectrum
asplit                  histogram               showwaves
astats                  hqdn3d                  shuffleplanes
astreamsync             hqx                     signalstats
atempo                  hue                     silencedetect
atrim                   idet                    silenceremove
avectorscope            il                      sine
bandpass                interlace               smartblur
bandreject              interleave              smptebars
bass                    join                    smptehdbars
bbox                    kerndeint               split
biquad                  lenscorrection          spp
blackdetect             life                    stereo3d
blackframe              lowpass                 super2xsai
blend                   lut                     swapuv
boxblur                 lut3d                   telecine
cellauto                lutrgb                  testsrc
channelmap              lutyuv                  thumbnail
channelsplit            mandelbrot              tile
codecview               mcdeint                 tinterlace
color                   mergeplanes             transpose
colorbalance            movie                   treble
colorchannelmixer       mp                      trim
colormatrix             mpdecimate              unsharp
compand                 mptestsrc               vflip
concat                  negate                  vignette
copy                    noformat                volume
crop                    noise                   volumedetect
cropdetect              null                    w3fdif
curves                  nullsink                xbr
dctdnoiz                nullsrc                 yadif
decimate                overlay                 zoompan

Enabled bsfs:
aac_adtstoasc           imx_dump_header         mp3_header_decompress
chomp                   mjpeg2jpeg              noise
dump_extradata          mjpega_dump_header      remove_extradata
h264_mp4toannexb        mov2textsub             text2movsub

Enabled indevs:
avfoundation            lavfi
decklink                qtkit

Enabled outdevs:
decklink                sdl

License: GPL version 2 or later
Creating config.mak, config.h, and doc/config.texi...
config.asm is unchanged
libavutil/avconfig.h is unchanged
u813s:ffmpeg rice$ make
CC      libavdevice/alldevices.o
CC      libavdevice/avdevice.o
CC      libavdevice/avfoundation.o
CXX     libavdevice/decklink_common.o
error: invalid argument '-std=c99' not allowed with 'C++/ObjC++'
make: *** [libavdevice/decklink_common.o] Error 1

Thanks,
Dave Rice
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to