I am using fedora 17. When i run a simple program to siplay an image it wors. but when i use some functions like findContours() it shows an error
OpenCV Error: Assertion failed (k == STD_VECTOR_MAT) in release, file /builddir/build/BUILD/OpenCV-2.3.1/modules/core/src/matrix.cpp, line 1364 terminate called after throwing an instance of 'cv::Exception'
what(): /builddir/build/BUILD/OpenCV-2.3.1/modules/core/src/matrix.cpp:1364: error: (-215) k == STD_VECTOR_MAT in function release
fedora 17 has only updates upto opencv 2.3.1. How can i manually build newer version?