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
2 | No.2 Revision |
Hi, I tried your code before rebuilding OpenCV by CMake. I got the same problem.
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