I had installed OpenCV following these steps (). After trying to compile one examples,i got this error :
OpenCV Error: Unspecified error (The function is no
I was using windows OS . I have gone through many stuffs in order to sort this problem . At last i just reinstall the opencv and cmake and it worked without any error.