Robotics StackExchange | Archived questions

Problem usb_cam: undefined reference to `avcodec_decode_video2'

Hi all!

I have this following error messages while doing rosmake for usb_cam package. I'm running Electric on Ubuntu10.04. Thanks before for answering.

Linking CXX executable ../../../bin/usbcamnode
  ../../../lib/libusbcam.so: undefined reference to `avcodecdecodevideo2'
  ../../../lib/libusbcam.so: undefined reference to `avinitpacket'
  collect2: ld returned 1 exit status
  make[3]: *** [../bin/usbcamnode] Error 1

Asked by fins on 2012-08-07 01:49:03 UTC

Comments

Answers