[Ffmpeg-devel] Compiling avcodec_sample on windows

Martin Boehme boehme
Thu Aug 11 16:22:23 CEST 2005

Hendrik Schmal wrote:
> Am Donnerstag, 11. August 2005 16:10 schrieb Matni, Nikolai:
>>I'm having a small problem compiling the avcodec_sample.cpp file provided
>>on Martin Bohme's website.  I'm using g++ on MINGW32 to try to compile the
>>file. I get the following error msg:
>>$ g++ -o avcodec_sample avcodec_sample.cpp -Ic:/ffmpeg
>>-Ic:/ffmpeg/libavcodec - Ic:/ffmpeg/libavformat -Lavformat -Lavcodec -Lz
> try this (in one commandline)
> g++ -o avcodec_sample avcodec_sample.cpp
>   -Ic:/ffmpeg/libavcodec -Ic:/ffmpeg/libavformat 
>   -Lc:/ffmpeg/libavcodec -Lc:/ffmpeg/libavformat 
>   -lavformat -lavcodec -lz

OK, I guess you just beat me to it... ;-)


Martin B?hme
Inst. f. Neuro- and Bioinformatics
Ratzeburger Allee 160, D-23538 Luebeck
Phone: +49 451 500 5514
Fax:   +49 451 500 5502
boehme at inb.uni-luebeck.de

More information about the ffmpeg-devel mailing list