> /home/nauro/work/AllViewProject/Season_2/VPCnew/main.cpp:610: undefined 
> reference to `avcodec_open(AVCodecContext*, AVCodec*)'
> collect2: ld returned 1 exit status
> make: *** [VPCnew] Ошибка 1
> nauro@nauro:~/work/AllViewProject/Season_2/VPCnew$
> 
> Well, I don't understand what's wrong with it, because libavcodec and 
> libavcodec-dev are installed, in main.cpp I've got #include 
> <libavcodec/avcodec.h> And all this function are in avcodec.h...

Do you wrap #include with extern "C" {}?
Do you compile the libs and the application with the same compiler?
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to