First time here? Check out the FAQ!
Same error on: Ubuntu 16.04, OpenCV 3.2.0. Adding -D WITH_TIFF=ON -D BUILD_TIFF=ON worked for me. Thx!