These are probably from an earlier version of https://www.pyimagesearch.com/2017/09/04/raspbian-stretch-install-opencv-3-python-on-your-raspberry-pi/
- install prereqs
apt-get update
apt-get upgrade
apt-get install build-essential git cmake pkg-config
apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev