[Libav-user] msvc compiling issue
shekh.anton at gmail.com
Wed Oct 24 13:48:39 EEST 2018
ср, 24 окт. 2018 г. в 13:13, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> 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
> > 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
> Libav-user mailing list
> Libav-user at ffmpeg.org
It seems I have to use "optimize for size", found it in configure too
I setup project/solution from scratch because I want to use it in the IDE,
so I don't use configure.
"Optimize size" does eliminate code, but I never used it before. Hope it is
less obtrusive for debug than O2.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user