[libav-bugs] Error linking with Visual Studio 2010

zetah otrov at hush.ai
Fri Jun 21 22:36:11 CEST 2013


Hi,

first let me note that I browsed lists described here:
  http://libav.org/contact.html

libav api and tools lists seem like inactive and devel seem like too 
dense for my issue, so I decided to post in this list. If it is
inappropriate please guide me where to seek basic support.
Thanks for understanding

Following instructions provided here:
  http://libav.org/platform.html#Microsoft-Visual-C_002b_002b

I tried to build libav 9.7 starting with this configure setting:

=====================================================================
./configure --toolchain=msvc
--extra-cflags="-I/c/src/include/"
--disable-everything
--disable-programs
--disable-swscale
--disable-network
--disable-avdevice
--disable-avfilter
--disable-debug
--disable-dxva2
--enable-shared
--enable-runtime-cpudetect
--enable-decoder=ape
=====================================================================


So I wanted to see if building with no video support, no encoders, 
but just ape decoding will lead me to successful build. Unfortunately
make finishes with error, and this error doesn't seem to be indexed
by Google, except some reports about calling ready-made ffmpeg
libraries from withing Visual Studio, that doesn't ring me a bell.
Also I wander about the keyword h264 while I explicitelly disabled
everything related to video encoding.

This is the error log, in hope that someone can suggest what am I 
doing wrong:

=====================================================================
makedef libavutil/libavutil.ver libavutil/../compat/msvcrt/snprintf.o libavutil/../compat/strtod.o libavutil/adler32.o libavutil/aes.o libavutil/audio_fifo.o libavutil/avstring.o libavutil/base64.o libavutil/blowfish.o libavutil/channel_layout.o libavutil/cpu.o libavutil/crc.o libavutil/des.o libavutil/dict.o libavutil/error.o libavutil/eval.o libavutil/fifo.o libavutil/file.o libavutil/float_dsp.o libavutil/imgutils.o libavutil/intfloat_readwrite.o libavutil/intmath.o libavutil/lfg.o libavutil/lls.o libavutil/log.o libavutil/log2_tab.o libavutil/mathematics.o libavutil/md5.o libavutil/mem.o libavutil/opt.o libavutil/parseutils.o libavutil/pixdesc.o libavutil/random_seed.o libavutil/rational.o libavutil/rc4.o libavutil/samplefmt.o libavutil/sha.o libavutil/time.o libavutil/tree.o libavutil/utils.o libavutil/x86/cpu.o libavutil/x86/cpuid.o libavutil/x86/float_dsp.o libavutil/x86/float_dsp_init.o libavutil/xtea.o > libavutil/avutil-52.def
LD      libavutil/avutil-52.dll
   Creating library libavutil/avutil.lib and object libavutil/avutil.exp
