#11095: Can't compile FFmpeg on Mac from latest Git version
-------------------------------------+-------------------------------------
             Reporter:  Paul         |                     Type:  defect
  Pacifico                           |
               Status:  new          |                 Priority:  critical
            Component:  avutil       |                  Version:  git-
                                     |  master
             Keywords:  compile      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 With the latest git version I cannot compile FFmpeg on x86 and arm Mac
 computers.

 Here is my build configuration:
 {{{
 PKG_CONFIG_PATH="$BUILDS/lib/pkgconfig" \
 CFLAGS="-I$BUILDS/include -fno-stack-check -mmacosx-version-min=10.13" \
 LDFLAGS="-L$BUILDS/lib -mmacosx-version-min=10.13"

 ./configure --cc=/usr/bin/clang --prefix=$BUILDS \
                 --extra-cflags="-framework openAL" \
                 --extra-ldflags="-framework openAL" \
                 --ld="g++" \
                 --pkg-config-flags="--static" \
                 --extra-ldexeflags="-Bstatic" \
                 --shlibdir="@loader_path" \
                 --disable-static \
                 --enable-shared \
                 --enable-gpl \
                 --enable-version3 \
                 --disable-sdl2 \
                 --disable-ffplay \
                 --enable-openal \
                 --enable-opengl \
                 --enable-fontconfig \
                 --enable-iconv \
                 --enable-libass \
                 --enable-libdav1d \
                 --enable-libfreetype \
                 --enable-libharfbuzz \
                 --enable-libmp3lame \
                 --enable-libopencore-amrnb \
                 --enable-libopencore-amrwb \
                 --enable-libopenjpeg \
                 --enable-libopus \
                 --enable-libsnappy \
                 --enable-libtheora \
                 --enable-libtwolame \
                 --enable-libvpx \
                 --enable-libwebp \
                 --enable-libx264 \
                 --enable-libx265 \
                 --enable-libvvenc \
                 --enable-libzimg \
                 --enable-lzma \
                 --enable-zlib \
                 --enable-libvidstab \
                 --enable-libvmaf \
                 --enable-libvorbis \
                 --enable-libvo-amrwbenc \
                 --enable-libxvid \
                 --enable-libgsm \
                 --enable-libsvtav1 \
                 --enable-libaom \
                 --enable-appkit \
                 --enable-avfoundation \
                 --enable-coreimage \
                 --enable-audiotoolbox
 }}}

 I get this error:
 {{{
 libavutil/hwcontext_videotoolbox.c:592:39: error: implicit declaration of
 function 'CVBufferCopyAttachments' is invalid in C99 [-Werror,-Wimplicit-
 function-declaration]

 CFDictionaryRef attachments = CVBufferCopyAttachments(pixbuf,
 kCVAttachmentMode_ShouldPropagate);
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11095>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to