build-essential cmake pkg-config
libpng12-dev -- is version 1.2, libpng16-16 is installled (v1.6 runtime). So install libpng12-dev I guess although may be old
libjpeg-dev, libtiff5-dev, libjasper-dev
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
next, libxvidcore-dev libx264-dev
Displays images to screen, basic GUIs. Need libgtk2.0-dev
libatlas-base-dev gfortran
python2.7-dev python3-dev
cmake -D CMAKE_BUILD_TYPE=RELEASE \
> -D CMAKE_INSTALL_PREFIX=/usr/local \
> -D INSTALL_PYTHON_EXAMPLES=ON \
> -D BUILD_EXAMPLES=ON ..
ROS, Mavlink, Ardupilot, Pixhawk