<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1468229078554_1980">Hello!</div><div id="yui_3_16_0_ym19_1_1468229078554_2630" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468229078554_2631" dir="ltr">I've just compiled new version of FFmpeg (3.1.1). I'm using the resulting libraries to decode video from ip cameras. Compilation of FFmpeg was OK, but when I try to use them in my own program, I always have multiple linking errors like this:</div><div id="yui_3_16_0_ym19_1_1468229078554_2754" dir="ltr">Error 1 error LNK2019: unresolved external symbol _FreeContextBuffer@4 referenced in function _tls_shutdown_client C:\***\libavformat.lib(tls_schannel.o)<br id="yui_3_16_0_ym19_1_1468229078554_2758"><br></div><div id="yui_3_16_0_ym19_1_1468229078554_2687" dir="ltr">My configure line is: <br></div><div id="yui_3_16_0_ym19_1_1468229078554_2706" dir="ltr">./configure --toolchain=msvc --yasmexe='../dependencies/yasm/yasm.exe' --prefix=ffmpeg/ --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avdevice --disable-encoders</div><div id="yui_3_16_0_ym19_1_1468229078554_2847" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468229078554_2848" dir="ltr">I tried './configure --toolchain=msvc' too, but linking errors persist.<br></div><div id="yui_3_16_0_ym19_1_1468229078554_2799" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468229078554_2624" dir="ltr">If I use the --disable-network option, the linking errors disappear, but I can't use functions like "avformat_open_input" (my code use it).</div><div id="yui_3_16_0_ym19_1_1468229078554_2825" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468229078554_2812" dir="ltr">Can anyone help me?</div><div id="yui_3_16_0_ym19_1_1468229078554_2813" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468229078554_2826" dir="ltr">Thanks!<br></div></div></body></html>