<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_1468230015768_5141"><span id="yui_3_16_0_ym19_1_1468230015768_5185">Thanks! That's worked.</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1468230015768_5141"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1468230015768_5141"><span id="yui_3_16_0_ym19_1_1468230015768_5186">Is this behavior caused for any new change? In the past, I didn't use the 'Secur32.lib' and all were working OK.</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> El Lunes 11 de julio de 2016 12:08, Hendrik Leppkes <h.leppkes@gmail.com> escribió:<br></font></div>  <br><br> <div class="y_msg_container">On Mon, Jul 11, 2016 at 11:31 AM, Fermín Ayuso Márquez<div class="yqt7219304624" id="yqtfd79599"><br clear="none"><<a shape="rect" ymailto="mailto:fayuso83-at-yahoo.es@ffmpeg.org" href="mailto:fayuso83-at-yahoo.es@ffmpeg.org">fayuso83-at-yahoo.es@ffmpeg.org</a>> wrote:<br clear="none">> Hello!<br clear="none">><br clear="none">> I've just compiled new version of FFmpeg (3.1.1). I'm using the resulting<br clear="none">> libraries to decode video from ip cameras. Compilation of FFmpeg was OK, but<br clear="none">> when I try to use them in my own program, I always have multiple linking<br clear="none">> errors like this:<br clear="none">> Error    1    error LNK2019: unresolved external symbol <a shape="rect" ymailto="mailto:_FreeContextBuffer@4" href="mailto:_FreeContextBuffer@4">_FreeContextBuffer@4</a><br clear="none">> referenced in function _tls_shutdown_client<br clear="none">> C:\***\libavformat.lib(tls_schannel.o)<br clear="none">><br clear="none">> My configure line is:<br clear="none">> ./configure --toolchain=msvc --yasmexe='../dependencies/yasm/yasm.exe'<br clear="none">> --prefix=ffmpeg/ --disable-doc --disable-ffmpeg --disable-ffplay<br clear="none">> --disable-ffprobe --disable-ffserver --disable-avdevice --disable-encoders<br clear="none">><br clear="none">> I tried './configure --toolchain=msvc' too, but linking errors persist.<br clear="none">><br clear="none">> If I use the --disable-network option, the linking errors disappear, but I<br clear="none">> can't use functions like "avformat_open_input" (my code use it).<br clear="none">><br clear="none">> Can anyone help me?</div><br clear="none">><br clear="none"><br clear="none"><br clear="none">If you are using static linking, you need to add the additional<br clear="none">libraries FFmpeg might need, in this case "Secur32.lib" (a Microsoft<br clear="none">library for security functions)<br clear="none"><br clear="none">- Hendrik<br clear="none">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><div class="yqt7219304624" id="yqtfd90355"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>