ср, 24 окт. 2018 г. в 13:13, Carl Eugen Hoyos <[email protected]>:
> 2018-10-24 2:42 GMT+02:00, Anton Shekhovtsov <[email protected]>: > > 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 > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user It seems I have to use "optimize for size", found it in configure too (_cflags_noopt="-O1"). 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.
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
