[Libav-user] msvc compiling issue

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Oct 24 13:05:40 EEST 2018

2018-10-24 2:42 GMT+02:00, Anton Shekhovtsov <shekh.anton at gmail.com>:
> Hi,
> I begin to build ffmpeg with VC 2015 and have difficulty with cpu specific
> features.
> For example this code (libavutil\float_dsp.c)
>     if (ARCH_AARCH64)
>         ff_float_dsp_init_aarch64(fdsp);
>     if (ARCH_ARM)
>         ff_float_dsp_init_arm(fdsp);
>     if (ARCH_PPC)
>         ff_float_dsp_init_ppc(fdsp, bit_exact);
>     if (ARCH_X86)
>         ff_float_dsp_init_x86(fdsp);
>     if (ARCH_MIPS)
>         ff_float_dsp_init_mips(fdsp);
> The problem: all these functions are referenced and reported as
> unresolved symbols at linking.

Iirc, the reason is that you added some specific compiler options that
make linking fail, default compilation is supposed to work fine.
(Dead code elimination is needed since forever for successful
FFmpeg compilation.)

Carl Eugen

More information about the Libav-user mailing list