Thank You very much, but I'm not sure, which command You mean... Compiler or linker command? 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 *Examples*?
*Invoking: Cross GCC Compiler* *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" Invoking: Cross GCC Linkergcc -L"C:\portable\ffmpeg-4.2.1-win64-dev\lib" -o "ffmpeg-examples" ./encode_video.o -lavformat -lavutil -lavcodec -lavfilter* Full log: https://pastebin.com/bBC1T4bw сб, 18 янв. 2020 г. в 13:00, Strahinja Radman <[email protected]>: > > -------- Original message -------- > From: Alexander Gribanov <[email protected]> > Date: 18/01/2020 09:53 (GMT+01:00) > To: [email protected] > Subject: [Libav-user] Compile FFmpeg Examples via Eclipse under Windows > > Hello! > > 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... > > 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: > [image: image.png] > I connected it like this: > [image: image.png] > > After that compilation of the Example was successful, but the Linking > failed. > I tried to connect libraries, but it doesn't work... > [image: image.png] > > 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: https://pastebin.com/8zp8MYUf > > Could You, please > > > 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. > _______________________________________________ > Libav-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe".
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
