<div dir="ltr"><div>I've solved the problem using suggestion from MXE mailing list if anyone will be interested in in in the future:</div><div><br></div><div><span style="font-size:13px;color:rgb(80,0,80)">i686-w64-mingw32. static-gcc main.c -o main.exe `i686-w64-mingw32.static-pkg-</span><span style="font-size:13px;color:rgb(80,0,80)">config --libs --cflags libavcodec`</span><br></div><div><br></div><div>Kind regards,</div><div>Alex</div><div><br></div><div><br></div></div>