[FFmpeg-trac] #5279(avcodec:new): ffmpeg cannot link with --enable-libmfx and --toolchain=msvc

FFmpeg trac at avcodec.org
Tue Mar 1 20:33:52 CET 2016


#5279: ffmpeg cannot link with --enable-libmfx and --toolchain=msvc
---------------------------------+--------------------------------------
             Reporter:  KevinA   |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 Trying to build ffmpeg on windows with {{{ --toolchain=msvc --enable-
 libmfx }}}. And it cannot link.

 I've tried on both HEAD and the tags/n2.8.6

 Configure Command:
 {{{
 ./configure --prefix=/c/RefDlls/DirectShowLibs/ffwhat --toolchain=msvc
 --enable-asm --enable-yasm --enable-shared --disable-network --disable-doc
 --disable-decoders --disable-programs --disable-avdevice --enable-libmfx
 }}}

 I'm building using MinGW-w64

 I get the following link error
 {{{
 allcodecs.o : error LNK2001: unresolved external symbol
 _ff_h264_qsv_hwaccel
 allcodecs.o : error LNK2001: unresolved external symbol
 _ff_hevc_qsv_hwaccel
 allcodecs.o : error LNK2001: unresolved external symbol
 _ff_mpeg2_qsv_hwaccel
 allcodecs.o : error LNK2001: unresolved external symbol
 _ff_vc1_qsv_hwaccel
 libavcodec/avcodec-56.dll : fatal error LNK1120: 4 unresolved externals
 library.mak:111: recipe for target 'libavcodec/avcodec-56.dll' failed
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5279>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list