First time here? Check out the FAQ!
answered 2012-07-30 16:45:02 -0600
Are you using OpenCV version 2.4 (or later)? I know that this was an issue in OpenCV 2.3, but it is supposed to be fixed now.