I have compiled OpenCV in windows 7 using Cmake and i am running it in visual studio.. however when i run a simple program to load and display an image it gives this error. .
I am not new to opencv programming so the code is not a problem. i dont know why this error is coming