Setting up OpenCV with Cmake GUI Download OpenCV and Cmake Build opencv with cmake Press configure, choose visual studio 2015, finish Then press generate Open OpenCV.sln under build/ Build it using Debug, Release