<div dir="ltr">Thank You very much, but I'm not sure, which command You mean... Compiler or linker command?<div>I have tried this, but still, it doesn't work... Any ideas about how to compile it or maybe there is documentation on how to build the <b>Examples</b>?<br><div><br></div><div><font face="monospace"><b>Invoking: Cross GCC Compiler<br></b></font></div><div><font face="monospace"><b>gcc -I"C:\portable\ffmpeg-4.2.1-win64-dev\include" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"encode_video.d" -MT"encode_video.o" -o "encode_video.o" "../encode_video.c"<br> <br>Invoking: Cross GCC Linker<br>gcc -L"C:\portable\ffmpeg-4.2.1-win64-dev\lib" -o "ffmpeg-examples"  ./encode_video.o   -lavformat -lavutil -lavcodec -lavfilter<br></b></font></div><div><br></div><div>Full log: <a href="https://pastebin.com/bBC1T4bw">https://pastebin.com/bBC1T4bw</a>  </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">сб, 18 янв. 2020 г. в 13:00, Strahinja Radman <<a href="mailto:dr.strashni@gmail.com">dr.strashni@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br></div><div style="font-size:100%;color:rgb(0,0,0)" dir="auto"><div>-------- Original message --------</div><div>From: Alexander Gribanov <<a href="mailto:sunrisecoder@gmail.com" target="_blank">sunrisecoder@gmail.com</a>> </div><div>Date: 18/01/2020  09:53  (GMT+01:00) </div><div>To: <a href="mailto:libav-user@ffmpeg.org" target="_blank">libav-user@ffmpeg.org</a> </div><div>Subject: [Libav-user] Compile FFmpeg Examples via Eclipse under Windows </div><div><br></div></div><div dir="ltr">Hello!<div><br></div><div>I tried to compile FFmpeg Examples under the Windows via Eclipse and MinGW, but I'm not so experienced yet and something doesn't want to work and I can't understand "why?"... Even though, I'm not sure, how should it works actually...</div><div><br></div><div>I created a C project in Eclipse 2019.12, copied one of the examples there and connected the "include" folder. It looks like this now:</div><div><div><img alt="image.png" width="408" height="195" name="m_-4942115625093074540_com_samsung_android_email_attachmentprovider_2_1337_RAW_1579340967025"><br></div></div><div>I connected it like this:</div><div><div><img alt="image.png" width="542" height="398" name="m_-4942115625093074540_com_samsung_android_email_attachmentprovider_2_1338_RAW_1579340967027"><br></div></div><div><br></div><div>After that compilation of the Example was successful, but the Linking failed.</div><div>I tried to connect libraries, but it doesn't work...</div><div><div><img alt="image.png" width="542" height="363" name="m_-4942115625093074540_com_samsung_android_email_attachmentprovider_2_1339_RAW_1579340967028"><br></div></div><div><br></div><div>I tried also many other ways, also tried to write names of the libraries in the field "Libraries", but it didn't work, all the time the log is following: <a href="https://pastebin.com/8zp8MYUf" target="_blank">https://pastebin.com/8zp8MYUf</a></div><div><br></div><div>Could You, please</div><div><br></div><div><br></div><div>Your build line does not include libraries required to link the examples i think. Not sure where you need to put them in Eclipse but there definately should be -lavformat -lavutil -lavcodec -lavfilter in that linking line.</div></div>
</div>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>