[Libav-user] msvc compiling issue

Anton Shekhovtsov shekh.anton at gmail.com
Wed Oct 24 03:42:26 EEST 2018


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.
All these ARCH_ defines are set to 0, but the code is not eliminated. Can
this be solved somehow? How does this work normally?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20181024/e033058b/attachment.html>


More information about the Libav-user mailing list