makedef libavcodec/libavcodec.ver libavcodec/allcodecs.o libavcodec/apedec.o libavcodec/audioconvert.o libavcodec/avpacket.o libavcodec/avpicture.o libavcodec/bitstream.o libavcodec/bitstream_filter.o libavcodec/codec_desc.o libavcodec/dsputil.o libavcodec/faanidct.o libavcodec/fmtconvert.o libavcodec/imgconvert.o libavcodec/jrevdct.o libavcodec/log2_tab.o libavcodec/mathtables.o libavcodec/options.o libavcodec/parser.o libavcodec/pthread.o libavcodec/raw.o libavcodec/resample.o libavcodec/resample2.o libavcodec/simple_idct.o libavcodec/utils.o libavcodec/x86/deinterlace.o libavcodec/x86/dsputil.o libavcodec/x86/dsputil_mmx.o libavcodec/x86/fdct.o libavcodec/x86/fmtconvert.o libavcodec/x86/fmtconvert_init.o libavcodec/x86/idct_mmx_xvid.o libavcodec/x86/idct_sse2_xvid.o libavcodec/x86/simple_idct.o > libavcodec/avcodec-54.def
LD      libavcodec/avcodec-54.dll
   Creating library libavcodec/avcodec.lib and object libavcodec/avcodec.exp
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8or16_hv1_lowpass_op_sse2 referenced in function _ff_put_h264_qpel8or16_hv1_lowpass_sse2
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel4_hv_lowpass_h_mmxext referenced in function_ff_put_h264_qpel4_hv_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel4_hv_lowpass_v_mmxext referenced in function_ff_put_h264_qpel4_hv_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8or16_v_lowpass_op_mmxext referenced in function _ff_put_h264_qpel8or16_v_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8or16_hv1_lowpass_op_mmxext referenced in function _ff_put_h264_qpel8or16_hv1_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8or16_hv2_lowpass_op_mmxext referenced in function _ff_put_h264_qpel8or16_hv2_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8_h_lowpass_mmxext referenced in function _ff_put_h264_qpel16_h_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8_h_lowpass_l2_mmxext referenced in function_ff_put_h264_qpel16_h_lowpass_l2_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_pixels8_l2_shift5_mmxext referenced in function _ff_put_pixels16_l2_shift5_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel4_hv_lowpass_h_mmxext referenced in function_ff_avg_h264_qpel4_hv_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel4_hv_lowpass_v_mmxext referenced in function_ff_avg_h264_qpel4_hv_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8or16_v_lowpass_op_mmxext referenced in function _ff_avg_h264_qpel8or16_v_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8or16_hv2_lowpass_op_mmxext referenced in function _ff_avg_h264_qpel8or16_hv2_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8_h_lowpass_mmxext referenced in function _ff_avg_h264_qpel16_h_lowpass_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8_h_lowpass_l2_mmxext referenced in function_ff_avg_h264_qpel16_h_lowpass_l2_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_pixels8_l2_shift5_mmxext referenced in function _ff_avg_pixels16_l2_shift5_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8or16_v_lowpass_sse2 referenced in function _ff_put_h264_qpel8_v_lowpass_sse2
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8or16_v_lowpass_sse2 referenced in function _ff_avg_h264_qpel8_v_lowpass_sse2
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8_h_lowpass_l2_ssse3 referenced in function _ff_put_h264_qpel16_h_lowpass_l2_ssse3
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8_h_lowpass_ssse3 referenced in function _ff_put_h264_qpel16_h_lowpass_ssse3
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8_h_lowpass_l2_ssse3 referenced in function _ff_avg_h264_qpel16_h_lowpass_l2_ssse3
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8_h_lowpass_ssse3 referenced in function _ff_avg_h264_qpel16_h_lowpass_ssse3
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel8or16_hv2_lowpass_ssse3 referenced in function _ff_put_h264_qpel8or16_hv_lowpass_ssse3
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel8or16_hv2_lowpass_ssse3 referenced in function _ff_avg_h264_qpel8or16_hv_lowpass_ssse3
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel4_v_lowpass_mmxext referenced in function _put_h264_qpel4_mc01_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel4_h_lowpass_l2_mmxext referenced in function_put_h264_qpel4_mc10_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_h264_qpel4_h_lowpass_mmxext referenced in function _put_h264_qpel4_mc20_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_put_pixels4_l2_shift5_mmxext referenced in function _put_h264_qpel4_mc12_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel4_v_lowpass_mmxext referenced in function _avg_h264_qpel4_mc02_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel4_h_lowpass_l2_mmxext referenced in function_avg_h264_qpel4_mc10_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_h264_qpel4_h_lowpass_mmxext referenced in function _avg_h264_qpel4_mc20_mmxext
dsputil_mmx.o : error LNK2019: unresolved external symbol _ff_avg_pixels4_l2_shift5_mmxext referenced in function _avg_h264_qpel4_mc12_mmxext
libavcodec/avcodec-54.dll : fatal error LNK1120: 32 unresolved externals
make: *** [libavcodec/avcodec-54.dll] Error 1
=====================================================================


Thanks



More information about the libav-bugs mailing list