Try to compile cmake and opencv.