Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This code works on my computer. This is still because OpenCV does not work well with Visual Studio 2012, you have to use CMake to rebuild OpenCV. Please follow this, good luck.

http://answers.opencv.org/question/6495/visual-studio-2012-and-rtlfreeheap-error/#6603

Hi, I tried your code before rebuilding OpenCV by CMake. I got the same problem.

image description

This code works on my computer. This is still because OpenCV does not work well with Visual Studio 2012, you have to use CMake to rebuild OpenCV. OpenCV. After that the codes work well.

Please follow this, this tutorial, good luck.

http://answers.opencv.org/question/6495/visual-studio-2012-and-rtlfreeheap-error/#6603