On Sat, Sep 28, 2013 at 3:51 PM, satya gowtham kudupudi < [email protected]> wrote:
> On ubuntu i've installed ffmpeg as per > http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide I'm trying to > compile > http://www.ffmpeg.org/doxygen/2.0/doc_2examples_2decoding_encoding_8c-example.html > ; > changed int > main<http://www.ffmpeg.org/doxygen/2.0/main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627> > (int argc, char **argv) to int libavcodec_example(int argc, char **argv); > included it in my application; called libavcodec_example(int argc, char > **argv) > > g++ -D__STDC_CONSTANT_MACROS -o > dist/Debug/GNU-Linux-x86/remotedevicecontroller > build/Debug/GNU-Linux-x86/libavcodec-example.o > build/Debug/GNU-Linux-x86/main.o build/Debug/GNU-Linux-x86/test-echo.o > /usr/local/ffmpeg_build/lib/libavdevice.a > /usr/local/ffmpeg_build/lib/libavfilter.a > /usr/local/ffmpeg_build/lib/libavcodec.a > /usr/local/ffmpeg_build/lib/libavutil.a > /usr/local/ffmpeg_build/lib/libswscale.a > /usr/local/ffmpeg_build/lib/libavformat.a -lxml2 -lpthread -lssl -lcrypto > -lwebsockets > > Please change your link order to : libavformat.a libavcodec.a xxxx libavutils.a ..... -- ----------------------------------------------------------------------------------------- My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
