Robotics StackExchange | Archived questions

Packages 'libswscale and libavcodec' for building usb_cam

I'm using a Jetson TX1 board running indigo and trying to install usbcam. I got it from github into my src folder. However, when I try to use catkinmake I get CMake Errors where it cannot find the packages libavcodec and libswscale. I searched online for these packages and only found versions of these packages that have other things like dev or numbers appended to the end. I installed a few to try it out but the error persists. How can I get those individual packages?

Asked by shlady on 2016-10-24 10:36:29 UTC

Comments

Answers

What worked for me is searching for the package:

apt-cache search libavcodec

A few options appeared: libavcodec-dev and libavcodec56. I sudo apt-got them both and it worked. See this answer for more information. The same should work for libswscale:

apt-cache search libswscale

Asked by matwilso on 2016-12-27 11:58:05 UTC

Comments