luigi <[EMAIL PROTECTED]> writes:

> 
> Hi I'm trying to link STATICALLY a program to libavcodec, libavformat and 
> libswscale. Compilation seems ok, but when g++ arrives at the linking stage I 
> get a lot of error messages:
> 
> myprog.cpp:68: undefined reference to `av_find_stream_info'

When linking statically, the order of libraries matters.
I have found the following in my archives:
  -lavcodec -lpthread -lavformat -lavcodec -lavutil -lm -lz

Here is some more information.

http://users.actcom.co.il/~choo/lupg/tutorials/libraries/unix-c-libraries.html


_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to