an error in library file Opencv

view story

http://stackoverflow.com – This error never occurred to me, and now suddenly, out of nowhere , am getting the following error /OpenCV-2.4.0/modules/core/src/array.cpp:2482: error: (-206) Unrecognized or unsupported array type in function cvGetMat Could you please tell me why this would happen? Thanks in advance. Am running the code using gcc compiler in linux ubuntu 11 This is a run time error while executing the code. The code worked perfectly well earlier, with no hiccups as such. I did not make any changes the code. Thats the whole point!!!! It was working like 5 mins ago, and suddenly i try it a (HowTos)