Ask Your Question
0

libavcodec Removal/Upgrade

asked 2011-11-07 01:56:20 -0500

Constantin S gravatar image

Hi All, I am trying to install the usb_cam node. I am getting error messages related to libavcodec. More specifically declaration of AVMEDIA_TYPE_VIDEO and definition of AVPacket. Examining my avcodec.h and avutil.h those are indeed not defined. Examining the avcodec.h and avutil.h on ffmpeg.org, those are defined.

Thus my next logical step is remove the half finished libraries on my computer and install the real libraries. However, I cannot do this without uninstalling ROS. Does anyone have a work around for this? Should I update my repos maybe? Any thoughts would be great, I would rather not spend the day uninstalling ros then reinstalling it.

System: Ubuntu 10.04

tl;dr: Using the package manager to remove libavcodec forces ROS removal. I need to upgrade libavcodec.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-05-27 07:17:35 -0500

tfoote gravatar image

You can try forcing an upgrade of libavcodec or you can look for an older version of usb_cam which is lucid compatible. Or you can try to patch usb_cam to use the old avcodec API.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-11-07 01:56:20 -0500

Seen: 1,037 times

Last updated: May 27 '12