Run-Time Check Failure #2 - Stack around the variable 'xxx' was corrupted.

在OpenCV中经常会遇到诸如:

Run-Time Check Failure #2 - Stack around the variable 'filename' was corrupted.  的问题。不用担心,在这里你将找到答案!

错误:stack around the variable XX” was corrupted.,中文翻译就是“在变量XX周围的堆栈已损坏”。 

 project->配置属性->c/c++->代码生成->基本运行时检查  默认值 就不会报本异常。


你可能感兴趣的:(OpenCV常见错误)