First time here? Check out the FAQ!
I had the same issue. Built OpenCV 2.4.5, you won't get that error.